/* Check whether we have working codec for the specific coding scheme. */
int TIFFIsCODECConfigured(uint16 scheme)
/* Check whether we have working codec for the specific coding scheme. */
int TIFFIsCODECConfigured(uint16 scheme)
{
	const TIFFCodec* codec = TIFFFindCODEC(scheme);
	if(codec == NULL) {
		return 0;
	}
	if(codec->init == NULL) {
		return 0;
	}
	if(codec->init != NotConfigured){
		return 1;
	}
	return 0;
}