Re: how to save a image in NSImage to pict format file
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