Manipulate an image before saving or after to the media libary


I want to add a colour effect and pixelate etc to my images. So the best way I think of is to do the manipulation of all images prior to saving.

I have the created the class to call and manipulate the image.

Which is the best hook / filter I could use to perform such a task, to run my code before the image is saved. Or if there is a way to get it done after the image(s) have been saved?

Simon Davies 3 years 2020-06-03T06:10:20-05:00 0 Answers 67 views 0

Leave an answer