convert_png_to_argb8: Set color type & bit depth

This commit is contained in:
Lars Mueller 2021-10-25 17:46:58 +02:00
parent 8801a3d159
commit 44896f1d51

@ -375,6 +375,8 @@ end
png.data[index] = a * 0x1000000 + r * 0x10000 + g * 0x100 + b png.data[index] = a * 0x1000000 + r * 0x10000 + g * 0x100 + b
end end
end end
png.color_type = colortypes[6]
png.bit_depth = 8
png.alpha_data = nil png.alpha_data = nil
end end