In other experiments for stuff I am not ready to publish, I resize and rotate images on the touch using the touchscreen, by keeping a full grayscale image and a hidden dithered image. I start by displaying the high-quality grayscale image, but when two fingers touch the screen I switch to hiding the grayscale image and showing the dithered image. That way I can resize and rotate the image as fast as the display drivers will allow without flashing updates. And after releasing the touchscreen, I display a resized and rotated grayscale image again.
Although fine details in the dithered image are very "fuzzy" compared to grayscale images, they are much better while moving than are grayscale images, so I use whichever version is best for the "mode" my graphics programs are in at any given time.
|