bitmapcreator

  1. M

    Android Question Clip / Crop with bitmapcreator ?

    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.
  2. M

    Android Question Using BitMapCreator to put a Border around a bmp

    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...
  3. Syd Wright

    Android Question BitmapCreator v4.73 draws unwanted lines

    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...
  4. Syd Wright

    Android Question Where to find BitmapCreator Version 4.70 ?

    I recently found BitmapCreator version 4.30 (bitmapcreator.bas) here: https://www.b4x.com/android/forum/threads/xui2d-bitmapcreator-drawing-methods.98148/#content 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...
  5. Syd Wright

    Android Question Objects missing in Star-Dusts BitmapCreator Objects

    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...
  6. Syd Wright

    Android Question Use BitmapCreator to draw Polygon

    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.
  7. D

    Android Question I do not find BCBrush library or module

    In order to use anotherprogressbar I need to use PCBrush and I don't know where to find it
  8. jroriz

    B4J Question [Solved] Wand tool

    to 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...
  9. Alexander Stolte

    Android Code Snippet [B4X] [BitmapCreator] Change Color of Bitmap

    Hello, 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. Usage: ImageView1.Bitmap =...
  10. Star-Dust

    Android Code Snippet [BAX] [XUI] BitmapCreator - DrawLine, DrawPath , DrawCircle, DrawArc, DrawImageTrapezoid

    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...
Top