[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-dev] ImageMagick import DPI
- From: Alex Bligh <alex@xxxxxxxxxxx>
- Date: Thu, 27 Jul 2006 13:43:28 +0100
- Subject: [XaraXtreme-dev] ImageMagick import DPI
I have checked in a version of the ImageMagick code
which supports SetImportDPI(). It is harmless on
filters that don't use it. You should thus be
able to use this to fix previews of PDFs etc.
If we were being really smart, we could call
CanDoImportDPI() on import, and pop up a box.
This would enable PDF's to be read at any
resolution (I default to screen resolution
right now). I don't know how bitmap import
options are meant to work though.
Note the CanDoTransparent(), CanDoInterlace()
and CanDoAlpha() calls which determine whether
the mask, interlace, and alpha work on each
format. I am not convinced I have all these
right in the definitions of each filter, but
these are easy to change in the header