1 //======================================================================== 2 // 3 // sanitychecks.h 4 // 5 // This file is licensed under the GPLv2 or later 6 // 7 // Copyright (C) 2020 Philipp Knechtges <philipp-dev@knechtges.com> 8 // 9 // To see a description of the changes please see the Changelog file that 10 // came with your tarball or type make ChangeLog if you are building from git 11 // 12 //======================================================================== 13 14 #ifndef SANITYCHECKS_H 15 #define SANITYCHECKS_H 16 17 #include "config.h" 18 19 #ifdef USE_CMS 20 # include <lcms2.h> 21 # include "GfxState.h" 22 23 /* 24 * Check the supplied ICC profile for different criteria 25 */ 26 bool checkICCProfile(const GfxLCMSProfilePtr &profile, const char *filename, cmsUInt32Number UsedDirection, cmsColorSpaceSignature expectedColorSpace); 27 28 #endif 29 30 #endif 31