All Projects → hsmnzaydn → image-zoom-view

hsmnzaydn / image-zoom-view

Licence: Apache-2.0 license
Imageview zoom library for android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to image-zoom-view

bubble-layout
An Android ViewGroup that displays avatar bubbles... similar to the chat bubbles on Facebook Messenger.
Stars: ✭ 46 (-11.54%)
Mutual labels:  imageview, circleimageview
MultiShapeView
支持圆角矩形,圆形自定义View
Stars: ✭ 35 (-32.69%)
Mutual labels:  circleimageview
GelbooruEnhancement
Image Viewer and Endless Scroll userscripts for Gelbooru and various other boorus
Stars: ✭ 41 (-21.15%)
Mutual labels:  image-viewer
vimiv-qt
An image viewer with vim-like keybindings
Stars: ✭ 130 (+150%)
Mutual labels:  image-viewer
FaceAware-Android
this helps to auto zoom for face on ImageView
Stars: ✭ 46 (-11.54%)
Mutual labels:  imageview
Vudit
A file viewer for Android
Stars: ✭ 40 (-23.08%)
Mutual labels:  image-viewer
aspect-ratio-imageview
A simple imageview which scales the width or height aspect with the given ratio
Stars: ✭ 72 (+38.46%)
Mutual labels:  imageview
Leon
Leon is swift library to show and slid images with more gesture
Stars: ✭ 16 (-69.23%)
Mutual labels:  imageview
saccade
A sophisticated scientific image viewer for Linux with OpenGL support and synchronized viewports
Stars: ✭ 38 (-26.92%)
Mutual labels:  image-viewer
av.imageview
Titanium native ImageView module that extends the default Titanium ImageView with more capabilities and a different caching system.
Stars: ✭ 97 (+86.54%)
Mutual labels:  imageview
PixlView
Mac tool to view raw pixel data in a variety of formats
Stars: ✭ 20 (-61.54%)
Mutual labels:  image-viewer
react-imageViewer
React component for image displaying in full screen
Stars: ✭ 61 (+17.31%)
Mutual labels:  image-viewer
NoiseView
Android library written in kotlin that add a noise effect to image.
Stars: ✭ 47 (-9.62%)
Mutual labels:  imageview
html-mangareader
A lightweight offline CBZ/CBR and image viewer with full continuous scrolling
Stars: ✭ 84 (+61.54%)
Mutual labels:  image-viewer
Parrot
A simple way to handle remote image in Kotlin.
Stars: ✭ 21 (-59.62%)
Mutual labels:  imageview
AndroidBigImage
Automatically generate a new Android application to display, zoom and scroll on a big image!
Stars: ✭ 49 (-5.77%)
Mutual labels:  image-viewer
CombineView
View that combines multiple images
Stars: ✭ 27 (-48.08%)
Mutual labels:  imageview
Image-Support
Add badge with counter to ImageView Android.
Stars: ✭ 128 (+146.15%)
Mutual labels:  imageview
ImagePicker
Android library to choose image from gallery or camera with option to compress result image
Stars: ✭ 73 (+40.38%)
Mutual labels:  image-viewer
Pigment.O
Krita - Plugin - Color Picker and Mixer
Stars: ✭ 75 (+44.23%)
Mutual labels:  image-viewer

image-zoom-view

Imageview zoom library for android. It's simple show image library.




Demo


Quick start

1) Add this library as a dependency in your app's build.project file.
  
allprojects {  
      repositories {  
         maven { url 'https://jitpack.io' }  
      }  
   }  
  

2) Add this dependency to your app's build.module file.

implementation 'com.github.hsmnzaydn:imagezoom:1.4.0'

3) Add the view to your layout XML.

<ozaydin.serkan.com.image_zoom_view.ImageViewZoom  
    android:layout_width="wrap_content"  
    android:layout_height="wrap_content"  
    android:src="@drawable/aleyna_fox" />

Features

Drawing as round

<ozaydin.serkan.com.image_zoom_view.ImageViewZoom  
            android:layout_width="wrap_content"  
             android:layout_height="wrap_content"  
             app:circle="true"  
             android:src="@drawable/aleyna_fox" />

Get ImageViewZoom's base64 decoded

Returns ImageViewZoom's base64
imageViewZoom.getBase64();  

Save Image As File

Step 1.
Init ImageViewZoomConfig
Set saveProperty field as "true"

Init saveMethod
If you want show save option to user only when open dialog you have to set "ImageViewZoomConfig.ImageViewZoomConfigSaveMethod" as "onlyOnDialog"
If you want save image when run code you have to set "ImageViewZoomConfig.ImageViewZoomConfigSaveMethod" as "always".

 ImageViewZoomConfig imageViewZoomConfig =new ImageViewZoomConfig.Builder().saveProperty(true).saveMethod(ImageViewZoomConfig.ImageViewZoomConfigSaveMethod.onlyOnDialog).build();

Step 2. Set Config

imageViewZoom.setConfig(imageViewZoomConfig);

Step 3. Use "saveImage()" method

imageViewZoom.saveImage(MainActivity.this, "ImageViewZoom", "test", Bitmap.CompressFormat.JPEG, 1, imageViewZoomConfig,new SaveFileListener() {  
  @Override   
  public void onSuccess(File file) {  
     Toast.makeText(MainActivity.this,"Success",Toast.LENGTH_SHORT).show();
   }     
  @Override  
  public void onFail(Exception excepti) {  
    Toast.makeText(MainActivity.this,"Error Save",Toast.LENGTH_SHORT).show();  
  }  
});

Dependicies

Subsampling Scale Image View
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].