Erel had previously installed a CCTV source:
I edited these sources for further practice so that images from one client are sent in bytes to the server and from the server are sent to another client, and in another...
An easy way to take/record/choose photo/video/audio with this small class (clMedia.bas).
No permission needed
It uses intents to call default app.
3 constants for media type
cPhoto = 0
2 constants for origin
1 method to call with 2 parameters (media...
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...
Maybe this is a silly question, I'm new in B4i and i'm translating a long project from B4A to B4i,
I'm debuging on an iPhone and i'm getting weird codes when trying to append a single image to a csBuilder and showing it in a label object
I'm using this post information...
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.
Sub Cam_Complete(Success As Boolean, Image as Bitmap, VideoPath As String)
If Success Then
if the application is for example in portrait and the image to be displayed would be displayed better if it were landscape, could the image be rotated by 90 degrees and then displayed in the imageview?
I dont want to rotate the whole app to landscape.
I am having trouble loading an image (sql type: image) into my customlistview. Without the Image code all works fine, I would appreciate some here as I an running into walls.
#Region Activity Attributes
with ImageView just Do so
Dim img As ImageView
Activity.AddView(img, 0%x, 5%y, 100%x, 20%y)
But how would it be To insert a B4XImageView component in the Activity via line of code?
Thank you very much in advance
I have code to download the firebase image, and it was working well with the same code for two days, for some reason today I have started to receive errors, I have searched everywhere but can not find out what might be the problem.
Sub DownloadAndSaveFile (Link As String) As...
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 /...
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.
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...
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?
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
Vibrate (import the library "iPhone")
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...
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...