# File lib/native_file_types/ti99/TiRLE.rb, line 16 def picture_width case contents[2] when 0x48 then return 256 #H=High Resolution when 0x4D then return 128 #M=Medium Resolution end raise "invalid RLE graphic mode #{buffer[2].chr}" end