Replace default image type to IMG_CODEC_UNKNOWN_TYPE