Member
Member
bird   2009-04-05, 02:12
#1

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!

Administrator
Administrator
acrylian   2009-04-05, 08:21
#2

Both are not really commonly used web formats and I am not sure if the GD lib supports any of these at all.

Member
Member
bird   2009-04-05, 09:38
#3

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

Administrator
Administrator
acrylian   2009-04-05, 10:03
#4

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.

Member
Member
sbillard   2009-04-05, 16:19
#5

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.