You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, thanks for this excellent software! i am using multiresolutionimageinterface to write a tiled tiff image (for the TIGER challenge). i am attempting to write some tiles, but when i apply writer.finishImage(), i get an error that no valid tiles are written. after some debugging, turns out that the writer's tile size needs to be a multiple of 16. i'm wondering if this is indeed the case?
the libtiff docs write that the tile size needs to be a multiple of 8. but using the writer, i could only get multiples of 16 to work (eg tile size of 24 does not work). (excerpt of manpages below)
TIFFTAG_TILELENGTH 1 uint32 must be a multiple of 8
TIFFTAG_TILEWIDTH 1 uint32 must be a multiple of 8
the part of the code that returns the error is below.
hi, thanks for this excellent software! i am using
multiresolutionimageinterface
to write a tiled tiff image (for the TIGER challenge). i am attempting to write some tiles, but when i applywriter.finishImage()
, i get an error that no valid tiles are written. after some debugging, turns out that the writer's tile size needs to be a multiple of 16. i'm wondering if this is indeed the case?the libtiff docs write that the tile size needs to be a multiple of 8. but using the writer, i could only get multiples of 16 to work (eg tile size of 24 does not work). (excerpt of manpages below)
the part of the code that returns the error is below.
ASAP/multiresolutionimageinterface/MultiResolutionImageWriter.cpp
Lines 319 to 322 in 33f3388
according to that error, the image data is organized in strips instead of tiles (from libtiff manpages).
here is an example to reproduce this issue. i am using ubuntu 20.04 with asap 2.0.0 from the github releases of this project.
The text was updated successfully, but these errors were encountered: