• 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: Final round with NSTIFFCompressionCCITTFAX3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Final round with NSTIFFCompressionCCITTFAX3
      • From: Ben Mackin <email@hidden>
References: 
 >Final round with NSTIFFCompressionCCITTFAX3 (From: Ben Mackin <email@hidden>)

  • Prev by Date: [Q] Activating an NSButtonCell
  • Next by Date: Re: Final round with NSTIFFCompressionCCITTFAX3
  • Previous by thread: Final round with NSTIFFCompressionCCITTFAX3
  • Next by thread: Re: Final round with NSTIFFCompressionCCITTFAX3
  • Index(es):
    • Date
    • Thread