Hi, is there a way to clip / crop with bitmapcreator ? Similar to canvas.ClipPath / canvas.RemoveClip. I would like to try using BitmapCreator instead of B4XCanvas, I'm trying to maximize performance gains.
Calling BitMapCreator Experts.
I have a GrayScale Bitmap (see picture) of dimensions 199 x 262.
I would like to (programmatically) put a border around it and save it (again) as a .bmp
The border I put around it must cause the final combined bmp to ...
a) have dimensions of Exactly 512 x...
I wondering whether there might be something wrong with drawing polygons in BitmapCreator v4.73.
The top code draws unwanted lines from the top left corner of an imageview (pixel X=0, Y=0) to some of the objects on the OSM maps that I am rendering (picture attached):
Sub DrawPolyOpen2(Color As...
I recently found BitmapCreator version 4.30 (bitmapcreator.bas) here:
Where can I maybe find the bas module for version 4.70? I don't (yet) have B4A version 8.8 or higher.
Just to also report that I...
Because I don't have a higher B4A version than 8.5 I apparently cannot use the latest BC.draw... bitmapcreator features.
In stead, I am trying to use the nice DrawLine, DrawCircle, DrawPathEmpty and DrawPathFill routines by Star-Dust. Ref...
Is there a way to draw Polygons by using BitMapCreator?
I am looking for a feature like:
Dim BC as BitmapCreator
BC.drawpoly((Array X1,Y1,X2,Y2,X3,Y3...etc), Linethickness(dip), Colour(RGB), Fill Polygon (true/false))
Obviously, the routine should preferably be as fast as possible.
Is it possible to create something like a wand tool?
I need to change all the yellow pixels, and then pixels "close to yellow", to black.
Then all the rest to white.
I was trying using BitmapCreator, and comparing pixel by pixel. But i could not figure out how to detect a range of pixels...
the Output is not optimal. Have a look down, to Erels code snip for better results.
With this snip, you can easy change a Bitmap/Icon Color. This only makes sense if the picture is monochrome with a transparent background like Icons.
BitmapCreator lacks some important instructions on Canvas.
Sometimes switching from BitmapCreator to Canvas and vice versa would slow down the code too much, so it would be better to implement them with BitmapCreator.
I started writing some divers, if someone finds a way to improve it or add...