pub struct MoxCms;Expand description
Pure-Rust moxcms ICC CMS backend.
Note: moxcms 0.9 does not implement ICC.1 §D.3 media-white / chad un-adaptation for
RenderingIntent::AbsoluteColorimetric; rather than silently substituting
RelativeColorimetric, MoxCms refuses AbsoluteColorimetric with
ConvertError::UnsupportedRoute. Use Lcms (with feature cms-lcms) for AbsoluteColorimetric.
Implementations§
Source§impl MoxCms
impl MoxCms
Sourcepub fn binding() -> CmsBinding
pub fn binding() -> CmsBinding
Canonical named, conservatively quoted CmsBinding for moxcms
("org.imazen.cms.moxcms").
Heap build/transform size and peak stack depend on profile structure and are left
unknown (None / small_stack_qualified = false) until qualified per route.
Trait Implementations§
Source§impl CmsBackend for MoxCms
impl CmsBackend for MoxCms
Source§fn supports_formats(&self, src: &PixelFormat, dst: &PixelFormat) -> bool
fn supports_formats(&self, src: &PixelFormat, dst: &PixelFormat) -> bool
Fast, allocation-free check whether this backend supports the
(src, dst)
layouts, sample types, and color families (used by Negotiate
to avoid selecting unbuildable candidates).Source§fn build_transform(
&self,
src: &PixelFormat,
dst: &PixelFormat,
pulse: Option<&dyn Pulse>,
) -> Result<Arc<dyn CmsTransform>, At<ConvertError>>
fn build_transform( &self, src: &PixelFormat, dst: &PixelFormat, pulse: Option<&dyn Pulse>, ) -> Result<Arc<dyn CmsTransform>, At<ConvertError>>
Build a row transform from
src to dst, observing optional cooperative
cancellation and progress via pulse. Read moreimpl Copy for MoxCms
Auto Trait Implementations§
impl Freeze for MoxCms
impl RefUnwindSafe for MoxCms
impl Send for MoxCms
impl Sync for MoxCms
impl Unpin for MoxCms
impl UnsafeUnpin for MoxCms
impl UnwindSafe for MoxCms
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more