Advanced search  

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

Pages: [1]   Go Down

Author Topic: losing Exif data  (Read 16317 times)

0 Members and 1 Guest are viewing this topic.

Ziptrax

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
losing Exif data
« on: January 12, 2011, 07:45:56 pm »

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
Logged

Nibbler

  • Guest
Re: losing Exif data
« Reply #1 on: January 12, 2011, 08:00:33 pm »

No, Coppermine lacks the ability to write EXIF data.
Logged

Ziptrax

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: losing Exif data
« Reply #2 on: January 12, 2011, 09:05:39 pm »

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.
Logged

Ziptrax

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: losing Exif data
« Reply #3 on: January 13, 2011, 02:28:55 pm »

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?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: losing Exif data
« Reply #4 on: January 13, 2011, 03:30:42 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.