Heres a new tool for you guys, its a wrapper for the BitBlt function available in C++ and Vb. AMSBiltBlt allows you to copy one bitmap inside another using boolean to merge the pixels and save it. Its very fast.
I havent got a demo project for it yet as it still BETA.
Its a commandline program so its an .exe file that has to have arguments passed to it to make it run.
CommandLine Syntax:
[SourceA.bmp/jpg/gif/png] [SourceB.bmp/jpg/gif/png] [Target.bmp] [cX] [cY] [cWidth] [cHeight] [TargetX] [TargetY] [BooleanBlendMethod]
Usage
SourceA : is the picture that gets written to.
SourceB : is the picture that you can crop a section to write
Bx,By : top left corner of the crop area
cWidth,cHeight : dimentions of the area to be cropped
TargetX,Y : where to place the cropped area into pic A
Boolean Blend Method
DstInvert - Inverts the destination rectangle.
MergeCopy - Merges the colors of the source rectangle with the objects current brush using Boolean AND.
MergePaint - Combines the inverted source bitmap with the destination bitmap by using Boolean OR.
NotSrcCopy - Copies the inverted source bitmap to the destination bitmap.
NotSrcErase - Inverts the result of combining the destination and source bitmaps by using OR
PatCopy - Copies the objects current brush onto the destination bitmap
PatInvert - Combines the destination bitmap with the objects current brush by using XOR
PatPaint - Combines the inverted source bitmap with the objects current brush by using Or. It then Combines the result of this operation with the destination bitmap by using Boolean OR.
SrcAnd - Combines the destination and source bitmaps by using Boolean AND
SrcCopy - Copies the source bitmap to the destination bitmap.
SrcErase - Inverts the destination bitmap and combines the result with the source bitmap using Boolean AND.
SrcInvert - Combines the destination and source bitmaps by using Boolean XOR.
SrcPaint - Combines the destination and source bitmaps by using Boolean OR.
This prog has many uses, the BitBlt is used a lot by programs to alter background pictures of app's so controls can be moved about. Its also used to make skins for different sized windows. It can be used for putting together bar graphs or making scrolling backgrounds for games..
have fun
Download AMSBitBlt
I havent got a demo project for it yet as it still BETA.
Its a commandline program so its an .exe file that has to have arguments passed to it to make it run.
CommandLine Syntax:
[SourceA.bmp/jpg/gif/png] [SourceB.bmp/jpg/gif/png] [Target.bmp] [cX] [cY] [cWidth] [cHeight] [TargetX] [TargetY] [BooleanBlendMethod]
Usage
SourceA : is the picture that gets written to.
SourceB : is the picture that you can crop a section to write
Bx,By : top left corner of the crop area
cWidth,cHeight : dimentions of the area to be cropped
TargetX,Y : where to place the cropped area into pic A
Boolean Blend Method
DstInvert - Inverts the destination rectangle.
MergeCopy - Merges the colors of the source rectangle with the objects current brush using Boolean AND.
MergePaint - Combines the inverted source bitmap with the destination bitmap by using Boolean OR.
NotSrcCopy - Copies the inverted source bitmap to the destination bitmap.
NotSrcErase - Inverts the result of combining the destination and source bitmaps by using OR
PatCopy - Copies the objects current brush onto the destination bitmap
PatInvert - Combines the destination bitmap with the objects current brush by using XOR
PatPaint - Combines the inverted source bitmap with the objects current brush by using Or. It then Combines the result of this operation with the destination bitmap by using Boolean OR.
SrcAnd - Combines the destination and source bitmaps by using Boolean AND
SrcCopy - Copies the source bitmap to the destination bitmap.
SrcErase - Inverts the destination bitmap and combines the result with the source bitmap using Boolean AND.
SrcInvert - Combines the destination and source bitmaps by using Boolean XOR.
SrcPaint - Combines the destination and source bitmaps by using Boolean OR.
This prog has many uses, the BitBlt is used a lot by programs to alter background pictures of app's so controls can be moved about. Its also used to make skins for different sized windows. It can be used for putting together bar graphs or making scrolling backgrounds for games..
have fun
Download AMSBitBlt
Comment