Preview images for PDFs with new imagick driver (since Kirby v5.1.0)

I’m following @texnixe‘s cookbook to create Preview images for PDFs and am wondering if this is effected by the old ImageMagick (im) driver being been deprecated?

As stated in the docs:
From Kirby v5.1.0, the driver imagick should be used instead of im, so i’ve updated my thumbs driver in the config.php file like so:

    'thumbs' => [
        'driver' => 'imagick',
        'quality'  => 80,
        'threads' => 1,
        'interlace' => true, // JPEG only
    ],

As I understand it, the bin also no longer needs to be specified in thumbs part above, however, does anything in the plugin files also need to be changed in order to match the new imagick driver?

thanks!

Theoretically, the code should still work as the ImageMagic class is deprecated but not removed, but if the binary is not correctly linked, it won’t. But I’ll mark the recipe for updating, need to go through most of them anyway. For the moment, you can still use the im driver.

Ok, great, thank you for updating it @texnixe!
After some testing, it appears that using the new imagick driver wasn’t compatible, so I will use the im driver with the bin for now.