• 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: how to save a image in NSImage to pict format file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to save a image in NSImage to pict format file


  • Subject: Re: how to save a image in NSImage to pict format file
  • From: Andrew Platzer <email@hidden>
  • Date: Tue, 23 Oct 2001 10:47:37 -0700

On Monday, October 22, 2001, at 07:51 , sunnyvale wrote:
I can save the NSImage to GIF or JPEG but not PICT.
As far as I investigate, OS X doesn't seem to support PICT format.
Does anybody knows the way to convert image format to PICT?

If you have a bitmap image, you could stuff the bits into an offscreen GWorld and convert that to a PICT. Alternatively, you can draw the image into NSQuickdrawView while recoding a picture via OpenPicture and get the PICT handle from that.

Andrew


References: 
 >how to save a image in NSImage to pict format file (From: sunnyvale <email@hidden>)

  • Prev by Date: Re: Cocoa shell works great from PB, crashes as standalone.
  • Next by Date: Re: Cocoa shell works great from PB, crashes as standalone.
  • Previous by thread: Re: how to save a image in NSImage to pict format file
  • Next by thread: Selecting multiple cells in a NSMatrix
  • Index(es):
    • Date
    • Thread