Hi Ajay,

This is an extended version of my private message! (Should have 
checked my To: address! It's the first time I've posted here! :-) )

On 22 Jan 09 05:29 Ajay Gautam <ajay...@gmail.com> said:
> I created this using Gimp 2.6 on Mac 10.5:
> http://ajaygautam.com/ots-logo.png
> When I resize this to a smaller image, the text gets all distorted:
> http://ajaygautam.com/ots-logo-small.png
> I have been looking around on google, but couldn't find much.
> Tried scaling with all the different ways (Linear, Cubical... etc).
> Also tried scaling from XCF and PNG files.
> Nothing seem to maintain the quality of the text on the image.
> Any help / pointers in the right direction would be greatly 
> appreciated.

The original is 505x200
The smaller version 130x51

which appears to be a reduction of 25.74% width and 25.5% height (if 
you reduce width from 505px to 130px - the percentages are different 
if you resize the height from 200 to 51.

The problem is the inevitable rounding of the pixel count that occurs 
given to original size and reduced size.  Ideally, when reducing size 
you should s select resize values that divide to whole numbers and 
things should improve.

I found that doing a 25% percentage resized to 126x50 (which is as 
close as you are going to get to whole numbers with the width being 
24.95% (Just click in the width and height boxed to refresh them and 
see the actual percentage the pixel count is).

After that reduction, I used the Unsharp mask to help increase the 
contrast. (I selected one side of the image and applied the unsharp 
mask and then the other. This was to avoid darkening the blue side of 
the blue/white boundary)

Part of the reason for the "greying" of the text is that the original 
is anti-aliased which means that when reducing to single pixels 
strokes the resultant image doesn't know whether to go with the 
"shaded" or "pure" colour.

Finally, (working at 800% magnification) I used a 1px pencil tool to 
pick out some of the tops and tails of letters that had suffered badly
in the reduction. (At this size, where most strokes are now down to a 
single pixel, some of the letters inevitably should fall half way 
between pixels - so you cannot get perfection!)

For a few days you can see my version at:

I think I've overdone the unsharp mask on the right side of the image,
but hopefully it will give you a few clues. With more time it could be
done better!

In short, you picked a pig of an image to reduce!  :-)

Greg Chapman
Helping new users of KompoZer and The GIMP

Gimp-user mailing list

Reply via email to