Commit 539aba4
authored
int(webp,jpeg-xl): Added check_open for WebP and JPEG XL readers (#5202)
This PR addresses the feature request in issue
#3974
Continuing from previous work done on this feature request, I have added
`check_open` calls to two new format readers, using file format specs
found online:
- WebP:
https://developers.google.com/speed/webp/faq#what_is_the_maximum_size_a_webp_image_can_be
- JPEG XL: https://jpegxl.info/resources/battle-of-codecs.html
I also cross-referenced this info with the corresponding
ImageOutput::check_open calls for sanity, and they seemed to align.
Signed-off-by: Hannah Gulka <hannahkg8@gmail.com>1 parent 1711c39 commit 539aba4
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
363 | 367 | | |
364 | 368 | | |
365 | 369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
236 | 239 | | |
237 | 240 | | |
238 | 241 | | |
| |||
0 commit comments