extending wp_image_editor
-
Two questions:
1. Is it possible to extend the wp_image_editor class directly instead of extending the ‘implementations’ like gd or imagick? All the stuff I’ve seen on this so far seems to indicate that you have to choose an implementation to extend, which makes sense sometimes. For example, a video I watched did a sepia filter, which is obviously going to operate differently in GD than Imagick (or GMagick). However, what my plugin is going to do doesn’t depend on either of those specifically and should be ‘library agnostic’.
2. Is there any documentation regarding extending the class as opposed to just using the class. Related to #1, I want to let GD/Imagick/GMagick do all the image manipulation, and then essentially run the result through an optimization ‘filter’.
- The topic ‘extending wp_image_editor’ is closed to new replies.