Hello,
As part of testing the qlgenerator that ships as part of our app, we have a test that calls the following command:
qlmanage -o /tmp/<unique-dir-name> -g SQuicklook.qlgenerator -c com.bo.s.dr -p path/to/testing/source/file.dr
This generates a file structure under /tmp/<unique-dir-name> and we examine the generated Preview.png file in there. Under 10.14 this is all working perfectly.
However, under Catalina, running the exact same command produces the following output:
qlmanage -o /tmp/ -g SQuicklook.qlgenerator -c com.bo.s.dr -p path/to/testing/source/file.dr
Testing Quick Look preview with files:
/full/path/to/path/to/testing/source/file.dr
- force using content type UTI: com.bo.s.dr
- force using generator at path: SQuicklook.qlgenerator
* path/to/testing/source/file.dr produced an image preview
Can't decode raw image for path/to/testing/source/file.dr
Running `qlmanage -g SQuicklook.qlgenerator -c com.bo.s.dr -p path/to/testing/source/file.dr` (i.e. without the -o parameter) produces the preview image with no problems on screen. That indicates to me at least that the generator is working fine, it's just that as soon as I try to write it out to disk, qlmanage is doing something weird.
Does anyone know if qlmanage -o behaviour has changed with Catalina?
Are there any insights as to why this doesn't work anymore on Catalina?
For the record, getting it to generate a thumbnail (-t) works fine on Catalina. It's just the preview (-p) that's stopped working.
Thanks in advance!
Heather.