Jump to content
Sign in to follow this  
farhan879

Image Quality Problem

Recommended Posts

farhan879

When i place a pic on my GUI and try to run it, the image becomes slightly blur. Why is that so? Its annoying because each time i place my image in it, the words became blury.

Can someone please tell me how to improve the quality?


System task ---> My first GUICalculator v1.0 ---> My version of the calculatorNetZilla 1.0 --> Web browserEmail Sender --> You can Send emails with this without opening a web browser

Share this post


Link to post
Share on other sites
Melba23

@farhan879,

First thought is that the image is having to be magnified to fit the required area. This will always cause blurring as the image is rescaled to the larger size. Best to use an image which fits the control to which you are setting it.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
BrettF
farhan879

Script:

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.12.1
 Author:         myName

 Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

$My_pic = @TempDir & "\Mess-booter (encore2).jpg"
FileInstall("E:\My documents\My website Applications\Instant Messenger Booter\mess-booter(2).jpg", $My_pic)


#Region ### START Koda GUI section ### Form=e:\my documents\koda form designer\koda_1.7.0.1\forms\mess-booter (encore).kxf
$Form1_1 = GUICreate("Mess-Booter ", 388, 338, 331, 221)
GUISetFont(8, 400, 0, "Arial")
GUISetBkColor(0x0E1010)
$Label1 = GUICtrlCreateLabel("Enter a message:", 136, 152, 88, 18)
GUICtrlSetColor(-1, 0xFFFFFF)
$Edit1 = GUICtrlCreateEdit("", 16, 168, 353, 89)
$Label2 = GUICtrlCreateLabel("Number of times:", 8, 264, 85, 18)
GUICtrlSetColor(-1, 0xFFFFFF)
$Combo1 = GUICtrlCreateCombo("", 104, 264, 81, 25)
GUICtrlSetData(-1, "10|20|30|40|50")
$Label3 = GUICtrlCreateLabel("Delayment:", 208, 264, 57, 18)
GUICtrlSetColor(-1, 0xFFFFFF)
$Combo2 = GUICtrlCreateCombo("", 272, 264, 89, 25)
GUICtrlSetData(-1, "1000|2000|3000|4000|5000")
$Button1 = GUICtrlCreateButton("boot", 152, 304, 75, 25, 0)
GUICtrlSetFont(-1, 10, 400, 0, "Visitor TT2 (BRK)")
$Pic1 = GUICtrlCreatePic($My_pic, -8, 0, 396, 140, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1   
            GUICtrlSetState($Button1, $GUI_DISABLE)
            MsgBox(64,"","You have 3 seconds to open a conversation window.")
            GUISetState(@SW_MINIMIZE)
            Sleep(3000)
            for $i = 1 to GUICtrlRead($Combo1)
                Send(GUICtrlRead($Edit1),1)
                Sleep(GUICtrlRead($Combo2))
                Send("{enter}")
            GUICtrlSetState($Button1, $GUI_ENABLE)
            Next
    EndSwitch
WEnd

Pic:

post-42005-1231853631_thumb.jpg

I'm not coding this tool against anyone. Its for educational puposes


System task ---> My first GUICalculator v1.0 ---> My version of the calculatorNetZilla 1.0 --> Web browserEmail Sender --> You can Send emails with this without opening a web browser

Share this post


Link to post
Share on other sites
KaFu
farhan879

what does it has to do with that? Explain please

Thank you so much :)

Edited by farhan879

System task ---> My first GUICalculator v1.0 ---> My version of the calculatorNetZilla 1.0 --> Web browserEmail Sender --> You can Send emails with this without opening a web browser

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×