[devel] final version with tiff generation