randomouscrap98 / contentapi

A generic content system to make some kinda standard websites
GNU General Public License v3.0
8 stars 2 forks source link

Imagick image manipulator #146

Closed randomouscrap98 closed 2 years ago

randomouscrap98 commented 2 years ago

If possible, let's make an imagick image manipulator to replace the entire "self run" system. The self run system is cool but it's so complicated and I want to get rid of it. So as part of this ticket, I'd actually like to get rid of it and just make a simple IImageManipulator that makes simple calls to the imagick stack. That ofc WON'T be the default but...

Make sure you explore all of imagick to make sure this will even be feasible. Remember that you'll need multiple resizes, which means you may have to call the process multiple times, OR let imagick make it fit for you (if that's an option, I bet it is). And then cropping AND resizing? I think both can probably be done but make sure.