suppressed memory leaks - added image conversion support if the codec does not suppor...