All Questions
Tagged with imagemagick ghostscript
15
questions
0
votes
1
answer
442
views
PowerShell, ImageMagick, GhostScript to extract each page of a PDF as a separate image
I'd like to take a PDF and extract each page as an image. I've been able to do this with ImageMagick and GhostScript, but the results are incredibly bad quality. I've tried many different output ...
1
vote
0
answers
579
views
Imagemagick 7.0.8-59 Error Message when Compressing PDF files
I am trying to compress a PDF with this Command: mogrify -compress jpeg -quality 50 path/to/file/*
When running the Command I get this error message:
Error: ICCbased space /N value does not match ...
2
votes
1
answer
3k
views
Compress PDF to 2MB or less
I have PDF files, tonnes (~1000) of them for a government report, varying from 600kb to 500MB.
Problem is that the portal only allows upload of files up to 2MB.
I have Windows (which I find fairly ...
0
votes
2
answers
2k
views
How can I create a .prn file from a TIFF?
I have an industrial printer that requires .prn files to print. I'd like to automate generation of these files using software I write. We start with TIFF files, and then we use special software from ...
1
vote
0
answers
496
views
Adding margin to rasterized PDF using ghostscript
I'm cropping and rasterizing some PDFs using ImageMagick. In order to remove some text that I don't need, I want to crop to a smaller box than needed and then readjusting the page size adding some ...
2
votes
0
answers
396
views
Disk space used by ImageMagick/Ghostscript
I have a 200 MB PDF file input.pdf consisting of scanned images, whose resolution I want to reduce.
Under Windows 7 the following command
convert -density 200x200 -quality 60 -compress jpeg input....
3
votes
1
answer
3k
views
ImageMagick: wrong size when converting PDF to JPG
I want to apply some improvements (change brightness, contrast, etc) to a pdf, to make it more readable, so I chose ImageMagick and pdftk.
I used the following command to split the pdf into several ...
1
vote
1
answer
550
views
Best settings to convert massive pdf hiking maps to images using ghostscript/imagemagick
I did convert all of the Te Araroa Hiking Maps from PDFs to JPEGs so far. The original maps are 16-64MB PDFs, which take forever to load on my Android Phone. I converted them using Ghostscript and ...
0
votes
1
answer
2k
views
PDF to PNG with ImageMagick/GhostScript: Colorspace=sRGB breaks script
In order to convert a PDF with 100 pages to single PNG files, I've been using the following command:
C:\Program files\ImageMagick\convert -density 150 -alpha Opaque file.pdf file.png
But that ...
4
votes
1
answer
2k
views
Thumbnail generation with imagemagick doesn't render the correct colors
Generating thumbnails of PDFs with imagemagick sometimes renders incorrect colors. We're using an old version of imagemagick (6.5.7-8, that's the version installed on the heroku servers). Here is the ...
5
votes
2
answers
2k
views
PDF => raster, is it possible to adapt the sampling resolution to the input page size?
I am using convert (Imagemagick component, delegating to Ghostscript in background) to transform the first page of PDF files to images.
Usually, convert -density 200 file.pdf[0] first_page.png will ...
22
votes
2
answers
8k
views
Convert HTML to image
Background
Batch convert various syntax-highlighted source files (C, SQL, Java, PHP, batch, bash) into high-resolution images (600dpi), suitable for an eBook and printed book.
Failed Solutions
A ...
18
votes
2
answers
27k
views
Using Ghostscript to convert multi-page PDF into single JPG?
I know Ghostscript can convert PDFs to JPGs, and in the case of a multi-page PDF, can rip each page to an individual JPG. But is it possible to have it rip them to one JPG, so that the pages are ...
2
votes
1
answer
2k
views
Imagemagick PDF to JPG conversion failing
I'm trying to convert the first page of a PDF to a JPG. I'm pretty sure I got this to work with certain PDFs, but is it really possible that certain PDFs are made incorrectly and cannot be converted?
...
2
votes
3
answers
1k
views
Imagemagick, Snow Leopard and PDF Conversion
Having difficulties with Imagemagick and Snow Leopard.
Imagemagick was installed using the install script from here here. Everything builds and installs correctly. Imagemagick behave normally for ...