allow different kinds of images

by convert into png