How can I improve pixel/resolution line using Gimp in this file below?
It is very small and I want to increase it.
Thanks!
3 Answers
We can't magically add more information to an image than there is. The source image is too tiny to allow much further scaling without making the inherent artifacts too obvious:
Source image linearly scaled to 500%
However there is a somewhat better scale filter in the G'Mic plugin (install gimp-gmic ) then G'Mic > Repair > Upscale (diffusion):
G'Mic upscale (diffusion) 500%
But still there are many unwanted artifacts and heavy aliasing which we will be unable to remove.
Much better results for such easy icons can be achieved by tracing the image automatically or even better manually to a vector graphic using Inkscape , which can then be scaled without loss:
500% scale for a) source image b) bitmap automatically traced c) manually traced/reconstructed image
Now you can use neural networks for this kind of task. Look at waifu2x That is exactly what you are looking for. Comparison with GIMP
Open the file in GIMP. In the menu bar at the top, select Image > Scale Image. I suggest you leave the aspect ratio locked. Change the pixel dimension for, for instance, the height to whatever you desire. Save and close GIMP.
Caution: the original image is just 165x180 pixels. Scaling up will show somewhat poor quality as you cannot recover the detail that was lost when the image was previously scaled down. You might experiment with trying to improve the appearance with Filters > Enhance > Unsharp Mask and also Colors > Brightness, Contrast and then Contrast.