Hello,
I am using Irfanview to compile a series of images inside a folder into a PDF. I am using the multiPDF function. After doing multiple tests, its compression rate is not great. PDFs file sizes are large, where I would want something on the same compression rate as when you use Microsoft Print to PDF. Below is my script.
I may need help, as I feel like I'm missing something. I scoured the documentation for options, but is there a function via Irfanview that can take the photos from the folders that its searching and compress them into a single PDF, but yet at the same time have the same compression style/rate as Microsoft Print to PDF? Or, perhaps there is a way to do the same thing but invoke Microsoft Print to PDF?
Thank you very much.
I am using Irfanview to compile a series of images inside a folder into a PDF. I am using the multiPDF function. After doing multiple tests, its compression rate is not great. PDFs file sizes are large, where I would want something on the same compression rate as when you use Microsoft Print to PDF. Below is my script.
SET exePDF="%ProgramFiles%\IrfanView\i_view64.exe"
SET dllPDF="%ProgramFiles%\IrfanView\Plugins\PDF.dll"
SET currDIR="%CD%"
echo =====PROCESS A: Compile pictures folder(s) into PDF
REM Checks for existence of Irfanview and PDF plugin on local computer
IF NOT EXIST %exePDF% GOTO NOIRF
IF NOT EXIST %dllPDF% GOTO NOIRFP
echo Compiling...
REM locate all images in each subfolder and package them into a PDF, and rename the PDF as the folder's name where it was located
for /D %%G in ("%~dp0*") do @%exePDF% /multipdf=("%~dp0%%~nG.pdf","%%G\*.jpg","%%G\*.jpeg ","%%G\*.bmp","%%G\*.png","%%G\*.tiff","%%G\*.tif" ,"%%G\*.avif","%%G\*.gif","%%G\*.jfif") /resample /cmdexit
SET dllPDF="%ProgramFiles%\IrfanView\Plugins\PDF.dll"
SET currDIR="%CD%"
echo =====PROCESS A: Compile pictures folder(s) into PDF
REM Checks for existence of Irfanview and PDF plugin on local computer
IF NOT EXIST %exePDF% GOTO NOIRF
IF NOT EXIST %dllPDF% GOTO NOIRFP
echo Compiling...
REM locate all images in each subfolder and package them into a PDF, and rename the PDF as the folder's name where it was located
for /D %%G in ("%~dp0*") do @%exePDF% /multipdf=("%~dp0%%~nG.pdf","%%G\*.jpg","%%G\*.jpeg ","%%G\*.bmp","%%G\*.png","%%G\*.tiff","%%G\*.tif" ,"%%G\*.avif","%%G\*.gif","%%G\*.jfif") /resample /cmdexit
Thank you very much.
Comment