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
- 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

Bad image after complie

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
Yod4z
20
20
Posts: 55
Joined: 2006-10-18 15:08

Bad image after complie

Post by Yod4z »

If i put a circle on the logo.jpg from the InstantSupport_Files directory and compile, this image are not in circle but more large version.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Bad image after complie

Post by supercoe »

logo.jpg should be 450x90px if smaller it will stretch to fit.


Change the code here to modify the default behavior.

SRC\InstantSupport.au3 Line 45:

Code: Select all

$Pic1 = GUICtrlCreatePic( $TempPath & "\logo.jpg", 0, 0, 450, 90, BitOR( $SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS ) )
Reference:

Code: Select all

GUICtrlCreatePic ( filename, left, top [, width [, height [, style [, exStyle]]]] )
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Yod4z
20
20
Posts: 55
Joined: 2006-10-18 15:08

Re: Bad image after complie

Post by Yod4z »

Strange, the default image from ChunkVNC 3.1 is 450*105.

what you said explain my problem the image is cropped. I change the image to 450*90 and that do the trick.
Last edited by Yod4z on 2010-10-08 10:11, edited 2 times in total.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Bad image after complie

Post by supercoe »

While designing the GUI I made that logo and changed the GUI size later. It was a quick hack to just have it stretch. :P
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply