https://bugs.documentfoundation.org/show_bug.cgi?id=96178

--- Comment #13 from Armin Le Grand <[email protected]> ---
The density_unit gets set to 1 in examine_app0 in the jpeg importer which makes
the unit look like inches. Since the image size is in pixels (nA=453 nB=339),
the correct translation is {nA=1150620 nB=861060} 100th mm which is way to big.
The unit gets set to 1 since the pic has a /* Found JFIF APP0 marker: save info
*/ which is used. There indeed a '1' is set ang gets used in
'cinfo->density_unit = GETJOCTET(data[7])'. I guess that is an error in that
one file.
Question is how to reliably detect that...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to