Class: Libpng::DecodedImage
- Inherits:
-
Struct
- Object
- Struct
- Libpng::DecodedImage
- Defined in:
- lib/libpng.rb
Overview
Result struct for Libpng.decode (returned as a plain Hash for simplicity).
Instance Attribute Summary collapse
-
#format ⇒ Object
Returns the value of attribute format.
-
#height ⇒ Object
Returns the value of attribute height.
-
#pixels ⇒ Object
Returns the value of attribute pixels.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Attribute Details
#format ⇒ Object
Returns the value of attribute format
114 115 116 |
# File 'lib/libpng.rb', line 114 def format @format end |
#height ⇒ Object
Returns the value of attribute height
114 115 116 |
# File 'lib/libpng.rb', line 114 def height @height end |
#pixels ⇒ Object
Returns the value of attribute pixels
114 115 116 |
# File 'lib/libpng.rb', line 114 def pixels @pixels end |
#width ⇒ Object
Returns the value of attribute width
114 115 116 |
# File 'lib/libpng.rb', line 114 def width @width end |