RE: Multi-Page TIFF routine
RE: Multi-Page TIFF routine
- Subject: RE: Multi-Page TIFF routine
- From: klee04 <email@hidden>
- Date: Thu, 18 Nov 2004 08:34:50 +0900
Thank you all for the reply.
I will try that. Thanks.
Kanghoon Lee
-----Original Message-----
From: Marcel Weiher [mailto:email@hidden]
Sent: Wednesday, November 17, 2004 9:59 PM
To: M. Uli Kusterer
Cc: Rustam Muginov; klee04; email@hidden
Subject: Re: Multi-Page TIFF routine
> That said, NSImage loads TIFF images just fine (I've used that)
Yep.
> and NSBitmapImageRep seems to have methods to get at different frames
> of an image (look at the NSImageFrameCount constants). I don't know
> whether the latter only works with animated GIFs, but I wouldn't be
> surprised if it also worked for PDFs and TIFFs (vaguely recall a
> posting here from someone who used NSImage to do PDFs...).
Me, I'd go with:
imageRepsWithData:
+ (NSArray *)imageRepsWithData:(NSData *)bitmapData
Creates and returns an array of initialized NSBitmapImageRep objects
corresponding to the images in bitmapData. If NSBitmapImageRep is
unable to interpret bitmapData, the returned array is empty. bitmapData
can contain data in any supported bitmap format.
(For PDFs, use a NSPDFImageRep and setCurrentPage: )
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
1d480c25f397c4786386135f8e8938e4
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden