• 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: Re: Image export/import question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: Image export/import question


  • Subject: RE: Re: Image export/import question
  • From: "Peter Karlsson" <email@hidden>
  • Date: Sat, 2 Oct 2004 13:58:52 +0200

Yes, its a property list. I just save my array with writeToFile:atomically.

Ok, I will not save my images inside my app, I didn't know that this was a
big no no :-)

I will look at creating NSData from a NSImage and see if it works for me,
thanks.

Peter

Ursprungligt meddelande

> At 12:56 Uhr +0200 02.10.2004, Peter Karlsson wrote:
> >In the app I am developing there is a import and export feature. File
> >format is xml. This works as expected.
>
> What kind of XML? A Property List like you get from NSDictionary's
> writeToFile:atomically:?
>
> >When the user imports or exports this file I also want some .tiff images
to
> >follow the file. These images is located in a folder inside my app and
they
> >are images that the user have added to my app so they are not the same
> >images from time to time.
>
> Joar already told you about messing with your app. It won't work if
> your app is on a server or the user doesn't have admin permissions
> and the app is in /Applications. Don't do it.
>
> >The importent thing is that I want only one
> >single file when importing/exporting. Is there a preferred way to do
this?
>
> If it's a property list, you can create NSData from your NSImage,
> and then put that NSImage in your NSDictionary/NSArray/whatever and
> just write that to the file using writeToFile:atomically:.
> --
> Cheers,
> M. Uli Kusterer
> ------------------------------------------------------------
> "The Witnesses of TeachText are everywhere..."
> http://www.zathras.de
>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Binding/KVC : implicit and explicit invocation of description method
  • Next by Date: [OOOT] help please, trying to find Louis Sacha
  • Previous by thread: RE: Re: Image export/import question
  • Next by thread: RE: RE: Re: Image export/import question
  • Index(es):
    • Date
    • Thread