B4A Library [B4X] [XUI] AS Image Comparison Slider

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
  • cross-platform compatible
  • image compare
Bildschirmfoto 2020-05-02 um 03.21.38.png
Screenshot_20200502-032450.jpg
ezgif.com-resize.gif


ASImageComparisonSlider
Author: Alexander Stolte
Version: 1.00

  • ASImageComparisonSlider
    • Fields:
      • xcv_main As B4XCanvas
    • Functions:
      • Class_Globals As String
      • DesignerCreateView (Base As Object, Lbl As Label, Props As Map) As String
        Base type must be Object
      • getDescriptionLabel_Left As B4XView
      • getDescriptionLabel_Right As B4XView
      • getImage1 As B4XView
      • getImage2 As B4XView
      • getSliderLabel As B4XView
      • getSliderPanel As B4XView
      • Initialize (Callback As Object, EventName As String) As String
      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • setImages (img1 As B4XBitmap, img2 As B4XBitmap) As String
    • Properties:
      • DescriptionLabel_Left As B4XView [read only]
      • DescriptionLabel_Right As B4XView [read only]
      • Image1 As B4XView [read only]
      • Image2 As B4XView [read only]
      • SliderLabel As B4XView [read only]
      • SliderPanel As B4XView [read only]
Changelog
  • 1.0
    • Release
Have Fun :)
 

Attachments

  • B4A Example.zip
    348 KB · Views: 581
  • B4I Example.zip
    406.2 KB · Views: 473
  • B4J Example.zip
    346.9 KB · Views: 459
  • ASImageComparisonSlider.b4xlib
    2.1 KB · Views: 580
Last edited:

werner_Fourie

Member
Licensed User
Longtime User
Very Nice...

How difficult would it be if possible at all to display or mark or flag if there is a difference in the 2 images that is compared..

thx
 
Top