2.0.0版本
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference at id.zelory.compressor.ImageUtil.compressImage(ImageUtil.java:27) at id.zelory.compressor.Compressor.compressToFile(Compressor.java:60) at id.zelory.compressor.Compressor.compressToFile(Compressor.java:56)
2.0.0版本 java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference at id.zelory.compressor.ImageUtil.compressImage(ImageUtil.java:27) at id.zelory.compressor.Compressor.compressToFile(Compressor.java:60) at id.zelory.compressor.Compressor.compressToFile(Compressor.java:56)