• 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: Convert Image in NSImage to TIFF/PICT Format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Convert Image in NSImage to TIFF/PICT Format
      • From: Marco Binder <email@hidden>
References: 
 >Convert Image in NSImage to TIFF/PICT Format (From: Sindhu Gururaj <email@hidden>)

  • Prev by Date: Convert Image in NSImage to TIFF/PICT Format
  • Next by Date: Re: Maintaining *one* singleton over >1 thread
  • Previous by thread: Convert Image in NSImage to TIFF/PICT Format
  • Next by thread: Re: Convert Image in NSImage to TIFF/PICT Format
  • Index(es):
    • Date
    • Thread