Modify ↓
#2715 closed Bug (Fixed)
mistake in helpfile
| Reported by: | rav_kr | Owned by: | Melba23 |
|---|---|---|---|
| Milestone: | 3.3.11.6 | Component: | Documentation |
| Version: | 3.3.11.5 | Severity: | None |
| Keywords: | Cc: | rav_kr |
Description
There is small mistake in comment in the example on page http://www.autoitscript.com/autoit3/docs/libfunctions/_GDIPlus_ImageScale.htm
Local Const $iW = @DesktopWidth / 4, $iH = @DesktopHeight / 4
Local $hHBmp = _ScreenCapture_Capture("", 0, 0, $iW, $iH) ;create a GDI bitmap by capturing 1/8 of desktop
it's not 1/8 but 1/16 of desktop (4*4=16 not 8)
Attachments (0)
Change History (4)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
| Milestone: | → 3.3.11.6 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [10120] in version: 3.3.11.6
comment:3 by , 12 years ago
The first one is actually 1/4th of the desktop, not 1/8th or 1/16th. You're dividing the width and height by 4, not 8 or 16.
Note:
See TracTickets
for help on using tickets.

Local $hGUI = GUICreate("GDI+ test", $iW * $iScale, $iH * $iScale, -1, -1) ;create a test gui to display the rotated imageand another mistake in the same example... it should be display the resized image not display the rotated image