Re: Resource fork question
Re: Resource fork question
- Subject: Re: Resource fork question
- From: Robert Cerny <email@hidden>
- Date: Tue, 2 Mar 2004 21:58:39 +0100
Hi,
sorry but you're wrong. Photoshop saves the file's data into datafork
and preview icon into resource. The resource is in PICT format. I
checked the latest version of Photoshop (CS) and it's still the same.
Robert
On 2.3.2004, at 20:33, Frank Midgley wrote:
On Mar 2, 2004, at 11:41AM, Peter Schols wrote:
- Is the photoshop icon preview stored in the resource fork?
No, I think it's in the invisible .DS_Store file in the same directory
as the file. If the FSCopyObject code below doesn't already handle it
you'll probably need to use Carbon API's to get and then set the
custom icon.
- 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).
The Carbon FSCopyObject sample code does this:
http://developer.apple.com/samplecode/Sample_Code/Files/
FSCopyObject.htm
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
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.
_______________________________________________
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.