0

I am currently using Launch4j to convert my JAR files to EXEs. While I was doing this, I added an image icon (ico). Now when I compile the program and the EXE is made, the icon image quality isn't great. But then if I rename the file, the quality is fine. Can someone tell me what is going on here and how to make it so that I don't have to rename the file to have good icon image quality? Thanks.

Graysull
  • 109
  • 2
  • 8
  • Does your icon have multiple resolutions, 16, 24, 32, 64? – MadProgrammer Apr 02 '15 at 02:30
  • I used a PNG to ICO converter, the image has a native resolution of 512x512. I'm guessing this is a no to your question, and I would need help because I don't know how to make an icon have multiple resolutions. – Graysull Apr 02 '15 at 14:52
  • First, crack open you favourite image editor, creat multiple different resolutions of you image, I like having 16, 24, 32, 64 and 128, save these as separate files. Use something like [image4j](http://image4j.sourceforge.net/) which will allow you to write multiple images to an ico – MadProgrammer Apr 02 '15 at 20:42