Hi @epnev , minor suggestion, the tiff reading function you use here seems to assume that 16-bit depth data is unsigned. Am I reading this correctly? I think many people will actually have signed 16-bit data (e.g. scanimage version 4 and later, at the very least, I recall it was because of the nature of the digitizer which is only 12 or 14-bits?). It's not likely to screw anything up, but it might be wise to change, or at least allow the option to specify if you have signed data. In my case, I've found the new matlab tiff class to work fine.