Re: cocoa-dev digest, Vol 2 #1613 - 15 msgs
Re: cocoa-dev digest, Vol 2 #1613 - 15 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #1613 - 15 msgs
- From: mw <email@hidden>
- Date: Wed, 04 Dec 2002 06:53:23 -0500
Perhaps it is coming out garbled because you are using a compression factor
of 15.0? Maybe you should try a normal or high quality compression rate...
say 100.0?
mw
On Tue, 3 Dec 2002 20:36:38 -0600, "Jan Van Tol <email@hidden>" wrote:
>
Greetings,
>
>
I've been trying to create a decent GIF image for some time here.
>
Every GIF I create comes out looking weird and garbled. I've searched
>
the archives, and several people have asked about this, but there
>
hasn't been a single answer! Here's the code I'm using (got it from
>
the archives):
>
>
//image is a valid image
>
NSBitmapImageRep *imageRep = [NSBitmapImageRep imageRepWithData:[image
>
TIFFRepresentationUsingCompression: NSTIFFCompressionLZW factor: 15.0]];
>
NSData *gifData = [imageRep representationUsingType:NSGIFFileType
>
properties:nil];
>
//write to file
>
>
So what's going on? Why does no one have an answer to this? Seems
>
like creating a simple GIF would be a pretty common thing to do!
>
>
-Jan Van Tol
_______________________________________________
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.