class Pluto::Image

Included Modules

Defined in:

pluto/image.cr

Constructors

Instance Method Summary

Instance methods inherited from module Pluto::Operation::VerticalBlur

vertical_blur(value : Int32) : Image vertical_blur, vertical_blur!(value : Int32) : Image vertical_blur!

Instance methods inherited from module Pluto::Operation::HorizontalBlur

horizontal_blur(value : Int32) : Image horizontal_blur, horizontal_blur!(value : Int32) : Image horizontal_blur!

Instance methods inherited from module Pluto::Operation::GaussianBlur

gaussian_blur(value : Int32) : Image gaussian_blur, gaussian_blur!(value : Int32) : Image gaussian_blur!

Instance methods inherited from module Pluto::Operation::Contrast

contrast(value : Float64) : Image contrast, contrast!(value : Float64) : Image contrast!

Instance methods inherited from module Pluto::Operation::ChannelSwap

channel_swap(a : Channel, b : Channel) : Image channel_swap, channel_swap!(a : Channel, b : Channel) : Image channel_swap!

Instance methods inherited from module Pluto::Operation::Brightness

brightness(value : Float64) : Image brightness, brightness!(value : Float64) : Image brightness!

Instance methods inherited from module Pluto::Operation::BoxBlur

box_blur(value : Int32) : Image box_blur, box_blur!(value : Int32) : Image box_blur!

Instance methods inherited from module Pluto::Operation::BilinearResize

bilinear_resize(width : Int32, height : Int32) : Image bilinear_resize, bilinear_resize!(width : Int32, height : Int32) : Image bilinear_resize!

Instance methods inherited from module Pluto::Format::PPM

to_ppm : String to_ppm

Instance methods inherited from module Pluto::Format::JPEG

to_jpeg(quality : Int32 = 100) : String to_jpeg

Constructor Detail

def self.from_jpeg(image_data : String) : Image #

[View source]
def self.from_ppm(image_data : String) : Image #

[View source]
def self.new(red : Array(UInt8), green : Array(UInt8), blue : Array(UInt8), alpha : Array(UInt8), width : Int32, height : Int32) #

[View source]

Instance Method Detail

def alpha : Array(UInt8) #

[View source]
def alpha=(alpha : Array(UInt8)) #

[View source]
def blue : Array(UInt8) #

[View source]
def blue=(blue : Array(UInt8)) #

[View source]
def clone : Image #

[View source]
def green : Array(UInt8) #

[View source]
def green=(green : Array(UInt8)) #

[View source]
def height : Int32 #

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

[View source]
def red : Array(UInt8) #

[View source]
def red=(red : Array(UInt8)) #

[View source]
def size : Int32 #

[View source]
def width : Int32 #

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

[View source]