Class: Punk::Image
- Inherits:
-
Object
- Object
- Punk::Image
- Defined in:
- lib/cryptopunks.rb,
lib/cryptopunks/image.rb
Constant Summary collapse
- Composite =
ImageComposite
Class Method Summary collapse
-
.read(path) ⇒ Object
convenience helper.
Class Method Details
.read(path) ⇒ Object
convenience helper
7 8 9 10 |
# File 'lib/cryptopunks/image.rb', line 7 def self.read( path ) ## convenience helper img = ChunkyPNG::Image.from_file( path ) new( img ) end |