Wrong image format, can't resize