support format conversion, scale and crop
update