Re: How to automatically figuring out the optimal resolution for a pdf file?
Anthony Thyssen <[email protected]> Mon, 25 Apr 2011 12:52:17 +1000
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <20110425125217.47db4902@kirin> |
On Sun, 24 Apr 2011 20:28:37 -0500 Peng Yu <[email protected]> wrote: | On Sat, Apr 23, 2011 at 2:33 AM, Anthony Thyssen | <[email protected]> wrote: | > | > And how would acrobat do that! That is the question! | > | > PDF's (or postscript) are not supposed to have a 'ideal density' or | > resolution. But if they contain raster images, those raster images may | > have a ideal resoltuion. However a PFD could easily have multiple | > rasters each with different ideal resolution. | > | > So how any program can pick an ideal resolution is beyond me! | | I think that you may not need to think about very complex cases. The | simplest case is that each pdf page only have one image (as it is | originally from a tif file). The best resolution for any page is just | the resolution of the original image. Is this very difficult to be | added in convert? | Actually convert (AKA ImageMagick) does not deal with PDF files. IT passes it to ghostscript. However the original problem of how to determine the 'ideal resolution' remains. Anthony Thyssen ( System Programmer ) <[email protected]> -------------------------------------------------------------------------- "You must realize that the computer has it in for you. The irrefutable proof of this is that the computer always does what you tell it to do." -------------------------------------------------------------------------- Anthony's Castle http://www.ict.griffith.edu.au/anthony/ _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users