class Leptonica::Pix

Defined in:

leptonica/pix.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String) #

[View source]
def self.new(file : File) #

[View source]
def self.new(path : Path) #

[View source]
def self.new(pix : Pointer(LibLeptonica::Pix)) #

[View source]
def self.new(slice : Slice(UInt32)) #

[View source]

Instance Method Detail

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

Returns false (other can only be a Value here).


[View source]
def depth(depth : Int32) : Int32 #

[View source]
def depth : Int32 #

[View source]
def dimentions #

[View source]
def finalize #

[View source]
def height(height : Int32) : Int32 #

[View source]
def height : Int32 #

[View source]
def pixel(x : Int32, y : Int32, pixel : Int32) : Int32 #

[View source]
def pixel(x : Int32, y : Int32) : UInt32 #

[View source]
def pixels : Int32 #

[View source]
def scale(xscale : Int, yscale : Int) : self #

[View source]
def scale(xscale : Float, yscale : Float) : self #

[View source]
def to_bytes : Bytes #

[View source]
def to_slice : Slice(UInt32) #

[View source]
def to_unsafe : Pointer(LibLeptonica::Pix) #

[View source]
def width(width : Int32) : Int32 #

[View source]
def width : Int32 #

[View source]