in reply to How to increase the resoultion of an PNG image

You are trying, (but failing dismally). to create an 8-bit paletted image containing small-font text. These always look pretty "lo-res", as any attempt to anti-alias the fonts simply doesn't work. To produce an image that will be perceived as "high resolution"; you'll need to make it a 24-bit (truecolor) image.

Had you posted working code, you might have got working code demonstrating how to do that as a response.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: How to increase the resoultion of an PNG image

Replies are listed 'Best First'.
Re^2: How to increase the resoultion of an PNG image
by vinumanikandan (Initiate) on Dec 21, 2010 at 10:51 UTC
    Thank you , Yes i had posted the code for the review. What i am doing is making the GD work dynamical depending on the user input and corresponding output from the db and plotting it. the image width is constant and the height depends on the db output. the thus created image is loaded to th eCGI script and using the Javascript and Jquery function Im zooming into the same image.