bitmap

  1. Pedro Caldeira

    Android Question save two images side to side in one single image

    Hello All, I need to grab a pre existing image, generate a qrcode as a second image, set up a canvas, set them side by side and save the canvas as a single image. What am I doing wrong since I always get an empty image in the right area. I have tried to set both as the first existing image and...
  2. D

    iOS Question bitmap - object not initialized (B4i v7.50 and iOS 14.6)

    Hi Guys I have a problem with some old code that now throws an error when compiled using the latest version of B4i v7.50 but only on a devices running iOS14.6 - OK on a device running iOS 12.5.4. The same code is cross platform and runs OK on Android devices. B4i forms designer has a ImageView...
  3. moty22

    Share My Creation TFT Voltmeter

    The code doesn't use any library, the SPI is set by inline C. Using 1.8" TFT with ST7735 driver, displaying universal 5x7 fonts for 0 to 9. The code works only for ATMEGA328, I used Arduino Nano. Voltage input at A0. Bitmap is BMP of 16 (5:6:5) bit color, it uses about 85% of the RAM. ' TFT...
  4. Angel Garcia

    iOS Question Blurry images on CSBuilder

    Hi All, Maybe this is a silly question, i'm getting blurry/distorted images when appending images to CSBuilder. I use the resize function on initialize bitmap to adjust images before adding them to the builder. I'm using the code on this post to perform the append image...
  5. M

    iOS Question Image.Rotate Strange behavior

    Hi everyone. From today the instruction .Rotate for a bitmap is behaving in a strange way. I think the only thing changed is that I update to iOS 14.3. My tests The code Sub Cam_Complete(Success As Boolean, Image as Bitmap, VideoPath As String) If Success Then If...
  6. R

    Android Question Capture Webview Problem

    Hello!, i'm trying to capture a webview and it doesn't come out complete I do not know what the error is, I attach project
  7. gezueb

    Android Question Camera picture size

    The code below takes a picture, saves and loads it back. However, the image after the code execution is not scaled as in the preview, it looks as if cropped and then resized to the view. Sub TakePicture Wait For(cam.FocusAndTakePicture(MyTaskIndex)) Complete (Data() As Byte)...
  8. sdixon

    Android Question Transfer image from one B4XView to another

    i download an image and place it into a B4XView. I would also like to use the same image in another B4XView. How can I transfer the image so I don't have to download it twice? Thanks
  9. M

    Android Question Insert bitmap in a button that have colordrawable

    Hi everyone, I've a round button (with border), but i want to insert a bitmap into too. i'm trying to achieve the same effect i've done in my iOS app. It's possibile to this thing? Thanks in advance!
  10. M

    Android Question SVG in button

    hi, i wanted to know if there is a way to put an svg as image in a button (int the bitmap properity) Thanks in advance!
  11. bdunkleysmith

    B4J Question Write image data from buffer to a bitmap

    My question is how to write image data held in a buffer to a bitmap for subsequent display in imageview or further manipulation? With reference to the library I'm working on in this post, I am successfully capturing video frames sent via NDI with the data of each frame stored in a ByteBuffer...
  12. MitchBu

    Android Question Bitmaps less bulky for printing purposes ?

    I am still struggling with printing. PDF printing creates random errors, so I am exploring bitmap printing. But to get to 300 dpi requires a picture 2550x3300 for a letter size printing. As a result, the resulting default bitmap format chokes the printer. Would it be possible to use a less...
  13. Jeffrey Cameron

    Android Code Snippet Draw Bitmap Rotated From Upper-left Corner

    I needed to draw a bitmap rotated from the upper-left corner, not the center of the image as the canvas DrawBitmapRotated function does. After looking up the math and coding this again for the I-don't-know-how-many time, I decided to post it here so I could find it quickly in the future, or...
  14. jahswant

    Share My Creation [B4X]237Pos-B4XPages CrossPlatform Point Of Sale(Android,iOS And Desktop).

    OUR 237Pos App is Upgraded to B4X and 2 new Versions (B4i,B4J) adding the capability of Holding Sales. 237POS Cross Platform Point Of Sale Application built with B4X tools that will run on Desktops(Windows,macOS,Linux) Android Tablets And iPads. Customizations And Full Source Codes Available...
  15. Kevin Hartin

    Android Question How to put bitmap object into imageview

    I am successfully putting image files into an Sqlite blob, then later reading them from the blob field, however I end up with them in a bitmap object which I then have to put into an imageview. I can see the activity background image, so I k ow I have the blob as an image object, I just need to...
  16. Scotter

    Android Question Wanting to move bitmap along spiral path

    So I've learned how to make a bunch of bitmaps fly out of the center of the screen using the SetLayoutAnimated method and a timer. What I'd like to do next is move a bitmap along a spiral path starting from the center of the screen. Any ideas on how to accomplish this without using thousands of...
  17. peacemaker

    Android Question Barcode scanner and get camera's Bitmap

    HI, All Do we have any barcode scaning lib or class that together with the scanning allows to get Bitmap from camera ? For some extra analyzing.
  18. Cornelius Smit

    iOS Question Base64 to Bitmap

    Good day I am a bit frustrated as my code work in Android but not in IOS I get the following error Error occurred on line: 65 (Main) Error loading image. Stack Trace: ( CoreFoundation <redacted> + 252 libobjc.A.dylib objc_exception_throw + 56 CoreFoundation <redacted> +...
  19. C

    Android Question Bitmap to webp

    It is possible to save a bitmap in .webp?
  20. R

    Android Question swap colours of bitmap

    Using .png images for ACToolbar icons. Produce the bitmapdrawables with this code: Sub BitmapDrawableFromFile(strFolder As String, strFile As String) As BitmapDrawable Dim bmp As Bitmap Dim bmpd As BitmapDrawable bmp = LoadBitmap(strFolder, strFile) bmpd.Initialize(bmp) Return bmpd End...
Top