Density information not present in bitmap formats
Bug #484616 reported by
Robert Ancell
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Simple Scan |
Fix Released
|
Medium
|
Unassigned | ||
3.12 |
Fix Released
|
Medium
|
Unassigned | ||
3.14 |
Fix Released
|
Medium
|
Unassigned | ||
3.4 |
Fix Committed
|
Medium
|
Unassigned | ||
simple-scan (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Low
|
Unassigned | ||
Utopic |
Fix Released
|
Low
|
Unassigned | ||
Vivid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The pixel density information is not stored in JPEG and PNG formats.
For JPEG:
http://
For PNG:
http://
Search Keywords: DPI Metadata
NOTE: This change only works if a sufficiently new GdkPixbuf is available, otherwise it has no effect (e.g. on Trusty).
Related branches
lp:~victor-mireyev/simple-scan/484616
Rejected
for merging
into
lp:~simple-scan-team/simple-scan/trunk
- Robert Ancell: Disapprove
-
Diff: 98 lines (+28/-10)3 files modifiedsrc/book.vala (+21/-6)
src/jpeglib.vapi (+5/-0)
src/page.vala (+2/-4)
Changed in simple-scan: | |
status: | New → Triaged |
importance: | Undecided → Low |
description: | updated |
Changed in simple-scan: | |
assignee: | nobody → Victor Mireyev (victor-mireyev) |
status: | Triaged → In Progress |
Changed in simple-scan: | |
milestone: | 3.15.1 → 3.15.2 |
Changed in simple-scan: | |
status: | Fix Committed → Fix Released |
tags: |
added: verification-done removed: verification-needed |
Changed in simple-scan (Ubuntu Trusty): | |
status: | New → Triaged |
description: | updated |
tags: |
added: verification-done-trusty verification-done-utopic removed: verification-needed |
To post a comment you must log in.
The lack of pixel density information (usually DPI) is something that is quite noticeable in graphics manipulation software such as Inkscape and the GIMP, but also in other software that uses the DPI value to determine the size of the inserted graphic. Most software assumes 75 DPI if no value is set, making the scanned graphic four times wider and higher than the original when scanned at 300 DPI and inserted in a document.
Setting the pixel density value to the one used by the scanner seems like a very, and perhaps only, sensible default.