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 |
|
Posts: 3473
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
Posts: 3474
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...
Posts: 7994
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.
Posts: 18
does the latest release of Gallery v1.3.4-RC3 support jp2???
please advise.
thanks!
Posts: 3474
No. Not yet. My guess is wait for 1.3.5. You might want to go ahead and patch your version as suggested above.