• 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: cocoa-dev digest, Vol 2 #1613 - 15 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Cocoa resources
  • Next by Date: Cocoa and ... Pascal!!!
  • Previous by thread: Moving window
  • Next by thread: Cocoa and ... Pascal!!!
  • Index(es):
    • Date
    • Thread