Re: Saving an image without save dialog
Re: Saving an image without save dialog
- Subject: Re: Saving an image without save dialog
- From: Ondra Cada <email@hidden>
- Date: Mon, 29 Oct 2001 10:54:09 +0100
Luke,
>
>>>>> Luke Sands (LS) wrote at Sun, 28 Oct 2001 17:04:36 +0000:
LS> How do you save an image that is held within your resources folder, to
LS> another place on your hard disk without using the 'save' dialog box?
If unchanged, I'd use the old plain NSFIleManager's copyPath:toPath:handler:.
If you changed the image before writing out, convert it to NSData
(TIFFRepresentation, or check all the methods of the NS*ImageRep) and write
the result out using writeToFile:atomically:.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc