I'm working on a directory catalogue application, and have thus far been using qlmanage to produce thumbs. As far as I can tell, qlmanage doesn't support defining image output type from the command line, and I need jpegs, not pngs. I could pipe the png to imagemagick but I'd rather not do that for performance reasons. I was happy to find this wrapper and have been using it quite a bit. I am sending lots of files of all types, and it works as expected.
Today I encountered an issue with .emlx files. These seem to be the only files that create this issue. qlmanage can generate a thumbnail instantly without issue, but ql-thumbnail hangs for a few seconds, then fails to create the thumbnail file.
For example,
qlmanage -t -f 4 -o . 22221.emlx
produces a png, 22221.emlx.png, 512 pixels with the appropriate preview image
The same operation with ql-thumbnail fails without any output
ql-thumbnail 22221.emlx . public.png 512 512
I've tried public.png and public.jpeg without success. Any help is much appreciated!
I'm working on a directory catalogue application, and have thus far been using qlmanage to produce thumbs. As far as I can tell, qlmanage doesn't support defining image output type from the command line, and I need jpegs, not pngs. I could pipe the png to imagemagick but I'd rather not do that for performance reasons. I was happy to find this wrapper and have been using it quite a bit. I am sending lots of files of all types, and it works as expected.
Today I encountered an issue with .emlx files. These seem to be the only files that create this issue. qlmanage can generate a thumbnail instantly without issue, but ql-thumbnail hangs for a few seconds, then fails to create the thumbnail file.
For example,
qlmanage -t -f 4 -o . 22221.emlxproduces a png, 22221.emlx.png, 512 pixels with the appropriate preview image
The same operation with ql-thumbnail fails without any output
ql-thumbnail 22221.emlx . public.png 512 512I've tried public.png and public.jpeg without success. Any help is much appreciated!