Compressor
Compressor copied to clipboard
width and height > 0 Exception, on correct path
I have double checked the file I'm using for compressToFile(
Though compressToFile(java.lang.IllegalArgumentException:
width and height must be > 0`
This is the calling function
File compressedFile = Compressor.getDefault(this).compressToFile(new File(uri));
Where uri is a string representing the location.
Same here. I tried all combinations(Uri/Path) but still it is throwing that exception.
Same here.
Try new version bros..
same here in huawei android 6.0 with the new version 1.0.4
File compressedFile = Compressor.getDefault(getApplicationContext()).compressToFile(file);
Caused by: java.lang.IllegalArgumentException: width and height must be > 0
I have same problem on Android 7.0 , Nexus 5. Version 1.0.4
I have same problem on Android 6.0 , Motorola XT1068
Experiencing the same issue on Samsung Galaxy Note8, Android 7.1
Library version 2.1.0