• 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
Resource fork question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resource fork question


  • Subject: Resource fork question
  • From: Peter Schols <email@hidden>
  • Date: Tue, 2 Mar 2004 18:41:25 +0100

Hello,

I'm trying to copy photoshop files (for a scientific in-house app), including their Finder preview icons (a thumbnail of the image). I was thinking that these icon previews are stored in the resource fork.
From the archives, it seems that it isn't possible to copy a file's resource fork from Cocoa. I have done some tests and this still seems to be the case. I have also tried to copy the resource fork manually using filename/rsrc or filename/..forknamed/rsrc and while this seems to copy the resource fork, this still does not bring back the Finder photoshop icon preview.

So my questions:
- Is the photoshop icon preview stored in the resource fork?
- How can I copy a file, including the resource fork (and possibly other metadata) using Cocoa calls (if possible) or using Carbon (if there are no Cocoa options available).

Some examples or even sample code would be greatly appreciated.
Thanks in advance!

Peter Schols
Laboratory of Plant Systematics - K.U.Leuven
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Resource fork question
      • From: Charles Srstka <email@hidden>
    • Re: Resource fork question
      • From: Frank Midgley <email@hidden>
  • Prev by Date: CFDictionary
  • Next by Date: Re: Custom Properties in Address Book
  • Previous by thread: Re: CFDictionary
  • Next by thread: Re: Resource fork question
  • Index(es):
    • Date
    • Thread