zetbaitsu / Compressor

An android image compression library.
7.08k stars 963 forks source link

Not creating file in custom folder path #98

Open raviyadav4875 opened 6 years ago

raviyadav4875 commented 6 years ago

In log its displaying the correct path : say /stotage/emulated/mydir/

But not creating the compressed file inside /stotage/emulated/mydir/ location.

Log.e(TAG,"folder path ="+dirFileStorage.getPath()+File.separator);

            File compressedImageFile = new Compressor(getActivity()).setQuality(50)
                    .setDestinationDirectoryPath(dirFileStorage.getPath()+File.separator).
                    compressToFile(f);
nareshkatta99 commented 6 years ago

Is the folder being created?

raviyadav4875 commented 6 years ago

Folder is already created ,i just needed the new compressed file to be created

On Sat, May 19, 2018 at 1:12 PM, Naresh Katta notifications@github.com wrote:

Is the folder being created?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zetbaitsu/Compressor/issues/98#issuecomment-390386975, or mute the thread https://github.com/notifications/unsubscribe-auth/AO0KRQpiNPqDnj3j3aBur2mAwzfOKMJEks5tz8z5gaJpZM4UEWtV .

-- For cheap web hosting Askfortricks.com

choxxy commented 6 years ago

Yah have no idea where the compressed files are being saved, isn't it supposed to replaced the original file(s)?