mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-10 21:21:51 +09:00
FBIPF writing impl
This commit is contained in:
@@ -230,7 +230,7 @@ let headerBytes = [
|
||||
0x1F, 0x54, 0x53, 0x56, 0x4D, 0x69, 0x50, 0x46, // magic
|
||||
imgw & 255, (imgw >>> 8) & 255, // width
|
||||
imgh & 255, (imgh >>> 8) & 255, // height
|
||||
((hasAlpha) ? 1 : 0), 0x00, // has alpha
|
||||
((hasAlpha) ? 1 : 0), 0x00, // has alpha, iPF type 1
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // reserved
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user