Using ImageMagick for repairing images extracted from PDF files

To join three images to one, putting them below each other, use

montage -tile 1x3 stripe1.jpg -geometry +0,+0 stripe2.jpg -geometry   
+0,0 stripe3.jpg out.jpg

.

I had this problem with an image extracted from a PDF file using

pdfimages

. The image seems to have been cut into three
stripes by the PDF encoder.

Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: