add multiple image format support