Finalize image