I solved the problem: With creating a new Image with Image.copy() and making manipulations on it works. Thanks for your help, Torsten.