diff --git a/src/profile.rs b/src/profile.rs index 10391f38afb8895b1886da83a15bc08052fb9b6e..f249da6658c41ad48b71455aae1d6a0439790b19 100644 --- a/src/profile.rs +++ b/src/profile.rs @@ -381,6 +381,20 @@ impl<Ctx: Context> Profile<Ctx> { } } + #[inline] + pub fn remove_tag(&mut self, sig: TagSignature) -> bool { + unsafe { + ffi::cmsWriteTag(self.handle, sig, std::ptr::null()) != 0 + } + } + + #[inline] + pub fn link_tag(&mut self, sig: TagSignature, dst: TagSignature) -> bool { + unsafe { + ffi::cmsLinkTag(self.handle, sig, dst) != 0 + } + } + /// Retrieves the Profile ID stored in the profile header. #[inline] pub fn profile_id(&self) -> ffi::ProfileID {