NYCPHP Meetup

NYPHP.org

[nycphp-talk] how to resize images and maintain iptc data

Michael Southwell michael.southwell at nyphp.com
Tue Aug 25 17:23:49 EDT 2009


Dan Cech wrote:
> Michael Southwell wrote:
>> I have a photography client who uploads images with iptc metadata. I
>> need to pull out and store the iptc data (no problem), and resize the
>> images (no problem) without losing the iptc data (problem). I can use a
>> browser resize with the original image but I'd rather store resized
>> images upon original upload if it's possible to do it without losing
>> that data. Any ideas?
> 
> Any reason you couldn't use http://php.net/iptcembed to embed the data
> into the new resized image?

uhh, nothing beyond ignorance ;-( though it does seem a bit clumsy to 
take it out, resize, and then put it back in. Thanks!


-- 
=================
Michael Southwell
Vice President, Education
NYPHP TRAINING:  http://nyphp.com/Training/Indepth



More information about the talk mailing list