SiliCompressor icon indicating copy to clipboard operation
SiliCompressor copied to clipboard

how to specify destination directory path ?

Open kpradeepkumarreddy opened this issue 6 years ago • 4 comments

how to specify destination directory path ?

kpradeepkumarreddy avatar Jul 02 '18 06:07 kpradeepkumarreddy

can anybody share some code samples for using this library ?

kpradeepkumarreddy avatar Jul 02 '18 09:07 kpradeepkumarreddy

Hi @kpradeepkumarreddy, from what was said in the project description, here is how the library can be use specifying the destination file. String filePath = SiliCompressor.with(Context).compress(imageUriString, destinationFile); destinationFile is the file object you created, which will be written to when your image is compressesed

@kpradeepkumarreddy got any soln ?

saurabhkanswal avatar May 01 '22 10:05 saurabhkanswal

@kpradeepkumarreddy got any soln ?

I'm using this compressor implementation 'id.zelory:compressor:3.0.1'

pradeep-orbi avatar May 02 '22 06:05 pradeep-orbi