Re: Convert Image in NSImage to TIFF/PICT Format
Re: Convert Image in NSImage to TIFF/PICT Format
- Subject: Re: Convert Image in NSImage to TIFF/PICT Format
- From: Jeff Disher <email@hidden>
- Date: Tue, 18 Mar 2003 01:19:54 -0500
Well, you can always send a NSImage instance a "TIFFRepresentation"
message and it will give you an NSData object holding the TIFF data.
PICT and other formats are a little more difficult since you have to
get this TIFF data, then use that to create the correct type of Image
Rep (one of the NSImageRep subclasses) and then get its data in
whatever format you wanted.
If you need pointers on that, post back and I can post some code to
show you what I mean (but there might be some in the archives at
cocoa.mamasam.com).
Hope that helps,
Jeff.
On Tuesday, March 18, 2003, at 12:56 AM, Sindhu Gururaj wrote:
Hi All:
How do i convert a image in NSImage( say a BITMAP) into TIFF or PICT
file Format?
Any kind of help in the form of Code, Documentation and Links are
welcome.
I am newbie, kindly provide elaborate answers , if any.
Rgds,
Sindhu Gururaj.
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
Jeff Disher
President and Lead Developer of Spectral Class
Spectral Class: Shedding Light on Innovation
http://www.spectralclass.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.