Convert image directly