scaleflex / filerobot-image-editor

Edit, resize, and filter any image! Any questions or issues, please report to https://github.com/scaleflex/filerobot-image-editor/issues
MIT License
1.26k stars 321 forks source link

Apply filter on single image #440

Closed DeanTorto closed 1 month ago

DeanTorto commented 4 months ago

Is there a way to apply the filter to the selected image only. currently when you apply a filter this seems to be applied to all uploaded images.

I'd also like to get the url of the image that has been filtered and display that in the uploaded images when a user selects another image to apply the filter to.

AhmeeedMostafa commented 4 months ago

Hello, @DeanTorto sorry for the late reply our time doesn't allow us to keep an eye on the issues regularly recently.

Unfortunately what u requested for isn't possible for now (we might include it as possible enhancement in the feature once we have enough time to maintain the project more by new feats & improving the behaviors) for the meantime if someone could contribute by applying this we don't mind for sure :)

DeanTorto commented 4 months ago

Hi

Many thanks for your reply.

OK that's helpful, in the meantime if I wanted to retrieve the code for when a user clicks on the Save button, how can I do this? Perhaps I could utilise the code and implement the function to apply the filter.

:)

AhmeeedMostafa commented 1 month ago

@DeanTorto I didn't understand your question exactly, if you mean about the code place that is responsible about save button, you'll fine inside packages/react-filerobot-image-editor/src/components/Topbar/SaveButton.jsx