• 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
TIFFRepresentationUsingCompression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: PerlObjCBridge: calls to NSMakeSize_ (and NSMakeRect_) not working?
  • Next by Date: Re: Cannot Save Britney Spears
  • Previous by thread: Re: PerlObjCBridge: calls to NSMakeSize_ (and NSMakeRect_) not working?
  • Next by thread: Reading in a Vector image (Adobe EPS), but displaying a Raster result (vs a scalable Vector Image). Why?
  • Index(es):
    • Date
    • Thread