mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
std: limit supported image dimensions to 0xFF_FFFF
This commit is contained in:
1 parent
d8c23a3a66
commit
e126c998e0
10 files changed
+175
-123
No files matched your search
@@ -270,6 +270,7 @@ var Statuses = [...]string{
|
||||
`"#no more information"`,
|
||||
`"#not enough data"`,
|
||||
`"#out of bounds"`,
|
||||
`"#unsupported image dimension"`,
|
||||
`"#unsupported method"`,
|
||||
`"#unsupported option"`,
|
||||
`"#unsupported pixel swizzler option"`,
|
||||
@@ -612,7 +613,7 @@ var funcsOther = [...]string{
|
||||
|
||||
// ---- image_config
|
||||
|
||||
"image_config.set!(pixfmt: u32, pixsub: u32, width: u32, height: u32," +
|
||||
"image_config.set!(pixfmt: u32, pixsub: u32, width: u32[..= 0xFF_FFFF], height: u32[..= 0xFF_FFFF]," +
|
||||
"first_frame_io_position: u64, first_frame_is_opaque: bool)",
|
||||
|
||||
// ---- pixel_buffer
|
||||
|
||||
Reference in new issue
Block a user