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
Post a Comment