1. Why do the tips of the sails look different?
Find the top of the orange sail in the illustration. On the left it ends in a short, straight horizontal edge. On the right, the same spot fades into the sky through a patch of pale orange. Both boats began as the same drawing, eight squares across and eight down. Nobody redrew the boat or lost focus with a camera. The difference lies in one choice: how to spread the colors recorded in those eight columns over a much wider area.
Now follow the long, dark blue line below the boat. Its middle looks much the same on both sides, but the two ends and the upper and lower edges look quite different. Where a single color stretches over a broad area, most nearby samples will give the same result. The differences cluster where colors meet. Pick a few specific spots to compare, such as the tip of the sail, a corner of the hull or the line at the bottom. This helps pinpoint what makes the whole picture seem blurry.
2. Spreading eight squares over forty-eight
Imagine coloring a row of eight squares on graph paper, one color per square. To copy that row into forty-eight squares, write the first color six times, then the next color six times, and so on. Repeat vertically and each original square becomes a block six squares wide by six high. The image is six times as wide and six times as tall, and contains thirty-six times as many squares. The colors that make up the boat and the order in which they appear stay the same.
Nearest-neighbor sampling, used on the left, describes this kind of copying in terms of position. Map a pixel in the output back to a position in the original, then take the color of the single closest source pixel. When both axes are enlarged by the same integer factor, as they are here, equally sized blocks of color meet along straight edges. Look closely at the sloping sail and its corners form steps. You can trace where a row in the original was one square shorter than the one below.
3. What color belongs at the boundary?
The boat on the right was enlarged with bilinear interpolation. Imagine the centers of four source pixels at the corners of a rectangle. For a new position inside, blend the upper two colors according to the horizontal position, then do the same with the lower two. Blend those two results according to the vertical position. As you move toward the upper left, its color contributes more. This calculation produces the pale band alongside the orange sail.
Try a single row with two gray levels. Give a black point a channel value of 0 and a light gray point a value of 200. Interpolate linearly between the stored numbers. Exactly halfway between the centers the result is 100. A quarter of the distance from the black point toward the light one gives 50. For the boat, the calculation is applied to the red, green and blue channels. The new numbers come from neighboring colors. They cannot tell us whether the tiny original showed an orange seam or a thinner mast.
4. Why is doubling easy but scaling by two and a half tricky?
Doubling eight squares gives sixteen, so each square gets exactly two spaces. Scaling by two and a half gives twenty spaces. If each space must take just one source color, there is no way to assign two and a half spaces to each original square. Some will occupy two spaces, others three. Two equally thick vertical lines in the original can end up one pixel apart in width depending on which columns they fall in. A crisp edge and a uniform line width are separate things to check.
The CSS image-rendering property addresses this problem when displaying pixel art on a web page. In the W3C CSS Images specification, pixelated first uses nearest-neighbor sampling to reach the nearest positive integer scale on each axis, then scales smoothly over the remaining distance. If you expect every edge to break sharply as it does at integer scales, intermediate sizes can be surprising. Nor does the default setting, auto, identify the browser’s algorithm as the one used for the right-hand boat.
5. Comparing a saved picture with its appearance on screen
If an icon looks blurrier online than it did in your editor, check the pixel dimensions of the original file. Then leave that file alone and change only the width at which the page displays it. A change in appearance shows that pixels are also arranged to fit the screen after the file has been saved. If you enlarged the image with interpolation in the editor and saved a new file, the new dimensions and intermediate colors are already in that file. Those colors travel with it when you move it elsewhere.
To try this, make two copies of a small picture and keep the original. Pick the same output size for both, enlarge one with nearest-neighbor sampling and the other with bilinear interpolation, then save them. Open both at the same zoom. With a color sampler, check the inside of the sail and the sky first, then sample several points across their boundary. In the nearest-neighbor result, colors from the source repeat. In the bilinear result, other values appear between the two areas. Since a viewer may scale the preview down, use a tool that reads the actual stored pixel values.
6. Which edges do you want to keep?
In a pattern where one square stands for a bead or a stitch, the original palette and the boundaries of the squares carry information. Blending the colors to soften the sail’s steps leaves the maker wondering whether to count the lighter shade as another material. Nearest-neighbor enlargement at an integer scale makes it easy to recover the color of each original square. In a photograph where a bright sky has a gentle gradient, a smooth color transition may look more natural. Bilinear interpolation is one option to try there.
Before picking a winner, write down in one sentence what you want a reader to see. Here, the left panel shows where the outline of the sail steps inward one square at a time; the right shows where the calculated intermediate colors gather. Check whether the same features are visible at the size people will actually use. It is a way to tell the difference between saving a larger file and making the detail that matters easier to read.