Sub CreateSquareThumbnail(Input As B4XBitmap) As B4XBitmap
If Input.Width <> Input.Height Then
'if the image is not square then we crop it to be a square.
Dim l As Int = Min(Input.Width, Input.Height)
Return Input.Crop(Input.Width / 2 - l / 2, Input.Height / 2 - l /...
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!
HeyHo,
i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high quality view cost a lot of time. If you want to support me, then you can do it here by Paypal. :)
This view was inspired by Image Comparison Slider and this.
Features...
Hello, my images was looking like this https://www.b4x.com/android/forum/threads/loadbitmapresize-image-is-blurred-if-the-image-scale-down.100068/#content
So i used the code provided by Erel and it works, the images it is not blurred, but in some devices its stretched, see in the attached file...
Hello,
I'm using this example to do my chat: https://www.b4x.com/android/forum/threads/b4x-cross-platform-chat-layout-example.112649/#content
But i did not get how to put an image in the bubble. Is there a way to do this with this example?
Thank you.
Hi all,
I'm trying to figure out how to reveal an image by putting a black bitmap on top of it, then letting the user draw on the screen to gradually reveal the image.
(Think of it as rubbing soot off a window so you can see through it.)
I can draw with transparency to completely reveal the...
Hi, for my personal need, i had to write a small class in order receive notification when the app is showing (foreground).
Maybe it can be useful to someone.
You can set:
Custom Text Color
Custom Background Color
The showing time
An icon
Vibrate (import the library "iPhone")
Hello,
I am working with 2 types of image sources:
- IMG downloaded from an URL and
- images returned into a json with base64 format.
1/ But i do not know how to put the image b64 in an image view,
2/ in the meantime and until today, I do like this: I first copy the image datas from base64...
Hi, when my application starts, i need to download all image files from my web-server specific folder and place it in cache folder of app. i tried but i can't able to do it successfully.
Hello, i was looking for a lib that do all the functions mentioned in title and the best lib that i found and that works perfectly is this one https://www.b4x.com/android/forum/threads/multitouchwithdynamicaddandremove.84516/#content made by @Johan Schoeman
But it's only working with one image...
Here is a ContentChooser Example project to choose a image at phone for use in a activity with image view. it works with B4A 9.x and Android 8.1
https://www.b4x.com/android/help/phone.html#contentchooser
https://wiki.selfhtml.org/wiki/MIME-Type/Übersicht
Hi All, i need to show the image taken using CameraEx class in the gallery, I found the code below which i am implementing in the Camera1_PictureTaken function right after taking the picture, i remember this working just fine before, but for some reason it is no longer working, i thought maybe i...
Hello,
im using the library : ImageDownloader
in a loop of a few items of a customview
I just noticed that the images are systematically downloaded from the server.
In fact, I would like to find a way to use the cache
when :
- the image already exists
- and has the same properties. (if...
Buenas,
Estoy trabajando en un proyecto donde debo cargar una imagen desde la galería y mostrarla en un imageView, ya la puedo seleccionar con este código:
Chooser.Initialize("chooser")
Try
Chooser.Show("image/*", "Seleccione Imagen")
Log("Imagen Cargada")
Catch...
Hello, i am trying to get image from a video. I did it when i recorded a video and went back to app, but when i use the ContentChooser i can't do this.
How can i get the image from a video after i choose this image with ContentChooser?
Here is my code to get the image after i record a video...
I'm looking for an imageview that provides the usual pinch to zoom and panning capabilities. I came across Narek Adonts' libZOOM library, discussed here: https://www.b4x.com/android/forum/threads/zoomable-imageview.55185/ but I am having the same issue that Graham Bancroft reported which is...
I found this great photo editor, it is free to integrate : https://www.dsphotoeditor.com/
standard license also for commercial apps is free (if the logo is displayed)
white label customization available for a fee
Any volunteer to create a b4a wrapper?
Would be really nice !
I used to open...
I'm sure some of you have seen some of the youtube clips of the ESP32 Camera Module (if not you can check out a few here). The demos are intriguing and open up a world of possibilities. I have a project in mind to use an ESP32 and the Camera module triggered from a PIR sensor and snap a picture...
Hello,
I tried to use Erel's new class (https://www.b4x.com/android/forum/threads/class-fileprovider-share-files.97865/#content) to share an image. I tried to share an image by the example of sharing a file, but the app crashed...
Does anybody have an example of sharing an image(only) using...