First round of changes to refactor export code to use Quartz and CoreImage
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 9 Aug 2009 02:51:02 +0000 (22:51 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 9 Aug 2009 02:55:04 +0000 (22:55 -0400)
commit122f698e7c9daf5f69d96c1794d34cf11a3fc7b9
tree20caaa25bda397e2d73306e72fe28829064a1d8a
parent8cc50344a04667ea8829783385d99ee10b95909f
First round of changes to refactor export code to use Quartz and CoreImage

Use Quartz and CI routines to get the image metadata out of the image before
scaling the image (which nukes the metadata). Use Quartz/CI to add select
IPTC fields to the image such as keywords/description etc...  Still need
to refactor the scaling code to use CoreImage routines (maybe the Lanczos transform filter?)
instead of the current (wasteful) quicktime solution.

This change not only allows us to embed keywords/description etc.. into the IPTC data sent
to Ansel, but it also will preserve much more of the metadata the the QT routine did.
iPhoto2Ansel/AnselExportController.m