jbv wrote: <after resizing an image, it seems necessary to update its <imagedata before cropping it That is a combination I did not try (first resize then crop) but it nicely shows the problem. Glad you solved it by setting the imageData to the imageData. Kind regards Bernd