invalid format string

JPG or PNG files are not imported

what do you mean? the import function is for spritesheats only, a png or jpeg can just be opened