mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
fxconv: remove alpha field of images
This commit is contained in:
parent
b29c494715
commit
e4289f6c4c
1 changed files with 1 additions and 2 deletions
|
@ -582,12 +582,11 @@ def convert_image_cg(input, params):
|
|||
o = ObjectData()
|
||||
o += u8(format.id)
|
||||
o += u8(3) # DATA_RO, PALETTE_RO
|
||||
o += u16(format.alpha if format.alpha is not None else 0xffff)
|
||||
o += u16(color_count)
|
||||
o += u16(img.width)
|
||||
o += u16(img.height)
|
||||
o += u32(stride)
|
||||
o += ref(data, padding=4)
|
||||
o += u32(color_count)
|
||||
if palette is None:
|
||||
o += u32(0)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue