Image rotating, scaling and changing brightness implemented in static class ImageEditor. Building and displaying the result image and changing scale mode by click implemented in class ImageDraw.