You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-21
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
14
14
<ahref="https://play.google.com/store/apps/details?id=com.yalantis.ucrop.sample&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-AC-global-none-all-co-pr-py-PartBadges-Oct1515-1"><imgalt="Get it on Google Play"src="https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png"width="185"height="70"/></a>
15
15
16
-
1. Include the library as local library project.
16
+
1. Include the library as a local library project.
17
17
18
18
```
19
19
allprojects {
@@ -25,9 +25,9 @@
25
25
```
26
26
27
27
``` implementation 'com.github.yalantis:ucrop:2.2.6' ``` - lightweight general solution
28
-
28
+
29
29
``` implementation 'com.github.yalantis:ucrop:2.2.6-native' ``` - get power of the native code to preserve image quality (+ about 1.5 MB to an apk size)
30
-
30
+
31
31
2. Add UCropActivity into your AndroidManifest.xml
32
32
33
33
```
@@ -73,24 +73,24 @@ If you want to let your users choose crop ratio dynamically, just do not call `w
73
73
74
74
uCrop builder class has method `withOptions(UCrop.Options options)` which extends library configurations.
75
75
76
-
Currently you can change:
76
+
Currently, you can change:
77
77
78
78
* image compression format (e.g. PNG, JPEG, WEBP), compression
79
79
* image compression quality [0 - 100]. PNG which is lossless, will ignore the quality setting.
80
80
* whether all gestures are enabled simultaneously
81
-
* maximum size for Bitmap that is decoded from source Uri and used within crop view. If you want to override default behaviour.
81
+
* maximum size for Bitmap that is decoded from source Uri and used within crop view. If you want to override the default behaviour.
82
82
* toggle whether to show crop frame/guidelines
83
83
* setup color/width/count of crop frame/rows/columns
84
-
* choose whether you want rectangle or oval crop area
84
+
* choose whether you want rectangle or oval(`options.setCircleDimmedLayer(true)`) crop area
85
85
* the UI colors (Toolbar, StatusBar, active widget state)
* CPU - armeabi armeabi-v7a x86 x86_64 arm64-v8a (for versions >= 2.1.2)
93
-
93
+
94
94
# Changelog
95
95
96
96
### Version: 2.2.5
@@ -106,13 +106,13 @@ Currently you can change:
106
106
* **AndroidX migration**
107
107
* Redesign
108
108
* Several fixes including [#550](https://github.com/Yalantis/uCrop/issues/550)
109
-
109
+
110
110
### Version: 2.2.3
111
111
112
-
* Several fixes including [#445](https://github.com/Yalantis/uCrop/issues/445), [#465](https://github.com/Yalantis/uCrop/issues/465) and more!
113
-
* Material design support
112
+
* Several fixes including [#445](https://github.com/Yalantis/uCrop/issues/445), [#465](https://github.com/Yalantis/uCrop/issues/465) and more!
113
+
* Material design support
114
114
* uCrop fragment as child fragment
115
-
* Added Italian language
115
+
* Added the Italian language
116
116
117
117
### Version: 2.2.2
118
118
@@ -131,7 +131,7 @@ Currently you can change:
131
131
### Version: 2.1
132
132
133
133
* Fixes issue with EXIF data (images taken on front camera with Samsung devices mostly) [#130](https://github.com/Yalantis/uCrop/issues/130) [#111](https://github.com/Yalantis/uCrop/issues/111)
134
-
* Added API to set custom set of aspect ratio options for user. [#131](https://github.com/Yalantis/uCrop/issues/131)
134
+
* Added API to set custom set of aspect ratio options for the user. [#131](https://github.com/Yalantis/uCrop/issues/131)
135
135
* Added API to set all configs via UCrop.Options class. [#126](https://github.com/Yalantis/uCrop/issues/126)
136
136
* Added ABI x86_64 support. [#105](https://github.com/Yalantis/uCrop/issues/105)
137
137
@@ -140,7 +140,7 @@ Currently you can change:
140
140
* Native image crop (able to crop high-resolution images, e.g. 16MP & 32MP images on Nexus 5X).
141
141
* WebP compression format is not supported at the moment (choose JPEG or PNG).
142
142
* Now library copies EXIF data to cropped image (size and orientation are updated).
143
-
143
+
144
144
### Version: 1.5
145
145
146
146
* Introduced "Freestyle" crop (you can resize crop rectangle by dragging it corners) [#32](https://github.com/Yalantis/uCrop/issues/32)
@@ -149,21 +149,21 @@ Currently you can change:
149
149
150
150
### Version: 1.4
151
151
152
-
* Introduced http(s) Uri support!
153
-
* Image is cropped in background thread.
152
+
* Introduced HTTP(s) Uri support!
153
+
* Image is cropped in a background thread.
154
154
* Showing loader while Bitmap is processed (both loading and cropping).
155
155
* Several bug fixes.
156
156
* Couple new things to configure.
157
157
* Updated minSdkVersion to Android ICS 4.0 (no reason to support couple percents of old phones).
158
158
159
159
### Version: 1.3
160
160
161
-
* Image is loaded in background thread. Better error-handling for image decoding.
161
+
* Image is loaded in a background thread. Better error-handling for image decoding.
162
162
* Improved EXIF data support (rotation and mirror).
163
163
* Small UI updates.
164
164
* Couple new things to configure.
165
-
166
-
* Sample updated with possibility to choose custom aspect ratio.
165
+
166
+
* Sample updated with the possibility to choose custom aspect ratio.
167
167
168
168
### Version: 1.2
169
169
@@ -179,7 +179,7 @@ Currently you can change:
179
179
180
180
### Let us know!
181
181
182
-
We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the library.
182
+
We’d be really happy if you sent us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the library.
0 commit comments