|
Boost Users : |
Subject: [Boost-users] GIL, tiff, image resolution, boost-1.47.0
From: david x callaway (dxc_at_[hidden])
Date: 2011-09-17 06:32:45
boost 1.47.0, os/x 10.6.8, gcc-4.2.1 apple build, 64bit
I can read a tiff, get its raw buffer, fool around with it and write it back out as tiff, no problem, but is it possible to get/write the resolution? I understand that the res doesn't matter to the pixel content, but it *does* matter to some image processing chains. I know tiff tags support it, separately for x and y, and with different units, e.g. dpi, so I know I *could* descend to libtiff and do it there, but for me that would defeat the purpose of using GIL in the first place.
thx
dxc
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net