farhan879 Posted January 13, 2009 Posted January 13, 2009 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
Moderators Melba23 Posted January 13, 2009 Moderators Posted January 13, 2009 @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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
farhan879 Posted January 13, 2009 Author Posted January 13, 2009 That is what exactly i did. Still, the words is partly blur. 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
BrettF Posted January 13, 2009 Posted January 13, 2009 Maybe post a script with image that reproduces the problem? Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
farhan879 Posted January 13, 2009 Author Posted January 13, 2009 Script: expandcollapse popup#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: 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
KaFu Posted January 13, 2009 Posted January 13, 2009 $Pic1 = GUICtrlCreatePic($My_pic, 0, 0, 400, 142, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
farhan879 Posted January 14, 2009 Author Posted January 14, 2009 (edited) what does it has to do with that? Explain pleaseThank you so much Edited January 14, 2009 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now