Resource fork question
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.