Re: Final round with NSTIFFCompressionCCITTFAX3
Re: Final round with NSTIFFCompressionCCITTFAX3
- Subject: Re: Final round with NSTIFFCompressionCCITTFAX3
- From: Cameron Hayne <email@hidden>
- Date: Wed, 11 Sep 2002 22:23:54 -0400
On Wednesday, September 11, 2002, at 06:49 pm, Ben Mackin wrote:
myDict = [NSDictionary
dictionaryWithObjectsAndKeys:@"NSTIFFCompressionCCITTFAX3"
,@"NSImageCompressionMethod" ,nil];
myTIFFasBitMap = [[NSBitmapImageRep alloc] initWithData:myData];
theData = [myTIFFasBitMap representationUsingType:NSTIFFFileType
properties:myDict];
Shouldn't the first line be:
myDict = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithInt:NSTIFFCompressionCCITTFAX3],
NSImageCompressionMethod, nil]; ?
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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.