1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Forenregeln
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. AutoIt.de - Das deutschsprachige Forum.
  2. Mitglieder
  3. UEZ

Beiträge von UEZ

  • Zeichnen mit Autoit

    • UEZ
    • 5. Mai 2010 um 21:41
    Zitat von Andy

    Hi,
    habe mal einen Bitmap2HTML gebastelt.
    Ein Screenshot wird erstellt, dessen Pixel ausgelesen werden und als HTML-Datei dann abgespeichert werden...Bei der Darstellung des "Bildes" sollte man STRG+Mausradrollen betätigen, und fleissig "Zoomen"^^

    Spoiler anzeigen
    [autoit]

    #include <GDIPlus.au3>
    #include <GDIPlusConstants.au3>
    #include <ScreenCapture.au3>

    [/autoit] [autoit][/autoit] [autoit]

    $BMPfile = "test.jpg"
    _ScreenCapture_Capture($BMPfile)

    [/autoit] [autoit][/autoit] [autoit]

    $t = TimerInit()
    $htmlfile = _BMP2HTML($BMPfile, 1, 1, 198, 99) ;
    $m = TimerDiff($t)
    ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $m = ' & $m & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console
    FileDelete($BMPfile)
    ShellExecute("pic.html")

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func _BMP2HTML($BMPfile, $startX, $startY, $endX, $endY) ;Bitmapfiles, 32BBP
    _GDIPlus_Startup()
    $pBitmap = _GDIPlus_BitmapCreateFromFile($BMPfile)
    If @error Then MsgBox(0, "Fehler Modul _BMP2HTML", "Error BitmapCreateFromFile")
    $BitmapData = _GDIPlus_BitmapLockBits($pBitmap, 0, 0, _GDIPlus_ImageGetWidth($pBitmap), _GDIPlus_ImageGetHeight($pBitmap), $GDIP_ILMREAD, $GDIP_PXF32RGB)
    If @error Then MsgBox(0, "Fehler Modul _BMP2HTML", "Error BitmapLockBits" & @error)
    $stride = DllStructGetData($BitmapData, "Stride") ;Anzahl der Bytes in einer Scanline (Zeile) bei 32 Bit ist Stride=4*Breite (ein Pixel =4 Bytes BBGGRRAA
    $Width = DllStructGetData($BitmapData, "Width") ;BMP Breite
    $Height = DllStructGetData($BitmapData, "Height") ;BMP Höhe
    $ptr = DllStructGetData($BitmapData, "Scan0") ;Scan0 - Pointer zom ersten Pixel in der Bitmap

    [/autoit] [autoit][/autoit] [autoit]

    $data = ""

    [/autoit] [autoit][/autoit] [autoit]

    For $y = $startY - 1 To $endY - 1
    For $x = $startX - 1 To $endX - 1
    $struct = DllStructCreate("dword", $ptr + $stride * $y + 4 * $x) ; 4 bytes BBGGRRXX, little endian lesen
    $color = Hex(DllStructGetData($struct, 1), 6) ;nur die letzten 3 Byte RGB
    $data &= '<font color="#' & $color & '">' & Chr(64) & '</font>'
    Next
    $data &= "<br>"
    Next
    FileDelete("pic.html")
    FileWrite("pic.html", $data)
    _GDIPlus_BitmapUnlockBits($pBitmap, $BitmapData)
    _GDIPlus_ImageDispose($pBitmap)
    _GDIPlus_Shutdown()
    Return "pic.html"
    EndFunc ;==>_BMP2HTML

    [/autoit]
    Alles anzeigen

    Cooool :thumbup:

    Gruß,
    UEZ

    PS: AAAAAAAAAAAAAAAMMMMMMMMMMMMMMMMMMMMIIIIIIIIIIIIIIIIIIIIIIGGGGGGGGGGGGGGGGGGGGGAAAAAAAAAAAAAAAAAAAAAAAAAA

  • Hintergrundfarbe eines GUI IP Address Control Feldes ändern

    • UEZ
    • 2. Mai 2010 um 21:11

    Ich habe das mal so gemacht,

    [autoit]


    #include <GuiConstantsEx.au3>
    #include <GuiIPAddress.au3>
    #include <WindowsConstants.au3>

    [/autoit][autoit][/autoit][autoit]

    Opt("MustDeclareVars", 1)

    [/autoit][autoit][/autoit][autoit]

    $Debug_IP = False ; Check ClassName being passed to IPAddress functions, set to True and use a handle to another control to see it work

    [/autoit][autoit][/autoit][autoit]

    Local $hgui, $hIPAddress

    [/autoit][autoit][/autoit][autoit]

    $hgui = GUICreate("IP Address Control Get (String) Example", 400, 300)
    $hIPAddress = _GUICtrlIpAddress_Create($hgui, 10, 10, 125, 25, BitOR($WS_TABSTOP,$WS_VISIBLE,$WS_CLIPSIBLINGS))

    [/autoit][autoit][/autoit][autoit]

    GUISetState(@SW_SHOW)

    [/autoit][autoit][/autoit][autoit]

    Local $tRECT = DllStructCreate($tagRect)
    DllStructSetData($tRECT, "Left", 0)
    DllStructSetData($tRECT, "Top", 0)
    DllStructSetData($tRECT, "Right", 125)
    DllStructSetData($tRECT, "Bottom", 25)

    [/autoit][autoit][/autoit][autoit]

    Local $hBrush = _WinAPI_CreateSolidBrush(0x0000FF) ;BGR
    Local $hDC = _WinAPI_GetDC($hIPAddress)
    _WinAPI_FillRect($hDC, DllStructGetPtr($tRect), $hBrush)

    [/autoit][autoit][/autoit][autoit]

    ;~ Local $sFaceName = "Arial", $iFontSize = 12, $iFontWeight = 400, $fFontItalic = False
    ;~ Local $lfHeight = 14
    ;~ Local $tfont = DllStructCreate($tagLOGFONT)
    ;~ DllStructSetData($tfont, "Height", $lfHeight)
    ;~ DllStructSetData($tfont, "Weight", $iFontWeight)
    ;~ DllStructSetData($tfont, "Italic", $fFontItalic)
    ;~ DllStructSetData($tfont, "Underline", False) ; font underline
    ;~ DllStructSetData($tfont, "Strikeout", False) ; font strikethru
    ;~ DllStructSetData($tfont, "Quality", $__IPADDRESSCONSTANT_PROOF_QUALITY)
    ;~ DllStructSetData($tfont, "FaceName", $sFaceName)

    [/autoit][autoit][/autoit][autoit]

    ;~ Local $font = _WinAPI_CreateFontIndirect($tfont)
    ;~ _WinAPI_SetFont($hIPAddress, $font)

    [/autoit][autoit][/autoit][autoit]

    ;~ _GUICtrlIpAddress_Set ($hIPAddress, "24.168.2.128")
    ;~ _WinAPI_SetTextColor($hDC, 0x00)
    ;~ _WinAPI_SetBkColor($hDC, 0x0000FF)
    ;~ _WinAPI_SetBkMode($hDC, $TRANSPARENT)
    ;~ __EnumChild($hIPAddress)

    [/autoit][autoit][/autoit][autoit]

    GUIRegisterMsg(0x0138, "_WM_CTLCOLORSTATIC")

    [/autoit][autoit][/autoit][autoit]

    ; Wait for user to close GUI
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE

    [/autoit][autoit][/autoit][autoit][/autoit][autoit]

    $tRECT = ""
    _WinAPI_ReleaseDC(0, $hDC)
    _WinAPI_DeleteObject($hBrush)
    GUIDelete($hgui)
    Exit

    [/autoit][autoit][/autoit][autoit]

    Func _WM_CTLCOLORSTATIC($hWnd, $Msg, $wParam, $lParam)
    ConsoleWrite("Test" & @CRLF)
    Local $hDC = _WinAPI_GetDC($wParam)
    _WinAPI_SetTextColor($hDC, 0x00FF00)
    _WinAPI_SetBkColor($hDC, 0x0000FF)
    _WinAPI_SetBkMode($hDC, $TRANSPARENT)
    _WinAPI_ReleaseDC(0, $hDC)
    Return "GUI_RUNDEFMSG"
    EndFunc

    [/autoit][autoit][/autoit][autoit]

    ;~ Func __EnumChild($hWnd, $lParam = 0)
    ;~ Local $hFunc = DllCallbackRegister("__EnumChildProc", "bool", "hwnd;lparam")
    ;~ DllCall("user32.dll", "bool", "EnumChildWindows", "hwnd", $hWnd, "ptr", DllCallbackGetPtr($hFunc), "lparam", $lParam)
    ;~ DllCallbackFree($hFunc)
    ;~ EndFunc ;==>__EnumChild

    [/autoit][autoit][/autoit][autoit]

    ;~ Func __EnumChildProc($hWnd, $lParam)
    ;~ ConsoleWrite("child: " & $hWnd & @CRLF)
    ;~ WinSetTitle($hWnd, 0, "XXX")
    ;~ GUISetBkColor (0x0000FF, $hWnd)
    ;~ _WinAPI_SetTextColor($hDC, 0x00FF00)
    ;~ _WinAPI_SetBkColor($hDC, 0x0000FF)
    ;~ _WinAPI_SetBkMode($hDC, $TRANSPARENT)
    ;~ ;_WinAPI_SetBkColor...
    ;~ ;_SendMessage...
    ;~ Return 1
    ;~ EndFunc ;==>__EnumChildProc

    [/autoit]

    aber vielleicht ist das ja so falsch!

    Gruß,
    UEZ

  • Hintergrundfarbe eines GUI IP Address Control Feldes ändern

    • UEZ
    • 2. Mai 2010 um 18:55

    Hat jemand noch eine Idee, wie man die Hintergrundfarbe eines GUI IP Address Control Feldes ändern kann?

    [autoit]


    #include <GuiConstantsEx.au3>
    #include <GuiIPAddress.au3>
    #include <WindowsConstants.au3>

    [/autoit][autoit][/autoit][autoit]

    Opt("MustDeclareVars", 1)

    [/autoit][autoit][/autoit][autoit]

    $Debug_IP = False ; Check ClassName being passed to IPAddress functions, set to True and use a handle to another control to see it work

    [/autoit][autoit][/autoit][autoit]

    _Main()

    [/autoit][autoit][/autoit][autoit]

    Func _Main()
    Local $hgui, $hIPAddress

    [/autoit][autoit][/autoit][autoit]

    $hgui = GUICreate("IP Address Control Get (String) Example", 400, 300)
    $hIPAddress = _GUICtrlIpAddress_Create($hgui, 10, 10, 125, 25, BitOR($WS_TABSTOP,$WS_VISIBLE,$WS_CLIPSIBLINGS))

    [/autoit][autoit][/autoit][autoit]

    GUISetState(@SW_SHOW)

    [/autoit][autoit][/autoit][autoit]

    Local $tRECT = DllStructCreate($tagRect)
    DllStructSetData($tRECT, "Left", 0)
    DllStructSetData($tRECT, "Top", 0)
    DllStructSetData($tRECT, "Right", 125)
    DllStructSetData($tRECT, "Bottom", 25)

    [/autoit][autoit][/autoit][autoit]

    Local $hBrush = _WinAPI_CreateSolidBrush(0x0000FF) ;BGR
    Local $hDC = _WinAPI_GetDC($hIPAddress)
    _WinAPI_FillRect($hDC, DllStructGetPtr($tRect), $hBrush)

    [/autoit][autoit][/autoit][autoit]

    ;~ _GUICtrlIpAddress_Set ($hIPAddress, "24.168.2.128")
    _WinAPI_SetTextColor($hDC, 0x00)
    _WinAPI_SetBkColor($hDC, 0x0000FF)
    _WinAPI_SetBkMode($hDC, $TRANSPARENT)

    [/autoit][autoit][/autoit][autoit][/autoit][autoit]

    ; Wait for user to close GUI
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE
    $tRECT = ""
    _WinAPI_ReleaseDC(0, $hDC)
    _WinAPI_DeleteObject($hBrush)
    GUIDelete($hgui)
    Exit
    EndFunc ;==>_Main

    [/autoit]

    Sobald man was einträgt, überschreibt der Font den Hintergrund wieder...

    Oder vielleicht doch einen anderen Lösungsweg? ?(

    Gruß,
    UEZ

  • Event "Wenn irgendeine Taste gedrückt" für Input oder Edit Control

    • UEZ
    • 29. April 2010 um 23:39

    Suche mal in der Hilfe nach "WM_COMMAND". Dort sind einige Beispiele angegeben.

    Oder schaue mal hier: Integer <=> Binary Converter v1.0 Build 2010-01-15 (Schleichwerbung :whistling: )

    Gruß,
    UEZ

  • Event "Wenn irgendeine Taste gedrückt" für Input oder Edit Control

    • UEZ
    • 29. April 2010 um 23:07

    Probiere es mal mit dem $WM_COMMAND -> z.B. GUIRegisterMsg($WM_COMMAND, '_WM_COMMAND')

    Gruß,
    UEZ

    PS: ich habe es eben auch gebraucht, um zu prüfen, ob ein Input Feld nicht leer ist. Man muss ja nicht gleich den Teufel an die Wand malen...

  • MP3-Encoder Vergleich

    • UEZ
    • 26. April 2010 um 16:25

    Scheint eine ganz nette Info Seite zu sein: http://wiki.hydrogenaudio.org/index.php?title=Topic_Index

    Ich benutze i.d.R. Lame mit der --alt-preset standard Einstellung.

    Gruß,
    UEZ

    PS: ohne die Codecs können wir nicht testen ;)

  • Png Im png drehen

    • UEZ
    • 26. April 2010 um 00:23

    Hier mein Lösungsvorschlag!

    Gruß,
    UEZ

    PS: auf die Schnelle erstellt!

    Dateien

    GDI+ Test.7z 87,07 kB – 351 Downloads
  • GDI+ Laser-Text

    • UEZ
    • 25. April 2010 um 21:22

    Gut aufgepasst :thumbup:

    Jetzt wo du es sagt, kann ich das auch sehen, wenn ich leicht versetzt auf den Schirm schaue..

    Danke,
    UEZ

  • GDI+ Save Image to File

    • UEZ
    • 23. April 2010 um 13:29

    So sollte es gehen:

    Spoiler anzeigen
    [autoit]


    #include <GDIPlus.au3>
    #include <Misc.au3>
    #include <WinAPI.au3>

    [/autoit] [autoit][/autoit] [autoit]

    ;~ $col = _ChooseColor (2)
    $col = 0x22B14C

    [/autoit] [autoit][/autoit] [autoit]

    _GDIPlus_Startup()

    [/autoit] [autoit][/autoit] [autoit]

    $Gui = GUICreate("")
    ;~ $Graphic = GUICtrlCreateGraphic(0, 0, 100, 32)
    GUISetState()

    [/autoit] [autoit][/autoit] [autoit]

    ;~ $hDC = _WinAPI_GetDC(GUICtrlGetHandle($Graphic))
    ;~ ConsoleWrite($hDC & @CRLF)

    [/autoit] [autoit][/autoit] [autoit]

    $hGraphic = _GDIPlus_GraphicsCreateFromHWND($Gui)
    $hBitmap = _GDIPlus_BitmapCreateFromGraphics(100, 32, $hGraphic)
    $hBackbuffer = _GDIPlus_ImageGetGraphicsContext($hBitmap)

    [/autoit] [autoit][/autoit] [autoit]

    $hFontFamily = _GDIPlus_FontFamilyCreate("Arial")
    $hFont = _GDIPlus_FontCreate($hFontFamily, 20)
    $tLayout = _GDIPlus_RectFCreate(0, 0, 100, 32)
    $hFormat = _GDIPlus_StringFormatCreate()
    $hBrush = _GDIPlus_BrushCreateSolid(0xff000000 + $col)

    [/autoit] [autoit][/autoit] [autoit]

    For $x = 0 To 9
    _GDIPlus_GraphicsFillRect($hBackbuffer, 0, 0, 90, 32)
    _GDIPlus_GraphicsDrawStringEx($hBackbuffer, AddZero($x, 5), $hFont, $tLayout, $hFormat, $hBrush)
    _GDIPlus_GraphicsDrawImageRect($hGraphic, $hBitmap, 0, 0, 100, 32)
    $ret = _GDIPlus_ImageSaveToFile($hBitmap, @ScriptDir & "\1\" & $x & ".bmp")

    [/autoit] [autoit][/autoit] [autoit]

    ConsoleWrite($ret & @CRLF)

    [/autoit] [autoit][/autoit] [autoit]

    Sleep(10)
    Next

    [/autoit] [autoit][/autoit] [autoit]

    Do
    Until GUIGetMsg() = -3

    [/autoit] [autoit][/autoit] [autoit]

    Func AddZero($nZahl, $EndLen)
    While 1
    If StringLen($nZahl) >= $EndLen Then
    Return $nZahl
    Else
    $nZahl = "0" & $nZahl
    EndIf
    WEnd
    EndFunc ;==>AddZero

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    _GDIPlus_FontFamilyDispose($hFontFamily)
    _GDIPlus_FontDispose($hFont)
    _GDIPlus_StringFormatDispose($hFormat)
    _GDIPlus_BrushDispose($hBrush)

    [/autoit] [autoit][/autoit] [autoit]

    _GDIPlus_BitmapDispose($hBitmap)
    _GDIPlus_GraphicsDispose($hBackbuffer)
    _GDIPlus_GraphicsDispose($hGraphic)
    _GDIPlus_Shutdown()

    [/autoit]

    Gruß,
    UEZ

  • GDI+ Laser-Text

    • UEZ
    • 23. April 2010 um 08:56

    Wow! Sieht echt Klasse aus und das nur bei 115 Zeilen! :thumbup:

    Ich muss mir mal die Path Funktion näher anschauen...

    _GDIPlus_GraphicsSetSmoothingMode($hGfxLine, 2) und _GDIPlus_GraphicsSetSmoothingMode($hGfxBuffer, 2) -> sieht besser aus ;)

    Gruß,
    UEZ

  • GDI+ Plasma - eine andere Variante :-)

    • UEZ
    • 22. April 2010 um 22:26
    Zitat von AltairKD

    Ich kriege da nen Error wenn ich es starten will.


    "ERROR: _GDIPlus_BrushSetSolidColor() already defined."

    Zitat von Antispeed

    lol, lol, lol
    du noob :rofl:
    sry, lese ma:
    Die Funktion exestiert schon!
    Dh. die fanden seine Funk. so gut (oda er hat sie abgeändert), dass sie sie in die standart lib übertragen haben (include ordner)
    Lösung: Suche die Funktion _GDIPlus_BrushSetSolidColor() und ersetze sie durch nix also lösche sie...
    so bidde bidde :D

    Alles anzeigen

    Zu der Zeit war die GDI+ Funktion _GDIPlus_BrushSetSolidColor() nicht in der GDIPlus.au3 enthalten. Mittlerweile ist die Funktion integriert!

    Einfach die Funktion löschen!

    Gruß,
    UEZ

  • Corrupt File

    • UEZ
    • 21. April 2010 um 22:07

    1st thing I want to say is: I cannot speak Arabic - I translated it via Google Translate :!:
    2nd: if you cannot speak German than this is the wrong place for you. It makes no sense to translate everything written in German to Arabic <-> German with an online translator because the translation is worse! https://autoit.de/www.autoitscript.com/forum is fine for you as long as you can speak Englisch passably.

    Regards,
    UEZ

  • Corrupt File

    • UEZ
    • 21. April 2010 um 21:54

    لماذا أنت تكتب باللغة الانكليزية؟ هذا هو منتدى الألمانية! ورأيت أنك نشرت بالفعل رمز الخاص بك على http://www.autoitscript.com/forum/index.php؟showtopic=113343 ، وبالتالي لا حاجة للقيام بذلك هنا في اللغة الإنجليزية

    التحيات ،
    رودريغز

  • Corrupt File

    • UEZ
    • 21. April 2010 um 21:38

    Why you're writing in English? This is a German forum! I saw that you already published your code on http://www.autoitscript.com/forum/index.php?showtopic=113343 , thus no need to do it here in English:!:

    Regards,
    UEZ

    PS: you missed "[/autoIt]" in your post ;)

  • Strahl Dreieck Kollision

    • UEZ
    • 20. April 2010 um 18:47

    Und dieser Link? http://de.wikipedia.org/wiki/Analytische_Geometrie

    Gruß,
    UEZ

  • Strahl Dreieck Kollision

    • UEZ
    • 20. April 2010 um 18:41

    Hast du mal hier nachgesehen, ob die Infos für dich nützlich sind? -> http://en.wikipedia.org/wiki/Collision…#External_links

    Gruß,
    UEZ

  • Bildschirmschoner incl. Config und Preview

    • UEZ
    • 20. April 2010 um 14:16

    Schaue mal hier: GDI+ Screensavers (jetzt mit 2 Beispielen). Das Problem hatte ich auch bei meinen Screensavern.

    Idee ist zu checken, ob ein weiterer Subprozess rundll32.exe aufruft. Wenn ja, dann beende den eigenen BS.

    Gruß,
    UEZ

  • Bildschirmschoner incl. Config und Preview

    • UEZ
    • 20. April 2010 um 10:35

    Du hast ein Bug in der Preview Sektion: wenn du deinen BS auswählst und anschließend einen Anderen, wird der Child Prozess deines BS unter Rundll32.exe nicht beendet :!:

    Ansonsten interessanter Code! :D

    Gruß,
    UEZ

  • GDI+ Kreisförmiger Ausschnitt einer Bitmap

    • UEZ
    • 17. April 2010 um 18:05
    Zitat von name22

    Edit: Gibt es eigentlich Beispiele zur GDIP.au3? ?(
    Das wäre ja irgendwie ganz hilfreich. :D

    -> GDIp.au3 inkl. Beispielen

    Gruß,
    UEZ

  • Von Bild Ring ausschneiden (kein Kreis!)

    • UEZ
    • 17. April 2010 um 13:51

    Hier ein 5 Minuten Skript:

    Spoiler anzeigen
    [autoit]


    #include <GDIplus.au3>
    Opt("GUIOnEventMode", 1)

    [/autoit] [autoit][/autoit] [autoit]

    Local $width = 400
    Local $height = 300
    Local $hwnd = GUICreate("Make Donut by UEZ 2010 d-_-b", $width, $height, -1, -1)
    GUISetOnEvent(-3, "_Exit")
    GUISetState()

    [/autoit] [autoit][/autoit] [autoit]

    _GDIPlus_StartUp()
    Local $hBild = _GDIPlus_ImageLoadFromFile(@ScriptDir & "\akdmbg13jtj.jpg")

    [/autoit] [autoit][/autoit] [autoit]

    Make_Donut($hBild, 150, 400)

    [/autoit] [autoit][/autoit] [autoit]

    Do
    Until False * Not Sleep(100000)

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    Func Make_Donut($hImage, $ir, $size)
    Local $iX = _GDIPlus_ImageGetWidth ($hImage)
    Local $iY = _GDIPlus_ImageGetHeight ($hImage)
    Local $hGraphics = _GDIPlus_GraphicsCreateFromHWND($hwnd)
    Local $hBitmap = _GDIPlus_BitmapCreateFromGraphics($iX, $iY, $hGraphics)
    Local $hBackbuffer = _GDIPlus_ImageGetGraphicsContext($hBitmap)
    Local $hPen = _GDIPlus_PenCreate(0xFF000000, $size / 8)
    Local $hBrush = _GDIPlus_BrushCreateSolid(0xFF000000)
    _GDIPlus_GraphicsSetSmoothingMode($hBackbuffer, 2)
    _GDIPlus_GraphicsClear($hBackbuffer)
    _GDIPlus_GraphicsDrawImageRect($hBackbuffer, $hImage, $iX / 2 - $size / 2, $iY / 2 - $size / 2, $size, $size)
    _GDIPlus_GraphicsFillEllipse($hBackbuffer, $iX / 2 - $ir / 2, $iY / 2 - $ir / 2, $ir, $ir, $hBrush)
    _GDIPlus_GraphicsDrawEllipse($hBackbuffer, $iX / 2 - $size / 2, $iY / 2 - $size / 2, $size, $size, $hPen)
    _GDIPlus_GraphicsDrawImageRect($hGraphics, $hBitmap, 0, 0, $width, $height)
    _GDIPlus_BitmapDispose($hBitmap)
    _GDIPlus_GraphicsDispose($hGraphics)
    _GDIPlus_GraphicsDispose($hBackbuffer)
    _GDIPlus_PenDispose($hPen)
    _GDIPlus_BrushDispose($hBrush)
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Exit()
    _GDIPlus_ImageDispose($hBild)
    _GDIPlus_Shutdown()
    Exit
    EndFunc

    [/autoit]

    Das Bild akdmbg13jtj.jpg sollte im Skript Verzeichnis sein!

    Das Drumherum kannst du ja selbst machen (Übung). ;)

    Gruß,
    UEZ

Spenden

Jeder Euro hilft uns, Euch zu helfen.

Download

AutoIt Tutorial
AutoIt Buch
Onlinehilfe
AutoIt Entwickler
  1. Datenschutzerklärung
  2. Impressum
  3. Shoutbox-Archiv
Community-Software: WoltLab Suite™