Image323.dll
Verfasst: 17.05.2006 22:31
Ich habe mal angefangen Proceduren zu dieser dll zu schreiben Sie ist Freeware und eigentlich für Libertybasic geschrieben worden mit ihr können u.a. Gif geladen werden genaueres könnt ihr hier nachlesen dort gibt es auch die dll.
http://www.alycesrestaurant.com/dll.htm
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