• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IPTC EXIF header in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IPTC EXIF header in Tiger


  • Subject: IPTC EXIF header in Tiger
  • From: "Pradeep Kumar" <email@hidden>
  • Date: 26 Apr 2005 00:24:53 -0000

Hi All

I hope it is fine to ask some Tiger related questions in this mailing list. My apologies if it's
not. Anyway I will go ahead and put forth my question.

I have this piece of code which I am using to save a file as JPEG file. The original source file
is also a JPEG file and I am opening it and doing some operations on it and writing it back.
The code is below.

sourceRep = [NSBitmapImageRep imageRepWithData:[srcImage
TIFFRepresentationUsingCompression:NSTIFFCompressionLZW factor:0.0]];
NSData *data = "" representationUsingType:NSJPEGFileType properties:nil];

I used exifcopy v2.5 from Hugh Thomas for copying the EXIF information from the original
file to the new file. It worked fine in Panther and Jaguar without the override option -o. But
in Tiger, it fails to copy. Even if I specify the overwrite EXIF data option to the exifcopy tool
it fails. I noticed that the JPEG data created using the above method has a IPTC header
information. It has the text Photoshop, 3.0 8BIM data in it. The exifcopy tool says that there
is already EXIF data in the destination file. Exifcopy 2.6 works fine.
I wanted to know why this is happening and how this can be disabled. I realize that Tiger
added support for copying EXIF data from one rep to another. But is there a way to disable
it completely?

Thanks
pradeep

--
prady

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: IPTC EXIF header in Tiger
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: How to get the CGDirectDisplayID?
  • Next by Date: NSPanel newbie init question
  • Previous by thread: Re: How to get the CGDirectDisplayID?
  • Next by thread: Re: IPTC EXIF header in Tiger
  • Index(es):
    • Date
    • Thread