struct Protocol::SystemInfo::ImageDecodeAcceleratorCapability

Overview

Describes a supported image decoding profile with its associated minimum and maximum resolutions and subsampling.

Included Modules

Defined in:

protocol/system_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def image_type : ImageType #

Image coded, e.g. Jpeg.


[View source]
def max_dimensions : Size #

Maximum supported dimensions of the image in pixels.


[View source]
def min_dimensions : Size #

Minimum supported dimensions of the image in pixels.


[View source]
def subsamplings : Array(SubsamplingFormat) #

Optional array of supported subsampling formats, e.g. 4:2:0, if known.


[View source]