Searched refs:new_icc_context (Results 1 – 2 of 2) sorted by relevance
28 Self::new_icc_context(GlobalContext::new(), data) in new_icc()428 pub fn new_icc_context(context: impl AsRef<Ctx>, data: &[u8]) -> LCMSResult<Self> { in new_icc_context() method438 Self::new_icc_context(context, &buf).map_err(|_| io::ErrorKind::Other.into()) in new_file_context()
242 assert!(Profile::new_icc_context(&c, &[]).is_err()); in context()