UEZ,
bitte auch weitergeben, dass die Struct $tagBITMAPINFO
Spoiler anzeigen
Global Const $tagBITMAPINFOHEADER = "struct;dword biSize;long biWidth;long biHeight;word biPlanes;word biBitCount;" & _
"dword biCompression;dword biSizeImage;long biXPelsPerMeter;long biYPelsPerMeter;dword biClrUsed;dword biClrImportant;endstruct"
; #STRUCTURE# ===================================================================================================================
; Name...........: $tagBITMAPINFO
; Description ...: This structure defines the dimensions and color information of a Windows-based device-independent bitmap (DIB).
; Fields ........: $tagBITMAPINFOHEADER - Contains information about dimensions of a bitmap.
; biRGBQuad - An array of tagRGBQUAD structures. The elements of the array that make up the color table.
; Author ........: Paul Campbell (PaulIA)
; Remarks .......: This structure should not be used for declaration as the biRGBQuad field does not have the right dimension.
; Concatenation of a suitable sized array to $tagBITMAPINFOHEADER must be used.
; ===============================================================================================================================
Global Const $tagBITMAPINFO = $tagBITMAPINFOHEADER & ";dword biRGBQuad[1]"
in der StructureConstants.au3 nicht dem entspricht, was in der Hilfe steht (was aber richtig ist! )
Hilfe sagt:
Spoiler anzeigen
###Structure Name###
$tagBITMAPINFO
###Description###
This structure defines the dimensions and color information of a Windows-based device-independent bitmap (DIB).
###Syntax###
Global Const $tagBITMAPINFO = "dword Size;long Width;long Height;ushort Planes;ushort BitCount;dword Compression;dword SizeImage;" & _
"long XPelsPerMeter;long YPelsPerMeter;dword ClrUsed;dword ClrImportant;dword RGBQuad"
###Fields###
@@ParamTable@@
Size
The number of bytes required by the structure, minus the size of the RGBQuad data
Width
Specifies the width of the bitmap, in pixels
Height
Specifies the height of the bitmap, in pixels
Planes
Specifies the number of planes for the target device. This must be set to 1
BitCount
Specifies the number of bits-per-pixel
Compression
Specifies the type of compression for a compressed bottom-up bitmap
SizeImage
Specifies the size, in bytes, of the image
XPelsPerMeter
Specifies the horizontal resolution, in pixels-per-meter, of the target device for the bitmap
YPelsPerMeter
Specifies the vertical resolution, in pixels-per-meter, of the target device for the bitmap
ClrUsed
Specifies the number of color indexes in the color table that are actually used by the bitmap
ClrImportant
Specifies the number of color indexes that are required for displaying the bitmap
RGBQuad
An array of tagRGBQUAD structures. The elements of the array that make up the color table.
@@End@@
###Remarks###
None.
sollte aber auch bekannt sein...mit der "BETA" laufen die Scripte nämlich, die BETA nutzt die richtige Struct.