Sha256: 5b383e0677d1965e36fa2a54b4a639bb45d747ed8f3995bc1494a588b461a658
Contents?: true
Size: 875 Bytes
Versions: 2
Compression:
Stored size: 875 Bytes
Contents
module ICO class IconImage < BitStruct HEADER_SIZE_IN_BYTES = 40 default_options :endian => :little # BITMAPINFOHEADER unsigned :header_size, 32, nil, :default => HEADER_SIZE_IN_BYTES unsigned :width, 32 unsigned :height, 32 unsigned :planes, 16, nil, :default => 1 unsigned :bit_count, 16, nil, :default => 32 unsigned :compression, 32, nil, :default => 0 unsigned :size_image, 32 unsigned :x_pixels_per_meter, 32, nil, :default => 5669 unsigned :y_pixels_per_meter, 32, nil, :default => 5669 unsigned :colors_used, 32, nil, :default => 0 unsigned :colors_important, 32, nil, :default => 0 # IMAGEDATA rest :data, '32bit RGBQUAD written: BGRA' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ico-0.1.1 | lib/ico/icon_image.rb |
ico-0.1.0 | lib/ico/icon_image.rb |