Include scan DPI in JPEG header

Bug #1036855 reported by Mark L on 2012-08-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Simple Scan
New
Undecided
Unassigned

Bug Description

A minor request: It would be helpful if Simple Scan would set the resolution (DPI) in a saved JPEG file according to the resolution at which the scan was done. I use a web application that checks this field and croaks if it doesn't see the right value (dumb, I know, but I can't help it).

FWIW, based on the JFIF header spec [http://en.wikipedia.org/wiki/JPEG_File_Interchange_Format#JFIF_segment_format], it looks like it is currently saving JPEGs with the "density units" set to 0 ("0 - No units, aspect ratio only specified") and the densities both set to 1. Setting "density units" to 1 (for ppi/dpi) and the densities to match the scan DPI would do it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers