← Back to team overview

simple-scan-team team mailing list archive

[Bug 484616] Re: Density information not present in bitmap formats

 

Simple Scan uses gdk-pixbuf library, which currently doesn't provide API for storing density info. 
But libpng, libjpeg and libtiff, on top of which gdk-pixbuf is built, provide such API. 
For example, there's png_set_pHYs(resolution_x, resolution_y) in libpng,  
X_density and Y_density in jpeg_compress_struct, 
XResolution and YResolution tags in libtiff are supported. 

The question is: should it be considered gdk-pixbuf bug?
Or maybe it's better to use (or write from scratch) Vala API bindings for libpng, libjpeg and libtiff?

-- 
You received this bug notification because you are a member of Simple
Scan Development Team, which is the registrant for Simple Scan.
https://bugs.launchpad.net/bugs/484616

Title:
  Density information not present in bitmap formats

Status in Simple Scan:
  Triaged

Bug description:
  The pixel density information is not stored in JPEG and PNG formats.

  For JPEG:
  http://en.wikipedia.org/wiki/JPEG_File_Interchange_Format

  For PNG:
  http://www.libpng.org/pub/png/spec/iso/index-object.html#11pHYs

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/484616/+subscriptions