Quality of Graphics and scaling with AHK

Get help with using AutoHotkey and its commands and hotkeys
User avatar
PuzzledGreatly
Posts: 922
Joined: 29 Sep 2013, 22:18

Quality of Graphics and scaling with AHK

19 Nov 2013, 21:08

I have lots of png files, 1000 pixels square. I usually display them in a gui with a width and height of around 200 pixels. I've noticed that if I resize a picture control using movedraw back to the original size the quality is a lot less than the original. Here's an example (all half size):
Img200.png
Img200.png (9.69 KiB) Viewed 1716 times
Img1000scaled.png
Img1000orginal.png
The image scaled down is poor so I guess that's why when it is resized it is also poor. I want an image that looks good at around 200 pixels square and can be scaled up to 1000 pixels square. Should I be considering a different format from png? Do I need multiple images (but then moving and scaling will be much more complicated). What's the best approach? Thanks.
User avatar
VxE
Posts: 44
Joined: 30 Sep 2013, 10:35
Location: Simi Valley, CA

Re: Quality of Graphics and scaling with AHK

20 Nov 2013, 04:21

Try creating the picture control with native size (automatically detect the image size), then resize it later with GuiControl, Move.

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], bracht, c7aesa7r, kunkel321, LTdT, mikeyww, skido, TheProdigyC2, WOlfen and 56 guests