Бережко Герман, 2538

Fast compressing: we divide the field into the rects(scaleX, scaleY) and build the new picture of the left-up pixels of every rect.
Slow compressing: we divide the field again, but we calculate average value of red, green and blue component in the every rect.
Brightness increase: we multiply by 2 every component of every pixel.

--
I hope my methods are not fully stupid.