| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2004.09.15 15:17 "Re: Removing reduced resolution pages", by Han The Man> Han The Man wrote: > > > I want to remove any pages in those TIFF files marked as > > reduced-resolution. > > So in essence, I want to replace the original file with a new > > file not having reduced-resolution pages. > > > > Can I do that reliably using libtiff? > > Absolutely. > > You can use tiffcp to copy only some subimages, eg.: > > tiffcp in.tif,0,2 out.tif > > To identify the subimages you want, write a shell script or batch file that > parses the output of tiffinfo, maybe with a bit of perl or awk. That's my second problem. How do I reliably idenity "reduced resolution" pages? The tiffinfo returns a subtype of 0x03, but the standard says reduced resolution pages are 0x02. Have I misunderstood or is this a bug in libtiff? |
|||||||