Jpeg 2000

thomaslo

Joined: 2003-05-09
Posts: 10
Posted: Fri, 2003-05-09 10:31

according to http://www.ece.uvic.ca/~mdadams/jasper/ both imagemagic and Netpbm (as of Release 10.12) supports the jpeg2000 format. Any plan to implement this format inn gallery ?

Thomas Longva

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Fri, 2003-05-09 12:34
thomaslo wrote:
according to http://www.ece.uvic.ca/~mdadams/jasper/ both imagemagic and Netpbm (as of Release 10.12) supports the jpeg2000 format. Any plan to implement this format inn gallery ?
Thomas Longva

I don't know, but you can easily add it yourself. Just add 'jp2' (that's the extension?) to this list in util.php
function acceptableImageList() {
return array('jpg', 'gif', 'png');
}

and in the same file, modify valid_image, add
case 10: // JP2
under
case 3: // PNG

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-05-09 15:56

Should we add this to gallery? Is anyone running versions of NetPBM or ImageMagick old enough to break this? I know my browser doesn't seem to display JP2s anyhow...

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2003-05-09 20:35

Realistically we should check during the config wizard to see if the NetPBM or ImageMagick toolkit supports it before adding it to the supported list. This is doable, but it will take a little effort.

 
jechilt

Joined: 2003-06-07
Posts: 18
Posted: Tue, 2003-06-10 10:04

does the latest release of Gallery v1.3.4-RC3 support jp2???

please advise.

thanks!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-06-13 09:41

No. Not yet. My guess is wait for 1.3.5. You might want to go ahead and patch your version as suggested above.