Jsmooth icon looks bad - jar

I'm converting an executable jar to an exe with JSmooth. I'm setting an Icon in png for the application. It loads and it's show OK at Jsmooth. Then I convert to exe, and it works, but the icon looks very bad, pixelated.
My icon is a 64x64 png with transparent background. Where is the problem?

Looks like Jsmooth autoscale to 32x32 and reduce colors to 256, so it's preferable to do that with external software, or give Jsmooth a proper ico file.
Extracted from Jsmooth user manual:

Related

Photoshop color change when open file

When I try open file in Photoshop color change, the color mode is cmyk/8:
Click on the Image Menu, Mode, then change it to whatever you want.
You mention Illustrator in the tags, maybe you saved an image from illustrator? If Illustrator is set to CMYK, it will output CMYK files whenever possible, and opening these files in photoshop will put photoshop in that mode as well. Use document color more in the file menu to change the mode in Illustrator.

Changing font in a png file in Adobe Photoshop

I am currently using Adobe Photoshop CS5. I have a png file with some signatures and their texts (names of the persons). I have to change font of the text, but I haven't seen any of Text Layers, only Background that seems is locked. How can I change the font of the text? Thank you in advance for any help.
If it's a .PNG file most likely its a flat image, and has no Photoshop layer data in it, therefore the text and all the other elements in the image are rasterized.
The only way to edit the text is to remove it and retype it again using the font you want.
There is a tiny chance that the .PNG was saved in Adobe Fireworks.
Try opening it in Adobe Fireworks, there is a slight chance it might contain Fireworks layer data.

Icon overlays are showing blurry on "Large Icons"

We use Icon Overlays to show a state to the users. All but one of our icons are shown sharp.
This unsharpness only happens when we set the explorer to the large icon view.
We can't figure out why this happens.
We tried different tools to create th icon file.
This is the result :
And we started from this image:
You can find the source files (png's) and the ico file here
Does anyone knows how to fix this or what is causing this?
It looks like a specific of Windows resize engine.
In large icons mode shell uses 48x48x32 icon. I created icon with grid:
And shell draws this icon without any interpolation:
And it looks like there is no solution of your problem.

Easy way to build a webfont based off of .png files

Designer at our company has provided me an icon set as a series of .png files (1x and 2x per icon) that I'd really like to switch over to be a webfont instead.
Is there a best practice for doing this sort of thing?
If your png's are of good quality you can open them in Adobe Illustrator.
Click on an image. On the top bar, a button 'Image Trace' ('Bildnachzeichner' in german) appears. Click on small arrow next to 'Image Trace' box for drop down menu.
Select ‘High Fidelity Photo’ to begin image trace, if the result doesn't fit try other options from the drowndown menu.
Next you will see an 'Expand'-Button at the top ('Umwandeln' in german).
Click it. Vercotr paths and fills are created.
You can adjust them if you need and save it to a svg file.
Then import to icomoon.io ...
I've used icomoon.io in the past. I think with only .png files though you can only make an image sprite. You'll need the files in .svg format to make an icon font.
DON'T DO IT.
Use a sprite sheet instead.

How does Windows decide which icon format to display when showing an exe's icon in Windows Explorer?

How does Windows decide which icon format to display when showing an exe's icon in Windows Explorer?
Problem: When we look at our icon file and exe with embedded icon file in various Windows Explorer file views, the icon file is displayed in a higher quality mode than the icon displayed for our executable even though the icon in our executable contains the exact same icon. Our exe's icon has jaggier edges which leads me to believe that Windows Explorer may be trying to upsize a lower resolution icon rather than picking an icon appropriate for the actual display size.
In a multi-format icon file, is there a specific order we should use for positioning each icon format?
For example, we have an icon file with icons in the following formats:
- 16x16
- 32x32
- 48x48
- 64x64
- 128x128
- 256x256
We are testing the appearance of our exe's icon using Windows Explorer under Windows XP, Vista and Windows 7.
Any suggestions appreciated.
Use iConvert, it's free and online. You upload a large 512x512 PNG, it gives you an ICO that works the way it should, with multiple embedded images in different sizes. It also gives you ICNS and HQX files for Mac.
Works great under Win7/Vista/XP for my applications. It takes the pain away from making proper ICO files by hand. As you've discovered, it's easy to mess something up.
One troubleshooting method I would try is to remove all the different size formats from your icon file except one, say 32x32. Then, compare the .ico file display and the .exe file display. If they look different, you'll know it's not a problem with the exe picking the wrong format. If they do look the same, then you can start adding the formats back into your .ico file one at a time until the problem reappears.
When I create icon files, I always have the formats added in order of largest to smallest, highest quality to lowest quality:
256x256 32-bit
96x96 32-bit
48x48 32-bit
32x32 32-bit
16x16 32-bit
48x48 8-bit
32x32 8-bit
16x16 8-bit
According to the .NET Runtime code:
Windows rules for specifing an icon:
The icon with the closest size match.
For matching sizes, the image with the closest bit depth.
If there is no color depth match, the icon with the closest color depth that does not exceed the display.
If all icon color depth > display, lowest color depth is chosen.
color depth of > 8bpp are all equal.
Never choose an 8bpp icon on an 8bpp system.
https://github.com/dotnet/runtime/blob/main/src/libraries/System.Drawing.Common/src/System/Drawing/Icon.cs
Have a look at IcoFx which may give you the smoother icons when you design them, there's support for alpha-transparency also...

Resources