TIFFRepresentationUsingCompression
TIFFRepresentationUsingCompression
- Subject: TIFFRepresentationUsingCompression
- From: "Kasper J. Jeppesen" <email@hidden>
- Date: Mon, 3 Oct 2005 20:11:04 +0200
I am currently working on a simple animation app. Inorder to reduce
the memory needed, I am trying to compact unused images by creating
compressed tiff data sets of them. My code can be simplified into the
following two lines.
NSImage* img=[[[NSImage alloc] initWithSize:NSMakeSize(width,height)]
retain];
NSData* cache=[[img
TIFFRepresentationUsingCompression:NSTIFFCompressionLZW factor:1.0]
retain];
This creates the following error...
Could not create CGImageDestinationRef for output type 'public.tiff'
Animator has exited due to signal 11 (SIGSEGV).
I have not been able to find references to this error anywhere....
does anybody have an idea of what's going on?
kind regards
Kasper
_______________________________________________
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