| |
|
|
 | How can I with a Profanbefehl a with Createpic erstellte graphic in a Memory-Variable pack to that evaluate?
mfg |
|
|
| |
|
|
|
 Sebastian König | Hello Peter,
moreover is something API-work necessary - in this drop ought to GetDIBits() help on. if it moreover not already an example somewhere here in the Forum gives, falls it you probably not heavy, something To write. anyway let your others Posts here suppose, that You you with the matter auskennst... 
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...]  Alte Profan²-Seite: [...]  | 03/03/09 ▲ |
|
|
|
|
 | this Getdibits is for a Beginner To heavy. it is not for me. I wanted to a Einfachere Solution search on Profanebene.
mfg |
|
|
| |
|
|
|
 | is still only a function How z.B. CompileMarkSeparation
string hPic.bgr2String(long h,_width,_height){
long sz=( (_width*328-1) | 3 +1) * abs(_height)
mem mem=bitmapInfoHeader
with mem
.biSize& = sizeof(mem)
.biWidth& = _width
.biHeight& = _height
.biPlanes% = 1
.biBitCount% = 32
.biCompression& = BI_RGB
.biSizeImage& = sz
endwith
mem data=sz
string ret=error
case getDIBits(hDC,h,,_height,data,mem,) : ret=char$(data,0,sz)
dispose data
dispose mem
return ret
or=#0000FF>}
|
|
|
| |
|
|