After more 2 000 000 (two million) views on forum for 1.5.0.x development versions... and 1.6.1.0, 1.6.3.0-dev versions
A new stable version, UltraVNC 1.6.4.0 and UltraVNC SC 1.6.4.0 have been released: https://forum.uvnc.com/viewtopic.php?t=38095
Feedback is always welcome

2025-12-14: 1.7.1.X-dev release builds need tests and feedback: https://forum.uvnc.com/viewtopic.php?t=38134

2025-12-02: We need help: English Wikipedia UltraVNC page has been requested to deletion: https://forum.uvnc.com/viewtopic.php?t=38127
Any help is welcome to improve the UltraVNC page and/or to comment on the Wikipedia Talk page

2025-05-06: Forum password change request: https://forum.uvnc.com/viewtopic.php?t=38078

2023-09-21: Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Development: UltraVNC development is always here... Any help is welcome
Feedback is welcome

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

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

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
ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply