Comment 3 for bug 484616

Victor Mireyev (victor-mireyev) wrote :

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?