Added support for image conversionl