• 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
Re: Saving an image without save dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Saving an image without save dialog (From: Luke Sands <email@hidden>)

  • Prev by Date: Re: Cocoa Addition (3D Engine)
  • Next by Date: Re: Rapid development with Project Builder...how?
  • Previous by thread: Re: Saving an image without save dialog
  • Next by thread: screen dump?
  • Index(es):
    • Date
    • Thread