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
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: FormatError(StripTileTagConflict)', src/main.rs:45:37
That's the last line trying to decode the tiff file. The Tiff file cannot be opened by other programs either.
What am I doing wrong in creation of the file? As you can see I tried RowsPerStrip to disambiguate the layout but it still gives the same error if you uncomment that line.
The text was updated successfully, but these errors were encountered:
Short answer is that write_image internally calls directory.finish() so you shouldn't call it yourself. The dimensions also get set in write_image though I think it is harmless to set them a second time. But really we should do an overhaul of the encoding API so that stuff like that is more obvious...
This is more of a request for support. Trying to use this library to create a tiff file and read it:
Error:
That's the last line trying to decode the tiff file. The Tiff file cannot be opened by other programs either.
What am I doing wrong in creation of the file? As you can see I tried RowsPerStrip to disambiguate the layout but it still gives the same error if you uncomment that line.
The text was updated successfully, but these errors were encountered: