예제 #1
0
	def terminate(self):
		cmsDeleteTransform(self.cmyk_rgb)
		cmsDeleteTransform(self.rgb_cmyk)
		cmsDeleteTransform(self.rgb_monitor)
		cmsDeleteTransform(self.cmyk_monitor)
		cmsCloseProfile(self.hCMYK)
		cmsCloseProfile(self.hRGB)	
		cmsCloseProfile(self.hMONITOR)	
		
		
		
		
		
		
		
		
		
		
		
		
예제 #2
0
 def __del__(self):
     lcms.cmsDeleteTransform(self.RGB2CMYK_transform)
     lcms.cmsCloseProfile(self.CMYK_profile)
     lcms.cmsCloseProfile(self.RGB_profile)