Hello, 2 years ago i already had the idea of this view, but I failed in some places, but now I have taken up the challenge and the result is impressive. Inspired by @Johan Schoeman FabricView and CanvasView. Features cross-platform compatible set a background image draw, erase or draw lines...
www.b4x.com
To draw the image on the canvas
B4A:
Private cv1 As ASDraw
Private bg As Bitmap
bg = LoadBitmapResize(File.DirInternal, FileName, Width, Height, True)
cv1.BackgroundImage_setImage(bg,True)
then you record
B4A:
Dim Out As OutputStream
Out = File.OpenOutput(File.DirInternal, "yourfile.jpg", False)
cv1.ImageComplete.WriteToStream(Out, 100, "JPEG")
File.Copy(File.DirInternal, "yourfile.jpg",File.DirRootExternal&"/download","yourfile.jpg")
Out.Close
Hi, I think I misunderstood, there is only one image included.
What I want is to add several images (each one below the previous one) to create a single image.
Hi. I captured 2 portions of the screen, now I want to put them together in one image, side by side. After that I want to write that image to HD as a png file. This is what I have so far ... Dim Bitmap1 As B4XBitmap = Capture(x, y, width, height) Dim Bitmap2 As B4XBitmap = Capture(x, y...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.