I want to convert pdf format to image(any format) in order to apply image compression algorithm on resulting image. I've tried using ghostscript but was unsuccessful as 'gs' command was not recognized by windows cmd even after giving entire path till gs-version. Please help me out.

Respuestas (2)

Image Analyst
Image Analyst el 3 de Dic. de 2016

0 votos

Type alt-PrintScreen to copy it to the clipboard. Then paste it into something like Photoshop, crop it if necessary, then save it.
heroe
heroe el 6 de Nov. de 2026 a las 8:32

0 votos

If Ghostscript is causing command recognition issues on Windows, another approach is to use a desktop PDF converter to export each PDF page as an image, such as JPG or PNG. This conversion may be done using PDFChamp Image to PDF without having to deal with command-line commands. Once the pages are exported as images, you may run them through whatever image compression method you like, one image at a time. Just check the resolution of the image and the output format to achieve the quality needed for further processing.

Categorías

Más información sobre Convert Image Type en Centro de ayuda y File Exchange.

Preguntada:

el 3 de Dic. de 2016

Respondida:

el 6 de Nov. de 2026 a las 8:32

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by