mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Clip a frame's bounds to the image bounds
This commit is contained in:
1 parent
ad80d8e7fc
commit
11c8917a4c
5 files changed
+150
-28
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 132 B |
@@ -6,6 +6,7 @@
|
||||
# - frame #0 has bounds (1, 0) - (4, 1).
|
||||
# - frame #1 has bounds (0, 1) - (2, 3).
|
||||
# - frame #2 has bounds (0, 4) - (1, 5).
|
||||
# - frame #3 has bounds (2, 0) - (6, 3).
|
||||
#
|
||||
# Here are some (but not all) possible decoding policies:
|
||||
#
|
||||
@@ -88,4 +89,9 @@ frame {
|
||||
}
|
||||
lzw 4 0x0E
|
||||
|
||||
frame {
|
||||
frameLeftTopWidthHeight 2 0 4 3
|
||||
}
|
||||
lzw 4 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F
|
||||
|
||||
trailer
|
||||
Reference in new issue
Block a user