Image has already-set profile, so use the inited one
Formatting and PEP-8 codestyle