class Leptonica::Pix
- Leptonica::Pix
- Reference
- Object
Defined in:
leptonica/pix.crConstructors
- .new(path : String)
- .new(file : File)
- .new(path : Path)
- .new(pix : Pointer(LibLeptonica::Pix))
- .new(slice : Slice(UInt32))
Instance Method Summary
-
#==(other) : Bool
Returns
false
(other can only be aValue
here). - #depth(depth : Int32) : Int32
- #depth : Int32
- #dimentions
- #finalize
- #height(height : Int32) : Int32
- #height : Int32
- #pixel(x : Int32, y : Int32, pixel : Int32) : Int32
- #pixel(x : Int32, y : Int32) : UInt32
- #pixels : Int32
- #scale(xscale : Int, yscale : Int) : self
- #scale(xscale : Float, yscale : Float) : self
- #to_bytes : Bytes
- #to_slice : Slice(UInt32)
- #to_unsafe : Pointer(LibLeptonica::Pix)
- #width(width : Int32) : Int32
- #width : Int32
Constructor Detail
Instance Method Detail
def ==(other) : Bool
#
Description copied from class Reference
Returns false
(other can only be a Value
here).