| |
|
|
 Georg Bernhardt | Ciao,
wenn ich ein Bild speichern will gehts nicht, was mach ich falsch?
Variante$="a"
text1$="testemonia.jpg"
Settruecolor 1
Neu&=Usedll("ProSpeed.dll")
Windowstyle 112$F0 212
Window 0,0 - %Maxx,%Maxy
Hdc1&=Createextbmp(%Hdc,%Maxx,%Maxy)
Copyextbmp(Hdc1&,0,0,%Maxx,%Maxy,%Hdc,0,0,0)
Array1&=Initextfx(Hdc1&)
if (Variante$="a")
Grey(%Hdc,0,0,Array1&)
SaveExtImage(%Hdc,text1$,1,8)
elseif (Variante$="b")
Saluto Georg |
|
|
| |
|
|
|
 | Da wird Frank sicher etwas zu sagen können - aber savebmp nutzt Dir nix? |
|
|
| |
|
|
|
 Georg Bernhardt | Ciao,
nein savebmp nutzt nix, ich will jpegs und diese jpegs einladen und verändern z.B. grey und dann wieder abspeichern.
Saluto
Georg |
|
|
| |
|
|
|
 Frank Abbing | Hallo Georg,
der zweite Parameter ist ein Zeiger auf einen String, nicht der String selber. Bei Api-oder Dllfunktionen musst du immer Zeiger trasferimento, weil die Funktion selber den Zeiger eines String nicht herrausfinden kann. So müsste es also gehen:
@iF: nicht gesehen?  |
|
|
| |
|
|
|
 | @Frank: Wäre sogar übertrieben wenn ich behaupten würde es überflogen zu haben.  |
|
|
| |
|
|