No thumbnail for XAR files in file window

Started by frankdarwin, May 02, 2022, 08:55:08 PM

Previous topic - Next topic

frankdarwin

Under Preferences -> File Formats I added the extension XAR from Magix Photo.
There is 1 file with this extension in the database. This file is displayed correctly in Quick View and in the Viewer.
Only in the file window I do not see a dumannail for this one.
What is the reason for this?

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

frankdarwin


Mario

This is accidental.
By default, IMatch does not try to render (produce a preview/thumbnail) for user-defined file formats. It is assumed that these file formats are not supported by the image components included in IMatch - otherwise they would be standard formats!

As it happens, your .xar format seems to be a re-labeled image format that is supported by one of the image libraries IMatch uses. Probably a JPEG variant, because it has some JFIF metadata records.
This is why the Quick View / Viewer worked, but the render queue did ignore the format. The Quick View / Viewer just try to load the image or cache file, not checking for attributes like canRender used by the update queue.

I have made a change for IMatch to assume canRender for user-defined file formats which have been assigned to the image or multimedia class. I guess this should not break anything.
You can also rename the file extension to .jpg to make it work right out-of-the-box.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook