pub struct Image<'a> { /* private fields */ }
Implementations§
Source§impl Image<'_>
impl Image<'_>
Sourcepub fn pixel_transform(&self) -> Result<&str>
pub fn pixel_transform(&self) -> Result<&str>
Returns the pixel transform used for this Image
Sourcepub fn quality_preset(&self) -> Result<&str>
pub fn quality_preset(&self) -> Result<&str>
Returns the quality preset used for this Image
Sourcepub fn compressor(&self) -> Result<&str>
pub fn compressor(&self) -> Result<&str>
Returns the compressor used for this Image
Sourcepub fn colorspace_transform(&self) -> Result<&str>
pub fn colorspace_transform(&self) -> Result<&str>
Returns the colorspace transform used for this Image
Sourcepub fn num_tiles(&self) -> Result<usize>
pub fn num_tiles(&self) -> Result<usize>
Returns the number of tiles in this Image Only applicable to the WSI SubImage, Returns an error for the Macro and Label/ILE SubImage
Sourcepub fn icc_profile(&self) -> Result<&str>
pub fn icc_profile(&self) -> Result<&str>
Returns the ICC Profile of this Image
Sourcepub fn icc_matrix(&self) -> Result<[f64; 9]>
pub fn icc_matrix(&self) -> Result<[f64; 9]>
ICC (International Color Consortium) matrix (3x3) re-
Sourcepub fn image_data(&self) -> Result<&[u8]>
pub fn image_data(&self) -> Result<&[u8]>
Returns image data encoder as JPEG Only applicable to Macro and Label/ILE SubImage
Sourcepub fn get_image(&self) -> Result<DynamicImage>
pub fn get_image(&self) -> Result<DynamicImage>
Returns image data as a DynamicImage NOTE: Only applicable to Macro and Label/ILE SubImage
Sourcepub fn lossy_image_compression(&self) -> Result<&str>
pub fn lossy_image_compression(&self) -> Result<&str>
Indicates whether the image is compressed with or without loss.
Sourcepub fn lossy_image_compression_ratio(&self) -> Result<f64>
pub fn lossy_image_compression_ratio(&self) -> Result<f64>
Returns the compression ratio of the SubImage
pub fn color_linearity(&self) -> Result<&str>
Sourcepub fn view(&self) -> Result<View<'_>>
pub fn view(&self) -> Result<View<'_>>
Create a new instance of View A View is a reference to a Philips Engine internal object You can create multiple View handler for an Image WARNING: multiple View handler created from the same Image will points to the same reference in Philips Engine internal.