losing Exif data losing Exif data
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

losing Exif data

Started by Ziptrax, January 12, 2011, 07:45:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ziptrax

Hi,

When i upload pictures with autoresize on and a maximum size of 1920, when the image is larger than 1920, coppermine resizes the picture ok, but all exif data is lost.
Is it not possible to copy all exif data from the image before resize, then re-add it back on after the original image is resized?

My gallery is at www.share-snaps.com

Thanks

Nibbler

No, Coppermine lacks the ability to write EXIF data.

Ziptrax

Ok, i just found this on the net, while searching for reading and writing exif data

http://open.vinayras.com/phpexifrw_exif_reader_writer

which says coppermine photo gallery uses this class.

When i get a spare few minutes later, i will have a look see if i can create a hack for doing what i asked above.

Ziptrax

Tried to do this using the PEL library as that has started being updated again but cant get it to work right at the moment.

Does the imagemagik resize keep the exif data? as i have read that imagemagik can save exif data when doing operations?

phill104

Wehave been discussing the use of some different libraries to extract and re-write exif data during the resize process. This will be a consideration for CPG1.6 but no new features will be added to the core of CPG1.5.x. If you can do it as a plugin then that is fine.
It is a mistake to think you can solve any major problems just with potatoes.