add PVRTC support
This commit is contained in:
1 parent
b92b00fc4a
commit
e683b3c91a
4 files changed
+325
-140
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user