Hello,
I am working on a geographical map image that will ultimately be interpreted by a computer program. Thus, it is crucial that the final resized image has exactly the same colors as the original. I cannot have any blended/antialiased pixels anywhere on the resized image.
I read up on a similar thread from many years ago, and it pointed to TR's color reducer plugin: https://forums.getpaint.net/topic/29424-trs-color-reducer-and-palette-maker-2014-08-01/ However, I couldn't figure out how to use this plugin to accomplish what I need.
The only resizing algorithm that seems to avoid blending pixels is the Nearest Neighbor, but if I resize the image 200% for example, each 1 pixel on the original image turns into a 2x2 homogenous square on the resized image. Although it retains the exact colors of the original, I need the quality to be comparable to the Best Quality or Bicubic algorithms.
Here is a sample of part of my map image.
Original:
Resized using Bicubic:
The issue here is that the algorithm blends pixels at the borders of different colors, so this image has a much larger palette than my original. I can't have this, since the computer can only process the colors in the original.
Resized with Nearest Neighbor:
This preserved the color palette of the original, but it turned each pixel from the original into a 2x2 square of homogenous pixels. This greatly reduces the sharpness and quality of the resized image.
In summary, I need to be able to resize the image with the quality of the Bicubic algorithm, but avoid blending pixels like the nearest neighbor algorithm.
I can't do anything manually, since my map is over 40000x20000 pixels, and it would take years to go over every blended edge with a tool.
If someone knows how to do this using a plugin without any kind of manual input, that would be great.
Thank you for your help!