Quick questions...

When creating a derivative, does the derivative retain the EXIF data of the original?

Thanks.

Comments

drewish’s picture

Status: Active » Fixed

imagecache doesn't do the transformations that's imageapi's job.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

plasticlax’s picture

from what i can tell it does. i think.
hey, http://drupal.org/project/mm_exif

crosspost: http://drupal.org/node/355390

KingMoore’s picture

thanks for the helpful response plasticlax.

wouters_f’s picture

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