B4A Tutorial [B4X] B4XImageView - ImageView + resize modes - Erel    Aug 19, 2020   (30 reactions) /android/forum/threads/b4x-2-themes-dark-and-light-for-ide-code.121025/)
The bitmaps are never resized, only the internal ImageView is resized. This allows the actual image resizing to be done... B4i Question LoadBitmapResize image is blurred if the image scale down - Alexander Stolte    Dec 4, 2018 with "LoadBitmapResize"
75022 75023
The Icon is 100x100.
I use the width and height of the imageview.
ImageView1.Bitmap = LoadBitmapResize(File.DirAssets,"newest_filled.png",ImageView1.Width,ImageView1...Hello,
i have a problem with LoadBitmapResize, it is recommended to use... B4A Library [B4X] BitmapsAsync - Erel    Feb 28, 2023   (30 reactions) , similar to LoadBitmapSample (not LoadBitmapResize).
The best way to work with such images is by setting the ImageView gravity to Fill and resizing the ImageView based on the bitmap size. See the attached... it is displayed with the correct size.
- The example shows two ways to resize the ImageView. In both.../threads/b4x-simplemediamanager-smm-framework-for-images-videos-and-more.134716/#content
A cross... B4i Library clsImageResizer - Rotate, Pinch, Move Image with Fingers or a Button (like adding a sticker) - narek adonts    Mar 28, 2017   (3 reactions) Hi,
Want to share with you one of my old classes.
It is image resizer like in other apps which add a sticker,...
210441973
You can customize it as you wish.
It is very easy to use.
Dim imgR as clsImageResizer
imgR.Initialize("aa",100,100)
imgR.Bitmap=LoadBitmap(...)
myPanel.AddView(imgR.asView,...)
You can also save the attributes(position, rotation angle,...) and load them... B4A Code Snippet [B4X][XUI] Image to JPEG byte array with resize/quality options - OliverA    Apr 11, 2018   (13 reactions)   tags: B4X XUI Image Resize, jpeg /android/forum/threads/image-to-jpeg-byte-array-with-resize-quality-options.91746/). @Erel pointed out... Converts image to JPEG byte array. Ability to resize and adjust JPEG quality.
' Negative width and... B4J Library [B4X] jPictureBox (image rotate & zoom / movie resize) - Tayfur    Feb 12, 2019   (17 reactions)   tags: view image Hello all;
This is as image and basic movie viewer. it can enlarge or reduce the size...
jPicturebox1.addPicture("c:\pictures","image.png")
addMovie (Folder As String, Filename... B4i Question Image Resize & Crop question - iCAB    Jan 5, 2017 B4A I am using
Sub ResizeImage(original As Bitmap, TargetX As Int, TargetY As Int) As Bitmap
Dim... " & b.Height)
Return b
End Sub
For B4I
Sub ResizeBitmap(bmp As Bitmap, TargetX As Float, TargetY As Float) As Bitmap
Dim img As ImageView
Dim scaleX As Float = bmp.Width... the server
After the image is captured by the camera, I am calling ResizeImage, then I am... B4A Tutorial [B4X] [XUI] CustomListView - lazy loading / virtualization - Erel    Nov 16, 2023   (39 reactions)   tags: customlist view card, CustomListView, Virtualiza, XCustomListView, xuiCLV, B4X , lblAction2.TextColor) ImageView1.SetBitmap(xui.LoadBitmapResize(File.DirAssets, cd.BitmapFile, ImageView1.Width, ImageView1.Height, True)) End If Next End Sub This time it takes...) SetColorStateList(lblAction2, xui.Color_LightGray, lblAction2.TextColor) ImageView1.SetBitmap(xui.LoadBitmapResize(File.DirAssets, cd.BitmapFile, ImageView1.Width, ImageView1.Height, True....Color_LightGray, lblAction2.TextColor) ImageView1.SetBitmap(xui.LoadBitmapResize(File... B4i Question Bitmap Rotate, Resize and orientation - Semen Matusovskiy    May 3, 2019 this JPG file correctly.
In B4i I retrieved the orientation from Bitmap using GetField ("imageOrientation") and expected that I need to rotate 90 or 270 degrees. No, this does not work... B4J Code Snippet [B4X][XUI] Fill and Fit images without distortion - Erel    Jan 26, 2021   (22 reactions)   tags: image, image show aspect ratio, IMAGEVIEW .NonnormalizedScale #End If ImageView.SetBitmap(bmp.Resize(ImageView.Width * scale, ImageView.Height... = GetDeviceLayoutValues.NonnormalizedScale #End If ImageView.SetBitmap(bmp.Resize(ImageView.../forum/threads/b4x-b4ximageview-imageview-resize-modes.121359/#content) Fit = Resize the image to... it with the same aspect ratio as the container aspect ratio and then resizes the image. Example of fit....LoadBitmap(File.DirAssets, "image.png") FillImageToView(bmp, ImageView1) End Sub ... Page: 1   2   3   4   5   6   7   |