Python photo editor