Wx::Object
Create a new image from Wx::Bitmap, preserving mask information
# File wx/classes/image.rb, line 10 def self.from_bitmap(bmp) bmp.convert_to_image end
Load a new image from an IO-like object that supports “read“
# File wx/classes/image.rb, line 3 def self.read(an_io, type_or_mime, index = -1) img = new img.load_stream(an_io, type_or_mime, index) img end
Convert to bitmap
# File wx/classes/image.rb, line 28 def convert_to_bitmap Wx::Bitmap.from_image(self) end
Disabled; run with $DEBUG to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.