Class: Bmp

Inherits:
Object
  • Object
show all
Defined in:
lib/bmp.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Bmp

Returns a new instance of Bmp.



6
7
8
# File 'lib/bmp.rb', line 6

def initialize(path)

end

Instance Method Details

#decompress_RLE4Object



34
35
36
# File 'lib/bmp.rb', line 34

def decompress_RLE4

end

#decompress_RLE8Object



39
40
41
# File 'lib/bmp.rb', line 39

def decompress_RLE8

end

#describeObject



22
23
24
# File 'lib/bmp.rb', line 22

def describe

end

#populate_colors(array) ⇒ Object



49
50
51
# File 'lib/bmp.rb', line 49

def populate_colors(array)
  #creates palette, useful while writing image
end

#read_from_paletteObject



30
31
32
# File 'lib/bmp.rb', line 30

def read_from_palette

end

#read_from_pixel_arrayObject



43
44
45
# File 'lib/bmp.rb', line 43

def read_from_pixel_array

end

#read_masksObject



18
19
20
# File 'lib/bmp.rb', line 18

def read_masks

end

#read_to_arrayObject



26
27
28
# File 'lib/bmp.rb', line 26

def read_to_array

end

#read_to_paletteObject



14
15
16
# File 'lib/bmp.rb', line 14

def read_to_palette

end

#readbmp(path) ⇒ Object

returns an image object



10
11
12
# File 'lib/bmp.rb', line 10

def readbmp(path) #returns an image object

end

#write_to_bmp(name, array, bpp, compression_type) ⇒ Object



53
54
55
56
# File 'lib/bmp.rb', line 53

def write_to_bmp(name, array, bpp, compression_type)


end