http://www.alycesrestaurant.com/dll.htm
Code: Alles auswählen
Global lib.l
Global himage
Procedure InitImage323()
lib.l=OpenLibrary(#PB_Any,"image323.dll")
EndProcedure
Procedure IMG_Loadimagefile(hwnd,Image$)
himage=CallFunction(lib.l,"LoadImageFile",hwnd,Image$)
ProcedureReturn himage
EndProcedure
Procedure IMG_Blur(hbmp,hwnd)
himage=CallFunction(lib.l,"Blur",hbmp,hwnd)
ProcedureReturn himage
EndProcedure
Procedure IMG_Negativ(hbmp,hwnd)
himage=CallFunction(lib.l,"Negative",hbmp,hwnd)
ProcedureReturn himage
EndProcedure
Procedure IMG_Brightness(hbmp,hwnd,nBright)
himage=CallFunction(lib.l,"Brightness",hbmp,hwnd,nBright)
ProcedureReturn himage
EndProcedure
Procedure IMG_DuoTone(hbmp,hwnd,nRed,nGreen,nBlue)
himage=CallFunction(lib.l,"DuoTone",hbmp,hwnd,nRed,nGreen,nBlue)
ProcedureReturn himage
EndProcedure
Procedure IMG_Soften(hbmp,hwnd)
himage = CallFunction(lib.l,"Soften",hbmp,hwnd)
ProcedureReturn himage
EndProcedure
Procedure IMG_Bitmapwidth(hbmp)
bmpwidth = CallFunction(lib.l,"BitmapWidth",hbmp)
ProcedureReturn bmpwidth
EndProcedure
Procedure IMG_Bitmapheight(hbmp)
bmpheight = CallFunction(lib.l,"BitmapHeight",hbmp)
ProcedureReturn bmpheight
EndProcedure
Procedure IMG_ChangeSize(hbmp,hwnd,nWidth,nHeight)
chsize=CallFunction(lib.l,"ChangeSize",hbmp,hwnd,nWidth,nHeight)
ProcedureReturn chsize
EndProcedure
Procedure IMG_Contrast(hbmp,hwnd)
himage=CallFunction(lib.l,"Contrast",hbmp,hwnd)
ProcedureReturn himage
EndProcedure
Procedure Freeimage323()
CloseLibrary(lib.l)
EndProcedure