image type jp2 or jpeg2000

can images of jp2 or jpeg2000 graphic format be used with zenphoto

or

what has to be done in order to use jpeg2000 or jp2 graphical images?

Thanks!

Comments

  • acrylian Administrator, Developer
    Both are not really commonly used web formats and I am not sure if the GD lib supports any of these at all.
  • bird Member
    I will check whether GD lib supports them. jp2 is 25% of the size of a jpg file so this is a considerable saving in traffic and storage requirement (beside the speed !)

    http://en.wikipedia.org/wiki/JPEG_2000

    In my case 80 KB versus 200 KB per image !!!

    gdlib
    www.libgd.org/

    gdlib only supports png, jpeg

    so the better choice would be agg!
    www.antigrain.com

    agg und php work together, no problem.

    KDE desktop uses agg redering library. It is slightly slower but better!

    Thank you !

    jpeg2000 is opensource,

    Bird
  • acrylian Administrator, Developer
    I know what jpeg2000 is but I doubt it will make any difference to most users as their camera will surely generate normal jpegs.

    I don't never heard or know about the agg lib but that is surely not a common graphics lib installed on hosts. And most users have a shared host without possiblities or even capabilities to install their own graphics lib. The most common is gd. In future versions Zenphoto might also support ImagMagick.

    Btw, gdlib supports also gif in the latest version again. And I am not a server expert but it is also extendable for other formats.
  • There is always the possibility for you to create a image-object plugin to handle this format. Look at the two examples (video & text) for a starter.
Sign In or Register to comment.