B4A Library Convert/Compress Image - WebP, JPG, PNG - Pendrush    May 17, 2021   (14 reactions) Bitmap1 As Bitmap = LoadBitmap(File.DirAssets, "test.png") Dim SavePathAndFileName As String = File.Combine(File.DirInternal, "test.webp") ConvertImage1.ConvertBitmapToFile(Bitmap1...Convert/Compress Image between different formats WebP, JPG, PNG. ConvertImage Author: Pendrush Version: 1.00 ConvertImage Events: OnComplete OnError (Error As String) Fields: TO_JPEG As android.graphics.Bitmap.CompressFormat Compress to the JPEG format TO_PNG As android.graphics.Bitmap... B4A Library Image Processing (for Bitmaps) - Jim Brown    Dec 13, 2014   (15 reactions) Hi fellow users,
Image Processing (for Bitmaps)
Target devices: 4.4 Kitkat (API 19) or higher
1... use same config as its source bitmap.
I have written a very small Image Processing library... IP As ImageProcessing
End Sub
bmp=IP.Contrast(SourceBitmap,0.7)
The attached contains examples.... Fixed Invert
All functions now respect B4A Bitmap wrapper
1.04 - 01/12... B4A Library [B4Xlib] SD: GridImage - Star-Dust    Nov 29, 2020   (31 reactions) This library adds a view that displays images loaded from local or from the internet (by entering only the url) and arranges them in a grid. The clicked image is displayed in double size. The basic size of each cell can be established sd_gridimage Author: Version: 0.04 GridImage Events...: KeepAspectRatio As Boolean mBase As B4XView MovTime As Int Animation duration Tag As Object Functions: AddImage (ID As String, bmp As B4XBitmap) AddUrlImage (ID As String, url As String) Clear DesignerCreateView... B4A Library Preview image picker - Peter Simpson    Oct 8, 2018   (23 reactions)   tags: Preview image picker Hello all, I was looking for a single row vertically scrolling preview image picker on the forum... here it is. The preview image picker will display jpg, png and bmp images. Please note that if... the correct event sub call PreviewImagePicker. Basic instructions: Select SS_PreviewImagePicker from the libraries manager tab. Sub Globals Private ImagePicker As PreviewImagePicker End Sub Sub Activity_Create(FirstTime As Boolean) ImagePicker.Initialize(Me, Activity, "Logo"... B4A Library Palette - Create color palette from bitmap - corwin42    Jan 10, 2017   (16 reactions) .Initialize("Palette", ImageView1.Bitmap) paletteBuilder.GenerateAsync Sub... a Highlight color from a Bitmap. Google added the Palette Class for this to the support library. This is a wrapper for this class. First some example images of the example app: 51802 51803 51804... First initialize a PaletteBuilder object with eventname and a bitmap which should be analyzed... since analyzing the image will take some time and the UI thread will be blocked! If analyzing... B4A Library Webview - Right click to save image - drgottjr    Nov 2, 2020   (6 reactions) tasks, you can select and download images appearing on the page. Attached below you will find Contextual (.jar and .xml), a library which allows you to download and save images from a webview. Unzip... you find an image of interest that you wish to download, tap and hold it (aka, long click or long press... SafeDirDefaultExternal, Cancel. If you choose to save the image, the system sends you a notification... store images in your app's so-called SafeDirDefaultExternal folder. What it doesn't do... B4A Library BitmapMerger - somed3v3loper    Oct 2, 2016   (13 reactions) Two bitmaps merger from this project https://github.com/sharish/BitmapMerger 48523 BitmapMerger Author: SMM Version: 0.01 BitmapMerger Events: merged (mergedBitmap as Bitmap As ) Methods: Initialize (EventName As String) Merge (baseBitmap As Bitmap, mergeBitmap As Bitmap, angle As Int.... 'These variables can be accessed from all modules. Dim immerger As BitmapMerger... As ImageView End Sub Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load... B4A Library Picasso image downloading and caching library - warwound    Sep 6, 2013   (14 reactions) into the target ImageView's bounds. Get As BitmapWrapper Synchronously fulfill this request... as an ImageView Bitmap: Picasso1.LoadUrl("http://i.imgur.com/DvpvklR.png").IntoImageView... the downloaded image as an ImageView Bitmap it can raise an event and pass the downloaded Bitmap to... Events: Error (Tag As Object) Success (Bitmap1 As Bitmap, Tag As Object) Methods: Initialize... As Object) Log("Target1_Error Tag="&Tag) End Sub Sub Target1_Success(Bitmap1... B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE) - Star-Dust    Oct 7, 2025   (20 reactions) As String) As String DefineImage (Image As Bitmap) Disconnect As String flushAllAndClose Initialize.../android/forum/threads/b4x-b4xpages-pdf-to-image-b4xbitmap.142404/ SD_EscPosPrinter Author: Star... ImageWriteComplete PrinterFound (Name As String, ID As String) StateChanged (msg As String) WriteComplete... PrintBitmap (bmp As Bitmap) RightJustify As String after this command calls SendBufferToPrinter... As Int Const_COMPUTER As Int Const_HEALTH As Int Const_IMAGING As Int Const_MISC As Int... B4A Library [Moved] xImageSliderIG - Brandsum    Jun 23, 2020   (21 reactions)   tags: image slider horizontal, Xui Moved to https://www.b4x.com/android/forum/threads/b4x-xui-ximagesliderig-instagram-style-image-and-video-slider.119402/... Page: 1   2   3   4   5   6   7   |