2008.04.22 11:18 "RE: [Tiff] Interleaving images from multiple Tiff files", by Andrew Wan

2008.04.30 09:31 "RE: [Tiff] TIFF split & merge", by Andrew Wan

My images are 1275x1743, 150dpi, 24bits.

I tried specifiying -r 8, -r 16, -r 24. and tried opening them as normal tif and none of them were recognised.

Nevermind. I can live with lzw compression. These tif files were made by my HP document scanner/printer. I guess the scanner didn't use any compression at all!

What I like to know is whether tiff2pdf will create a pdf file from multi-frame/directory tiff file... sorted by frame/directory order... rather than date. Do I have to edit the source? (which I still can't get to compile under windows)

Subject: RE: [Tiff] TIFF split & mergeDate: Tue, 29 Apr 2008 08:28:43 -0500From: ed.grissom@intergraph.comTo: andrew_wan1980@hotmail.com

Andrew -

Tifcp produces TIFF files, not JPEG files (i.e. JFIF format, .jpg extension).

It can produce JPEG-compressed TIFF files, but these are not .jpg files.

If that is what you want,....

Are these 8 or 24 bit images?

Or are they 1-bit/pixel images?

JPEG does not work with 1-bit/pixel data.

Also, just like it says, RowsPerStrip must be a multiple of 8 to work. Your input probably has some different value, and since you do not specify a new value on the command line, it is trying to use that.

Specify a "-r 8" or "-r 16" or something on the command line.

-- ed grissom ed.grissom@intergraph.com

From: tiff-bounces@lists.maptools.org [mailto:tiff-bounces@lists.maptools.org] On Behalf Of Andrew WanSent: Tuesday, April 29, 2008 7:41 AMTo: tiff@lists.maptools.orgSubject: [Tiff] TIFF split & merge

successfully wrote a C program to split & merge 2 large tiff files (where one of the original tiff file contains odd pages and the other contains even pages). Tools I used were tiffsplit & tiffcp.

The resulting output tiff file is quite large, over 300MB, but at least the directories are sorted in order (page 0, page 1, page 2, etc.). Now I want to shrink this to a reasonable size. I tried using tiff2pdf on the output.tif file and guess what. It created the PDF pages in date order... so now am back to the original problem (page 0, page 2, page 4, page 6.... page 1, page 3, page 5, page 7...). Is there any way to make tiff2pdf create the PDF in directory order?

Second query is: using the splitted tif files I thought to tiffcp convert each tiff into jpeg. So I used

 tiffcp.exe -c jpeg:r 000.tif 000.jpg

but I get this message:

JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG.000.jpg: Error, can't write strip 0.

Can someone enlighten me in what this means and how to solve this? Am a newbie to this jpeg/tiff inner-tech.

Make i'm yours. Create a custom banner to support your cause.

_________________________________________________________________
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL