JP2 thumbnailer not working
I'm trying to make an ImageMagick-based thumbnailer for tumblr, but it doesn't seem to be picked up. This is the content of the .thummbnailer
file:
-rw-r--r-- 1 root root 149 Nov 26 15:32 /usr/share/thumbnailers/jp2.thumbnailer
[Thumbnailer Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=JP2 Thumbnailer
MimeType=image/jp2;
Exec=/usr/bin/convert -thumbnail %s %i %o
I have openjpeg2 installed, ImageMagick will happily convert a JP2 with that command line, and the mimetype exists at /usr/share/mime/image/jp2.xml
and identify -list format
contains JP2.
Furthermore, gThumb will thumbnail the files when the .thumbnailer
file is in place. I have tried to restart thunar
, kill tumblerd
and even restart the machine but it doesn't pick it up.
/usr/lib/tumbler-1/tumblerd
does output the contents of the Exec=
line when run.
If you don't have a JP2 to hand, this is an example: https://archive.org/download/completeworksrep01shakuoft/completeworksrep01shakuoft_jp2.zip/completeworksrep01shakuoft_jp2%2Fcompleteworksrep01shakuoft_0007.jp2