Re: How to automatically figuring out the optimal resolution for a pdf file?

Tei <[email protected]> Wed, 27 Apr 2011 03:18:55 +0200
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
On 27 April 2011 01:28, Anthony Thyssen <[email protected]> wrote:
> On Mon, 25 Apr 2011 20:54:16 +0200
> [email protected] wrote:
> | Theoretically, a PDF might contain raster images of various resolution.
> | Practically speaking, however, this will seldomly be the case. In the
> | easiest case, a PDF will just binds(scanned) TIFFs of one and the same
> | resolution. If the PDF is produced by a printer driver or distilled fom
> | a PostScript file, one will generally define fixed resolutions for
> | raster images and black and white images.
> |
> | So I guess there generally *is* something like an ideal resultion for an
> | PDF when being converted to a raster image. But this is more of a
> | Ghostscript problem than a problem of ImageMagick.
> |
> | If your PDF just binds raster images, you should give pdfimages from
> | Xpdf a try, which losslessly extracts them from the PDF, extracting the
> | accordings streams.
> |
> | Wolfgang Hugemann
>
> I did not know that Xpdf can extract the images from PDF losslessly.
> Hmmm the package does not even require the use of ghostscript!
> I wonder how it is processing PDF files?
>

Xpdf is a complete PDF engine.

Don't quote me on that, but probably theres maybe less than 6 complete
pdf engines. Xpdf, Evince, Foxt, Adobe,... (If that is a myth, is a
pretty fun myth)  Supposedly the PDF spec is a horrible and bloated
document, so few people have actually tried to complete the task to
make a engine for it. Most reuse code, retain sanity. Or make a
lightweight version of it.

-- 
--
ℱin del ℳensaje.

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users