With the following HTML:
The resulting image comes out rotated, but with jagged edges. These do not appear in any major browser, but the PDFs from prince seem to suffer from this.
Is there any way to get around this with CSS?
(The image in question is the windows sample image, just moved to the relative directory of the HTML file)
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
@page { size: 8.5in 11in; margin: 0; padding: 0; border: 0; }
img { prince-image-magic: jpeg-quality(94%); }
</style>
<div style="position:absolute; left:20%; top:20%;">
<img src=".\Tulips.jpg" style="width:400px; -webkit-transform:rotate(10deg); transform:rotate(10deg)" />
</div>
The resulting image comes out rotated, but with jagged edges. These do not appear in any major browser, but the PDFs from prince seem to suffer from this.
Is there any way to get around this with CSS?
(The image in question is the windows sample image, just moved to the relative directory of the HTML file)