Answer the question
In order to leave comments, you need to log in
Pdf-> jpg on FreeBSD?
Actually, I'm interested in the possibility of converting an existing PDF file to JPG (as a set of page images, or at least only the first page) on FreeBSD 8.1.
It is possible to put any ports, compile from source, in general, full scope.
Has anyone encountered something similar?
Answer the question
In order to leave comments, you need to log in
I did not know that everything is so simple in ImageMagick convert. At one time, I converted pdf using GhostScript:
$pdf_filename Имя исходного файла .pdf
$jpg_filename Имя файла для создания изображения
$page Номер страницы
$res Разрешение получаемой картинки
gs -q -sDEVICE=jpeg -dBATCH -dNOPAUSE -dFirstPage=$page -dLastPage=$page -r$res -sOutputFile=$jpg_filename $pdf_filename
Thanks for the advice, I will dig in both directions, which is more suitable for the task - I will use that.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question