PDA

View Full Version : Convert PDF to TIFF -> all Pages



Lenge1971
02.01.2019, 01:29 PM
Hi,
just want to convert (drag&drop) pdfs to tiffs. This works fine, but, only the first page is converted:


FOR %%a IN (%*) DO (
"c:\Program Files (x86)\IrfanView\i_view32.exe" %%a /tifc=6 /bpp=8 /gray /convert=%%~na.tiff
)

I see the option (german): "Alle Seiten aus dem Originalbild speichern" -> humble translation: "Save all pages from the original image"

This is the desired option, but I want to have this option in the command line fixed.

Thanks and w/best regards
Michael

Lenge1971
02.01.2019, 01:56 PM
Ah, ok, found that some options are not supported by command line, there´s to be an ini-File. (parameter: /ini=".\something.ini")

Works now. But I see another issue, only page 1 is converted to gray, I need all pages converted. Parameter advAllPages=1 is not the solution.

Ideas?

Lenge1971
04.01.2019, 07:58 AM
Morning,

no ideas? Still, page 1 is gray as aspected, following pages are coloured

Lenge1971
04.01.2019, 08:21 AM
conclusion:

Using the GUI-Batch everthing is ok, all pages are gray.

Using this instead:

"c:\Program Files (x86)\IrfanView\i_view32.exe" %%a /ini=%appdata%\Roaming\IrfanView\i_view32.ini /convert=%%~na.tiff
the result ist coloured. Huhh????