mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
png: Channel helper metadata.
This commit is contained in:
@@ -319,8 +319,7 @@ return_single_channel :: proc(img: ^Image, channel: Channel) -> (res: ^Image, ok
|
|||||||
res.depth = img.depth
|
res.depth = img.depth
|
||||||
res.pixels = t
|
res.pixels = t
|
||||||
res.background = img.background
|
res.background = img.background
|
||||||
// res.metadata_ptr = img.metadata_ptr
|
res.metadata = img.metadata
|
||||||
// res.metadata_type = img.metadata_type
|
|
||||||
|
|
||||||
return res, true
|
return res, true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user