I need to download an image with Java. The URL is http://www.novasoftware.se/ImgGen/schedulegenerator.aspx?format=png&schoolid=19300/sv-se&type=0&id=NV1A&period=&week=6&mode=0&printer=0&colors=32&head=0&clock=0&foot=0&day=0&width=1243&height=753&maxwidth=1243&maxheight=753. It's a big image in PNG format (~58 k. The problem is that the image gets grainy (low quality). I don't know how to fix this.
When you browse this image with Internet Explorer or Google Chrome, the image looks ok, but with FireFox, the image is downloaded with low quality too.
Is there any way to fix this? Any workaround code in Java?
(I have attached a test program for PNG images in Java which I found on another forum when googled)
Edit: code source: http://forums.sun.com/thread.jspa?threadID=5277484