prince-image-magic: none | snap-to-integer-coords | ignore-icc-profile | jpeg-verbatim | convert-to-jpeg( percent ) | recompress-jpeg( percent )
Initial value |
none
|
---|---|
Applies to | image elements |
Inherited | yes |
This property performs various image-related, Prince-specific tasks that do not fit into other existing CSS properties. It applies magic to images!
The snap-to-integer-coords
value can be used to avoid blurring of
images in some PDF viewers.
When recompress-jpeg
is specified for this property, Prince will
recompress JPEG images to save space when embedding them in the PDF
output.
The ignore-icc-profile
value causes Prince to ignore any ICC color
profile embedded in the image.
The jpeg-verbatim
value inhibits the normal stripping that Prince
performs, where unnecessary metadata is removed from JPEG images when they are
embedded in the PDF file.
The convert-to-jpeg(quality%)
value converts non-JPEG images to JPEG,
so that they take less space (but may look blurry).