mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
image/jpeg: better pack APP0 structs
This commit is contained in:
committed by
Jeroen van Rijn
parent
a6f18c3367
commit
8644f3beba
@@ -610,19 +610,19 @@ JFIF_Unit :: enum byte {
|
||||
|
||||
JFIF_APP0 :: struct {
|
||||
version: u16be,
|
||||
units: JFIF_Unit,
|
||||
x_density: u16be,
|
||||
y_density: u16be,
|
||||
x_thumbnail: byte,
|
||||
y_thumbnail: byte,
|
||||
thumbnail: []RGB_Pixel `fmt:"-"`,
|
||||
units: JFIF_Unit,
|
||||
x_thumbnail: u8,
|
||||
y_thumbnail: u8,
|
||||
greyscale_thumbnail: bool,
|
||||
thumbnail: []RGB_Pixel `fmt:"-"`,
|
||||
}
|
||||
|
||||
JFXX_APP0 :: struct {
|
||||
extension_code: JFXX_Extension_Code,
|
||||
x_thumbnail: int,
|
||||
y_thumbnail: int,
|
||||
x_thumbnail: u8,
|
||||
y_thumbnail: u8,
|
||||
thumbnail: []byte `fmt:"-"`,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user