hi,
some weeks ago, i proposed to integrate a resize function into PEL in
order to save resized images *with* the EXIF information as PHP built in
resize function don't take care about headers at all.
based on tests with real world digital photographs, i came to the
insight that it wont be a good idea. indeed PHP built in resize
functions eat too much memory. resizing a 4mb (8 megapixel) image
requires >64mb of memory. this is more than inefficient. i can increase
the memory limit the way i want on my own server but this isn't
generally the case for common users on shared servers. btw i don't want
to go >64mb.
so i changed to imageMagick as a system process. that works far quicker
(didn't check memory needs though). and as a positive aspect:
imageMagick seems to keep all EXIF and IPTC header info. only drawback:
this isn't a pure PHP solution any more but it can be compiled for most
OSes.
andré
--
___________________________________________________________________
andre m. winter,
cartography for internet and multimedia applications
schiessstand 4/1, a6091 goetzens, tyrol, austria
tel.: ++43.5234.32732
email: <[EMAIL PROTECTED]>
<http://www.vectoreal.com/> SVG consulting and development
<http://www.carto.net/> online cartography focusing on SVG
<http://www.carto.at/> print and online touristic map solutions
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PEL-devel mailing list
PEL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pel-devel