bitmap

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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.
  6. 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> +...
  7. C

    Android Question Bitmap to webp

    It is possible to save a bitmap in .webp?
  8. 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...
  9. A

    Android Question Snapshot of panel

    Hello, I used erel solution for snapshot an item (for example - panel) - (https://www.b4x.com/android/forum/threads/save-only-the-image-inside-the-panel.92333/#post-583937) Sub Button1_Click Dim bmp As B4XBitmap = Crop_Image(Panel1, Panel1.left, Panel1.top, Panel1.width, Panel1.height...
  10. Multiverse app

    Android Question Add text to image

    Hi, I want a library that would allow users to add text over images like this- http://innov8tiv.com/wp-content/uploads/2015/04/add-text-to-image-4-500x400.jpg I know a library exists in B4A, but can't find it right now. Can anyone point me in the right direction? Thank you.
  11. M

    Android Question How to convert bitmap to raw byte[] ?

    Hi, I'm aware that a bitmap can be converted to a compressed PNG/JPEG data array for example by using bitmap.WriteToStream(). Does a way for getting just an uncompressed data array from a bitmap exist?
  12. MarkusR

    Java Question [solved ]b4a bitmap to library android.graphics.Bitmap

    maybe someone had done this. i need to give my library a bitmap from b4a library part: public Texture(android.graphics.Bitmap Bitmap1) { this.Bitmap1 =Bitmap1; } b4a part: Dim bmp As Bitmap = LoadBitmap(File.DirAssets,"wood.png") Cube1.SetTexture(bmp)
Top