Closed (fixed)
Project:
ImageCache
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2008 at 09:35 UTC
Updated:
1 Dec 2010 at 16:22 UTC
Quick questions...
When creating a derivative, does the derivative retain the EXIF data of the original?
Thanks.
Comments
Comment #1
drewish commentedimagecache doesn't do the transformations that's imageapi's job.
Comment #3
plasticlax commentedfrom what i can tell it does. i think.
hey, http://drupal.org/project/mm_exif
crosspost: http://drupal.org/node/355390
Comment #4
KingMoore commentedthanks for the helpful response plasticlax.
Comment #5
wouters_f commentedI am working on a press site.
Those crazy press people want to be able to add IPTC data to the original file (which is then imported).
They want to see these tags in the generated imagecache files afterwards.
To accomplish this I added some imagecache presets.
I then wrote a simple script to see the IPTC info from the original versus the generated file.
$size = getimagesize($file, $info);
if(isset($info['APP13']))
{
$iptc = iptcparse($info['APP13']);
print_r($iptc);
}
According to what I see EXIF - IPTC data is lost on imagecache generation.
I found the following hooks:
hook_imagecache_actions
Inform ImageCache about actions that can be performed on an image.
hook_imagecache_default_presets
Provides default ImageCache presets that can be overridden by site
Is there a hook (maybe in the drupal 7 version) that I can use after/before imagecache generation?