Python Multiple .PNG Files per PDF Page -


i relatively new python-pdf relationship. if had list of .png files/pictures, how go creating pdf document these files/pictures? , possible have, example, 4 per page? not need other formatting... requirement basic.

thanks

there may python-reportlab solution, based on requirement, don't need it. can use imagemagick accomplish same.

first merge multiple pngs 1 png destined 1 page

montage -mode concatenate a*.png group_a.png montage -mode concatenate b1.png b2.png b3.png b4.png group_b.png ... 

then simply

convert group_*.png one.pdf 

the resulting pdf have 2 pages, each of contains multiple pngs.


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -