Tiff to Stip of images

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
sms23
Posts: 1
Joined: Tue Feb 24, 2015 2:43 pm

Tiff to Stip of images

Post by sms23 »

Dear All,

Have this bunch of Tiff, multiple pages, files that I need to convert to Jpeg or PNG . These Jpegs or PNG need to be one files. I have done this manually where I extract the images from the TIff files and go to Create--> stip of image and select the files , choose the files , vertical alignment .

Can this be done via a batch or command line.

Many thanks in advance
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Tiff to Stip of images

Post by cday »

sms23 wrote:Have this bunch of Tiff, multiple pages, files that I need to convert to Jpeg or PNG . These Jpegs or PNG need to be one files. I have done this manually where I extract the images from the TIff files and go to Create--> stip of image and select the files , choose the files , vertical alignment .

Can this be done via a batch or command line.
If you are familiar with using the command line, it might be possible with NConvert utilising this code to create the strip:

Code: Select all

-one_strip            : One strip (TIFF)
I'm not sure whether the TIFF reference is to format of the input files, the output file created, or to both.

You would need to study the NConvert Help file to find the other code required, and it might be necessary to perform the overall process using up to three steps, which could be placed in a Windows batch file so that they could be run together. For example, it might be necessary to first extract the images from the multi-page TIFF file, then create the stript of images, and then convert the output file to a JPEG or PNG: I'm not sure to what extent the steps might be combined.

If you decide to try this approach and require further support, it would be better to start a new thread under the NConvert forum heading.

Another approach might be to use one of the Windows scripting utilities to record (or program) the keyboard and mouse actions required to create the output file using XnView, in effect creating a macro that performs the actions you would do manually.

http://en.wikipedia.org/wiki/Comparison ... r_software

Another simple tool is TinyTask, if you care to Google that.

Edit:

It is always wise to experiment with copies of files. :wink:
Attachments
nconvert_6.56_help.zip
(10.23 KiB) Downloaded 38 times
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Tiff to Stip of images

Post by XnTriq »

cday wrote:If you are familiar with using the command line, it might be possible with NConvert utilising this code to create the strip:

Code: Select all

-one_strip            : One strip (TIFF)
I'm not sure whether the TIFF reference is to format of the input files, the output file created, or to both.
You were the one to find an answer to this question last year, cday. ;-)
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Tiff to Stip of images

Post by cday »

sms23 wrote: Have this bunch of Tiff, multiple pages, files that I need to convert to Jpeg or PNG . These Jpegs or PNG need to be one files. I have done this manually where I extract the images from the TIff files and go to Create--> stip of image and select the files , choose the files , vertical alignment .
XnTriq wrote:
cday wrote:If you are familiar with using the command line, it might be possible with NConvert utilising this code to create the strip:

Code: Select all

-one_strip            : One strip (TIFF)
I'm not sure whether the TIFF reference is to format of the input files, the output file created, or to both.
You were the one to find an answer to this question last year, cday. ;-)
Whoops! When I read the original requirement to create a strip of images, I quickly searched NConvert Help for the term 'strip', overlooking in my haste to go out and eat the fact that 'one strip' is a technical term within the TIFF format:

http://en.wikipedia.org/wiki/Tagged_Image_File_Format
A baseline TIFF image may be composed of one or more strips. A strip or band is a subsection of the image composed of one or more rows. Each strip is compressed independently and begins on a byte boundary. If the image height is not evenly divisible by the number of rows in the strip the last strip may contain fewer rows. If the strip definition tags are missing then the image is assumed to contain a single strip.
As that that was the only hit for 'strip' in NConvert Help, it looks as if the creation of a strip of images is not currently supported. :(

That would appear to leave the scripting option as the only possibility at present using XnView family software...
Post Reply