multitiff with mixed compression formats

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

Stefan Happel
Posts: 5
Joined: Thu Oct 25, 2012 8:19 am

multitiff with mixed compression formats

Post by Stefan Happel »

Hi,
i use nconvert to build multi-tiff from group 4 Black&White and jpeg mixed.
My commandline is : -D -multi -out tiff -overwrite -c 8 -o <outfile> -l <filelist>
This works verfy fine, but: the Black&White is compressed to Group 3 Fax Encoding, which is much bigger than group 4.
When I user parameter -c 7 , nconvert produces group 4 Black&White and uncompressed for Color.
How can I combine -c 8 and -c 7?
With XnConvert, this is no problem. Is there a commandline solution?
Thxs,
Stefan
User avatar
xnview
Author of XnView
Posts: 43833
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: multitiff with mixed compression formats

Post by xnview »

currently no way to use more than 1 compression value...
Pierre.
Stefan Happel
Posts: 5
Joined: Thu Oct 25, 2012 8:19 am

Re: multitiff with mixed compression formats

Post by Stefan Happel »

Hi,
still - or again - looking for a way to automatically build multitiff files with formats group 4 fax encoding and jpeg (in tiff) mixed ...
I really would like to do it with your software, because everything is working verfy fine - thank you!
Do you see any chance, to give nconvert this possibility?
Thx again, Stefan
User avatar
xnview
Author of XnView
Posts: 43833
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: multitiff with mixed compression formats

Post by xnview »

i don't know how to set multiplae compression settings on the command line
something like

Code: Select all

-page_comp 1 1 -page_comp 2 0
?
Pierre.
Stefan Happel
Posts: 5
Joined: Thu Oct 25, 2012 8:19 am

Re: multitiff with mixed compression formats

Post by Stefan Happel »

Currently nconvert works like this:
-multi -c 7 : compresses Tiff-Files to CCITT G4-Pages ; a jpeg-File will become an uncompressed coloured page in the resulting multipage - Tiff-file.

Maybe the easiest way is:
-multi -c 7 -q100 : Tiff=>CCITT G4 JPEG=>JPEG(in Tiff) with quality 100.

Would this be ok?
Thx a lot,
Stefan
Stefan Happel
Posts: 5
Joined: Thu Oct 25, 2012 8:19 am

Re: multitiff with mixed compression formats

Post by Stefan Happel »

me again ...
maybe the most easiest way would be a new parameter-value of -c (-c 9 or sth like this): nconvert just keeps the compression of the input-files building multitiff-pages (if possible) ?
User avatar
xnview
Author of XnView
Posts: 43833
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: multitiff with mixed compression formats

Post by xnview »

oh, you need to use different compression for B&W, Greyscale & colors images, right? not for page?
Pierre.
Stefan Happel
Posts: 5
Joined: Thu Oct 25, 2012 8:19 am

Re: multitiff with mixed compression formats

Post by Stefan Happel »

Yes!! That's it!