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
186 187 188 |
# File 'lib/libpng.rb', line 186 def format @format end |
#height ⇒ Object
Returns the value of attribute height
186 187 188 |
# File 'lib/libpng.rb', line 186 def height @height end |
#pixels ⇒ Object
Returns the value of attribute pixels
186 187 188 |
# File 'lib/libpng.rb', line 186 def pixels @pixels end |
#width ⇒ Object
Returns the value of attribute width
186 187 188 |
# File 'lib/libpng.rb', line 186 def width @width end |