Closed (won't fix)
Project:
Printer, email and PDF versions
Version:
6.x-1.8
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2009 at 19:51 UTC
Updated:
10 Oct 2009 at 20:18 UTC
Comments
Comment #1
charlie-s commentedIt looks like TCPDF acts buggy if you have a source image with a DPI other than 72.
This was my suspicion and confirmed after testing. For example if you're in Windows and take a screenshot and paste directly from print-screen into Paint, you'll most likely get a 96 DPI image. (if you're interested in screen resolutions / dpi's then google it, I won't waste anyone's time here)
If you take a screenshot through some other means (such as Snipping Tool, shift-cmd-4 on OSX, or pasting somehow into Photoshop, you will probably get a 72 dpi image.
I guess this is a bug in TCPDF because the proportion of 72:96 and images going from 400 pixels across to 2000 pixels across is not a steady ratio.
Comment #2
jcnventuraIt seems this is a TCPDF bug. Please report it to the TCPDF issue queue.
Comment #3
transmitter commentedIsn't there another way to tell tcpdf which version from imagecache to use?
I used the print.css for the print view, but it doesn't work for PDF.