Overriding default ImageMagick thumb driver

I’m trying to figure out a way to override the default ImageMagick thumb driver in Kirby 3, similar to what is discussed on this Kirby 2 thread:

But I cannot seem to find any guidance on it anywhere! Perhaps I’m searching for the wrong thing? If anyone has any tips or examples, I would be super grateful!!

(Specifically I’m trying to dither specific images, not all, but I can dig in to that after I figure out how to override the driver in the first place!)

You can override thumb core component, here documentation:

1 Like

Ahhh thank you so much. That looks like exactly what I was looking for!

If you want to override the IM and GD drivers, check out the Focus plugin for an example: https://github.com/flokosiol/kirby-focus

You probably don’t want to create your own thumb generator?

I suppose not? I’m not sure. The goal is to be able to dither certain images, basically. I figured this is going to involve modifying the existing IM driver in some way, but that might not be right!

Yes, I think that’s right.