That’s how I would do it (and as far as I most GUI based image editors would too). Limiting your samples (pixels) to the number contained in the image may help.
Great, was important for me to know that this is the way.
I guess I was using too big images, reducing their size improved speed without any visible loss of information.