class Imagecr::Image

Overview

A model representing an image with a width, height and type.

Defined in:

imagecr/image.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Int32, height : Int32, type : String) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def height : Int32 #

The pixel height of the image.


[View source]
def type : String #

The type of the image.


[View source]
def width : Int32 #

The pixel width of the image.


[View source]