Advertisement


How to resize an image made up of 2x2 pixel blocks down to corresponding single pixels?


Question

I have an image made up of "pixel blocks" of size 2x2 (so that each block is made up of four pixels of the same color). How can I scale the image by a factor of 2 in each direction so as to reduce each 2x2 block to a single pixel (1x1), without any type of smoothing? My preferred graphics tool is GIMP, but I obviously accept answers based on any tool! /Andreas

2012/03/01
1
1
3/1/2012 4:07:00 PM

Accepted Answer

Even if your original image dimensions are odd, you can avoid blurring when scaling down by selecting "None" as the interpolation method in the Scale Image dialog:

  1. Select Scale Image... from the Image menu.
  2. Select "percent" as the unit in the Image Size section.
  3. Enter "50" as the width and press enter. GIMP will set both the width and the height to 50%, and round them up to the nearest pixel.
  4. Select the interpolation method "None" in the Quality section.

    Screenshot

  5. Click the Scale button.

2012/03/01
3
3/1/2012 10:33:00 PM