add PVRTC support

This commit is contained in:
Ishotihadus committed 2019-12-13 03:15:35 +09:00
1 parent b92b00fc4a
commit e683b3c91a
4 files changed
+325 -140

No files matched your search

+1 -2
View File
@@ -389,8 +389,7 @@ module Mikunyan
# @param [String] bin binary to decode
# @return [ChunkyPNG::Image] decoded image
def self.decode_pvrtc1_2bpp(width, height, bin)
# ChunkyPNG::Image.from_rgba_stream(width, height, DecodeHelper.decode_pvrtc1_2bpp(bin, width, height))
nil
ChunkyPNG::Image.from_rgba_stream(width, height, DecodeHelper.decode_pvrtc1_2bpp(bin, width, height))
end
# Decode image from ETC1 compressed binary