Pages

How to combine .png files side by side

The package montage can be used to combine png files side by side.

Orignally, I want to combine .eps files together. But, I couldn't do it directly. But, there is way to combine .png files as follow.

Suppose, we have two .png files

montage Figure*.png -tile 2x1 -geometry +0+0 combinedFigure.png

Then, you can use "convert" to convert form .png to .eps as follow.

convert combinedFigure.png combinedFigure.eps

This is how I got the work done. The final output file in .eps is not as clear as I expected. But for now, it is suffice. If I come to know more about this, I will update this post.



Following links would be useful to you.
Stackoverflow.com
imagemagick.org

No comments:

Post a Comment

You may be interested in these posts

Error in image file conversion: convert-im6.q16: not authorized `test.eps' @ error/constitute.c/WriteImage/1037.

This error is because of the vulnerability. This allows remote execution of code using image formats. So, some Linux distributions by defaul...