Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Customization: multi-icon and bitmap compression

Post Reply
desrocchi
Posts: 3
Joined: 2007-07-25 11:39
Location: Lecco, Italy

Customization: multi-icon and bitmap compression

Post by desrocchi »

Hi everyone,
I tried to customize the server executable and it works fine except for a couple of things:

- if I use a multi-resource icon it won't work except for the biggest size (with a 48-32-16-pixel icon only the 48 one is shown correctly, the smaller ones are UVNC default icons)

- in the executable the bmp file is compressed and when shown it's a bit blurred

I wanted to ask if I'm doing something wrong or if I can add these issues to the "known bugs" sticky.

Daniele
Last edited by desrocchi on 2007-07-25 14:39, edited 1 time in total.
photoman
8
8
Posts: 29
Joined: 2007-06-03 11:52
Location: Paraparaumu, Wellington, NZ

Re: Customization: multi-icon and bitmap compression

Post by photoman »

So far as the compressed BMP file is concerned, this might be due to the physical dimensions of the image, and the settings in PcHelpware.exe.

The setting in the version I have is as follows:

136 DIALOG 0, 0, 262, 132

so the image will be 262x132 pixels when displayed.

If your original image is smaller than this, then it will be scaled up to the 262x132 size. This may result in it becoming blurred. If your image is bigger than these dimensions, it will be scaled down. This may or may not make it blurry.

No idea about the icon, as I've never changed it.
desrocchi
Posts: 3
Joined: 2007-07-25 11:39
Location: Lecco, Italy

Re: Customization: multi-icon and bitmap compression

Post by desrocchi »

Hi,
the image I used is in fact of the exact same dimension of the default one.
As I observed it more closely I may tell that it's not "compressed" but "badly copied".

Here, this is a zoom of the image: above there is the image shown by the EXE and below the original BMP.

Can you see the distorted line under the writing?
Image


And these are the icons at different resolutions:
Image
though the original is always the blue one at every resolution, the EXE icon behaves like that.

Daniele
Post Reply