GUI Picture Help!

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ThiefUK
Posts: 19
Joined: 25 Jul 2017, 10:23

GUI Picture Help!

28 Feb 2018, 11:43

Afternoon All

This has plagued me for an absolute age, and forum searches haven't helped!

Whenever I link up a picture to my GUI it turns out incredibly pixelated no matter what resolution I save the file out at.

Gui, Add, Pic, hidden vstatic1 x0 y-3 w550 h-1, \\ip-fs04

The picture is 300 DPI and from what I can tell the code above keeps the ratio the same when scaled.

I've got my GUI set-up to 520 x 300 (which is the image size also) with -DPIScale.

Please can anyone help me clear up the image?

Thanks!
RickC
Posts: 299
Joined: 27 Oct 2013, 08:32

Re: GUI Picture Help!

28 Feb 2018, 18:53

From the documentation for Picture...
To retain the image's actual width and/or height, omit the W and/or H options.
See https://autohotkey.com/docs/commands/Gu ... tm#Picture for more info.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: alawsareps, mebelantikjaya, mikeyww, RussF and 314 guests