Revert "ImageMagick is used for handling images and video thumbnail generation"

This reverts commit 3f9ecc27a5ffeadfc5175c57f148933e906b0262.