https://issues.apache.org/ooo/show_bug.cgi?id=123370
--- Comment #4 from Armin Le Grand <[email protected]> --- ALG: For PNG: a vcl::PNGReader is used, the stream contains a PNGCHUNK_pHYs which says the pic has 2835 pixels per meter, this is calculated to the internal 1/100th mm giving 14109x10582 units. For JPG: JPEGReader is used, there is no info in the file for physical size, so the pixel size of 400x300 is taken and converted to 1/100th mm using OutputDevice::PixelToLogic which internally uses 96 DPI for X and Y, thus resulting in 10583x7938 units. Both are correct in their handling of input data. Checked with PPt, the PNG gets 14,11x10,58 and the JPG also. Either it reads more info from the JPG or it uses another DPI. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. You are watching all bug changes.
