Which properties are required for creating a GIF representation?
Which properties are required for creating a GIF representation?
- Subject: Which properties are required for creating a GIF representation?
- From: John Blackburn <email@hidden>
- Date: Mon, 18 Feb 2002 13:34:46 -0800
I have a NSBitmapImageRep; I want a GIF. Which properties must be
specified when creating GIF representations from an NSBitmapImageRep?
Specifying no properties at all results in an intelligible but
garbage-filled image:
data = [rep representationUsingType:NSGIFFileType
properties:nil];
Specifying transparency improves things a bit, but there's still
something clearly off:
data = [rep representationUsingType:NSGIFFileType
properties:[NSDictionary
dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:YES],
NSImageDitherTransparency, NULL]];
Are there any other properties which must be specified? I've searched
the usual sites for information and have seen this mentioned
tangentially, but never definitively.
Thanks,
John Blackburn
_______________________________________________
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.