Example:
Let's say I have 1.jpg, 2.jpg, 3.jpg files. To convert them into a single result.pdf run the following command:
$ convert 1.jpg 2.jpg 3.jpg result.pdf
or
$ convert {1..3}.jpg result.pdf
Now I want to get my images back from the result.pdf:
$ convert -density 300 result.pdf image.jpg
where "-density 300" is a precision in points per inch. Each pdf page will be converted into a separate image.
convert supports a lot of different flags and options. To learn more about it:
$ man convert
or
No comments:
Post a Comment