Commit d0429b5
authored
fix(tiff): care with missing rowsperstrip (#5160)
According to the TIFF spec, TIFF files with a missing rowsperstrip
should assume the whole image is one strip.
Somewhat related (found in debugging): add a DASSERT to help debug if
fmath.h's round_to_multiple() is given an invalid denominator.
---------
Signed-off-by: Larry Gritz <lg@larrygritz.com>1 parent 19c4563 commit d0429b5
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
1312 | | - | |
| 1312 | + | |
| 1313 | + | |
1313 | 1314 | | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
1314 | 1320 | | |
1315 | 1321 | | |
1316 | 1322 | | |
| |||
0 commit comments