Skip to content

Commit 422a949

Browse files
committed
v1.7.4 Released
Change Log: - Fixed PNG image saved as JPG after compress issue
1 parent ff29d72 commit 422a949

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
5454
```
5555

5656
```groovy
57-
implementation 'com.github.dhaval2404:imagepicker:1.7.3'
57+
implementation 'com.github.dhaval2404:imagepicker:1.7.4'
5858
```
5959

6060
**If you are yet to Migrate on AndroidX, Use support build artifact:**
@@ -116,10 +116,10 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
116116
imgProfile.setImageURI(fileUri)
117117
118118
//You can get File object from intent
119-
val file:File = ImagePicker.getFile(data)
119+
val file:File = ImagePicker.getFile(data)!!
120120
121121
//You can also get File Path from intent
122-
val filePath:String = ImagePicker.getFilePath(data)
122+
val filePath:String = ImagePicker.getFilePath(data)!!
123123
} else if (resultCode == ImagePicker.RESULT_ERROR) {
124124
Toast.makeText(this, ImagePicker.getError(data), Toast.LENGTH_SHORT).show()
125125
} else {
@@ -276,6 +276,7 @@ Almost 90% of the app that I have developed has an Image upload feature. Along w
276276
* Fixed NullPointerException in FileUriUtils.getPathFromRemoteUri() [#61](https://github.com/Dhaval2404/ImagePicker/issues/61) (Special Thanks to [himphen](https://github.com/himphen))
277277
* Fixed UCropActivity Crash Android 4.4 (KiKat) [#82](https://github.com/Dhaval2404/ImagePicker/issues/82)
278278
* Fixed PNG image saved as JPG after crop issue [#94](https://github.com/Dhaval2404/ImagePicker/issues/94)
279+
* Fixed PNG image saved as JPG after compress issue [#105](https://github.com/Dhaval2404/ImagePicker/issues/105)
279280
280281
### Version: 1.6
281282

imagepicker/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ android {
1313
defaultConfig {
1414
minSdkVersion 19
1515
targetSdkVersion 28
16-
versionCode 11
17-
versionName "1.7.3"
16+
versionCode 12
17+
versionName "1.7.4"
1818

1919
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2020
}
@@ -72,7 +72,7 @@ ext {
7272
siteUrl = 'https://github.com/Dhaval2404/ImagePicker/'
7373
gitUrl = 'https://github.com/Dhaval2404/ImagePicker.git'
7474

75-
libraryVersion = '1.7.3'
75+
libraryVersion = '1.7.4'
7676
//If you are uploading new library try : gradlew install
7777
//If you are updating existing library then execute: gradlew bintrayUpload
7878
//In both the case don't forgot to put bintray credentials in local.properties file.

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
applicationId "com.github.dhaval2404.imagepicker.sample"
1313
minSdkVersion 19
1414
targetSdkVersion 28
15-
versionCode 11
16-
versionName "1.7.3"
15+
versionCode 12
16+
versionName "1.7.4"
1717
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1818
vectorDrawables.useSupportLibrary = true
1919
}

0 commit comments

Comments
 (0)