I am applying gamma correction to a multipage colour PDF before saving it as a monochrome (/tifc=4) TIFF file. The gamma correction is only being applied to the first page.
Announcement
Collapse
No announcement yet.
V4.23 - Gamma correction only applied to first page
Collapse
X
-
What do you expect? Why would the program assume that you want to make the same correction to each page?Before you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486
Irfan Paint • Irfan View Help • IrfanPaint Help • Riot.dll • More Skins • FastStone Capture • Uploads
-
I am running IrfanView from the command line in this instance. I obviously expected it to apply the correction to every page, otherwise I would not have reported it.
The help says that /gamma=X means "open image and apply the gamma correction value X", it makes no mention of it only changing the first page.
Is it possible to apply this correction to all pages using a single command line? If not would I need to split the PDF into multiple individual files, apply gamma correction to each, before creating a multipage tiff from the resultant corrected images?
Thanks for your help.
Martyn
Comment
-
Help says:
(some Misc. Advanced Batch options are not supported: overwrite, delete, subfolders, all pages)
Originally posted by MartynJ View PostIs it possible to apply this correction to all pages using a single command line? If not would I need to split the PDF into multiple individual files, apply gamma correction to each, before creating a multipage tiff from the resultant corrected images?
Code:@echo off set Source=C:\TIF\ set Cmd="C:\i_view32.lnk" /multitif=(%Source%Test.tif for /F "tokens=* delims=" %%a in ('dir /b %Source%') do call :Sub "%%a" set Cmd=%Cmd%) %Cmd% pause goto :eof :Sub set File=,%Source%%~1 set Cmd=%Cmd%%File% goto :eof
Comment
Comment