mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-12 07:44:03 +09:00
FBIPF writing impl
This commit is contained in:
@@ -411,7 +411,7 @@ TYPE 255 FRAME -
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
TSVM Interchangeable Picture Format (aka iPF Type 1)
|
||||
TSVM Interchangeable Picture Format (aka iPF Type 1/2)
|
||||
|
||||
Image is divided into 4x4 blocks and each block is serialised, then the entire file is gzipped
|
||||
|
||||
@@ -419,12 +419,15 @@ Image is divided into 4x4 blocks and each block is serialised, then the entire f
|
||||
# File Structure
|
||||
\x1F T S V M i P F
|
||||
[HEADER]
|
||||
[Blocks.gz]
|
||||
[Blocks.gz] or [Blocks] // gzipping is optional and only done for videos
|
||||
|
||||
- Header
|
||||
uint16 WIDTH
|
||||
uint16 HEIGHT
|
||||
uint16 HAS ALPHA
|
||||
uint8 HAS ALPHA
|
||||
uint8 IPF Type
|
||||
0: Type 1
|
||||
1: Type 2
|
||||
byte[10] RESERVED
|
||||
|
||||
- *.gz
|
||||
|
||||
Reference in New Issue
Block a user