Tile/concatenate high resolution PDF files with imagemagick -
i've 9 high quality pdf files. want merge them 1 large pdf of 3x3. want turn png file. want keep resolution/sharpness during process on resulting png can zoom right in , still see fine detail. thought might imagemagick i'm struggling. ideas please?
i've tried merge them start with. works, quality doesn't remain.
montage input_*.pdf -background none -tile 3x3 -geometry +0+0 output.pdf
please note file size , size of resulting image isn't issue. i've no need print or that. it's viewing on computer only.
here sample of 3 of pdf files:
1) https://www.dropbox.com/s/qc094jg1nkfk0jw/input_1.pdf?dl=0
2) https://www.dropbox.com/s/gb4u8r7bxg8lw2r/input_2.pdf?dl=0
3) https://www.dropbox.com/s/97dhi42wrvfxfd2/input_3.pdf?dl=0
each pdf 1071 x 1800 pts (using pdfinfo).
thanks
james
rather stick pdf , merge , convert png, may better extract images png in first place , concatenate png files this:
pdfimages -png input_1.pdf pdfimages -png input_2.pdf pdfimages -png input_3.pdf # combine them side side montage a-*png -background none -tile 3x3 -geometry +0+0 output.png # or combine "convert" convert a-*.png +append result.png
the second document seems have mask...
pdfimages -list input_1.pdf page num type width height color comp bpc enc interp object id x-ppi y-ppi size ratio -------------------------------------------------------------------------------------------- 1 0 image 12000 20167 icc 3 8 image no 9 0 807 807 1260k 0.2% pdfimages -list input_2.pdf page num type width height color comp bpc enc interp object id x-ppi y-ppi size ratio -------------------------------------------------------------------------------------------- 1 0 image 12000 20167 icc 3 8 image no 9 0 807 807 5781k 0.8% 1 1 smask 12000 20167 gray 1 8 image no 9 0 807 807 230k 0.1% pdfimages -list input_3.pdf page num type width height color comp bpc enc interp object id x-ppi y-ppi size ratio -------------------------------------------------------------------------------------------- 1 0 image 12001 20167 icc 3 8 image no 9 0 807 807 2619k 0.4%
Comments
Post a Comment