Creating TIFF image with one strip only in Cocoa
Creating TIFF image with one strip only in Cocoa
- Subject: Creating TIFF image with one strip only in Cocoa
- From: Warwick Hall <email@hidden>
- Date: Fri, 25 May 2007 09:33:35 +1000
hello all,
i have a requirement to convert a multipage PDF file to a series of
TIFF *single stripped* G3 compressed files (one TIFF file per PDF
page). with this i intend to take the TIFF file and run it through
the command line tool "efax" to send (you guessed it) a fax! Problem
is, efax (and and its buddy efix) do not accept multi strip TIFF images.
i am using
[<NSImage> TIFFRepresentationUsingCompression :
NSTIFFCompressionCCITTFAX3 factor : 1.0]
which creates a G3 compressed *multi striped* TIFF image. I know this
by calling
tiffutil -verboseinfo <TIFF file>
on the command line. in my case the output TIFF files always have 16
strips. how does one create a TIFF image with only one strip using G3
compression in Cocoa?
thankx,
omega
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden