resizing tiff is producing multiple strips tiff

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rjilani
Posts: 4
Joined: 2013-07-20T06:26:28-07:00
Authentication code: 6789

resizing tiff is producing multiple strips tiff

Post by rjilani »

Hi: I am using convert command to reduce the size of the tiff e.g. convert -resize 20% input.tiff output.tiff. The input tiff is composed of single strip, but the output tiff generated is composed of multiple strips. Is there any way to force imagemagick to produce output tiff as single strips instead of multiple strips.

Regards,
RJ.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: resizing tiff is producing multiple strips tiff

Post by snibgo »

I know nothing about tiff strips, but does "-define tiff:rows-per-strip={value}" do what you want?

See http://www.imagemagick.org/script/comma ... php#define
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: resizing tiff is producing multiple strips tiff

Post by fmw42 »

convert -resize 20% input.tiff output.tiff
This is not good IM 6 syntax, though may still work. The input image should be read before any commands

convert input.tiff -resize 20% output.tiff


This probably has no bearing on the strips issue.

see
http://www.imagemagick.org/Usage/basics/#why


What version of IM are you using and what platform? Can you post a link to your tiff file?


see
viewtopic.php?f=1&t=9620
rjilani
Posts: 4
Joined: 2013-07-20T06:26:28-07:00
Authentication code: 6789

Re: resizing tiff is producing multiple strips tiff

Post by rjilani »

Thanks both of you for the tips. I am using imagemagick 6.8.4-10 on windows 64 bit machine

BTW the suggested switch earlier "-define tiff:rows-per-strip={value}" did the trick for me and able to produced a single strip tiff.

Regards,
RJ.
Post Reply