react-native-image-resizer icon indicating copy to clipboard operation
react-native-image-resizer copied to clipboard

[Question] How to define output file name

Open rossicler-hostalky opened this issue 7 months ago • 1 comments

Hi, how can I define the name of the output file?

I see that I can set the outputPath, but it comes with a random filename, which doesn't work as well to me. In my use case I want the resized images output path to be predictable, and for that I want to have the same name as the original image, but in a different folder.

I implemented a workaround of "renaming" the output path, but this is increases the time by almost 2x.

rossicler-hostalky avatar Jul 18 '24 17:07 rossicler-hostalky