Author Topic: WIC Codec Required Warning  (Read 2423 times)

BanjoTom

  • Sr. Member
  • **
  • Posts: 403
WIC Codec Required Warning
« on: March 19, 2015, 02:17:22 AM »
Every few days as I work with IMatch I get a message popping up that says I need to update a WIC Codec.   

This is puzzling to me since I don't use any RAW formats at all that I'm aware of -- mostly just JPGs and occasional PNG, BMP, GIF, and other common formats.   And while I have brought many images into my IMatch database that may have originated on different camera makes and models, the WIC Codec warning doesn't tell me WHICH manufacturer's images are producing the warning messages.   How can I tell what sorts of images are producing this warning?  If I have inadvertently ingested some sort of RAW image, then I can try IMatch's WIC Diagnostics.  But what should I look for, or how should I proceed when this warning message pops up again?
— Tom, in Lexington, Kentucky, USA

Menace

  • Hero Member
  • ***
  • Posts: 606
Re: WIC Codec Required Warning
« Reply #1 on: March 19, 2015, 12:24:27 PM »
Same here. I installed again my fastpictureviewercodec-Pack, but the warning is still popping up.

ianrr

  • Full Member
  • **
  • Posts: 129
Re: WIC Codec Required Warning
« Reply #2 on: March 19, 2015, 12:29:01 PM »
Similar here but I do use RAW a lot.  Would be helpful if the message had the file type that is giving the message.

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 30082
Re: WIC Codec Required Warning
« Reply #3 on: March 19, 2015, 12:48:39 PM »
I have implemented this feature as follows:

If a file format is marked as 'uses WIC' in the IMatch plug-in configuration file, but no WIC codec for that format was found during the startup-check IMatch performs, the warning is displayed to the user once per session.

I will now add a new log file entry with the prefix "WIC Codec missing" and the name of the file. This should help you to diagnose this when the next IMatch version comes out.

May take a few weeks for the next update, because after four updates in four weeks my batteries are a bit low and the 5.3.14 is really stable.

Menace

  • Hero Member
  • ***
  • Posts: 606
Re: WIC Codec Required Warning
« Reply #4 on: March 19, 2015, 01:01:12 PM »
No hurry need. Take your time.  :)

BanjoTom

  • Sr. Member
  • **
  • Posts: 403
Re: WIC Codec Required Warning
« Reply #5 on: March 19, 2015, 02:19:17 PM »
Thanks for your quick and helpful response, Mario!   No rush, but this will be a welcome tweak when you get around to it . . .    :)
— Tom, in Lexington, Kentucky, USA

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 30082
Re: WIC Codec Required Warning
« Reply #6 on: March 21, 2015, 08:37:58 AM »
The next version mentions the file name for which the missing WIC codec was encountered in the message and the log file.
And you can use the "Don't show again" in the message box anyway so you don't see it again. Looking at your original message.

Just to make sure we're talking about the same thing: IMatch displays a message

Quote
WIC codec required
You are managing image files in your database for which IMatch requires a WIC codec to be installed. ...

This does not mention updating WIC codecs or anything. Some WIC codecs contain integrated update checks, and maybe your WIC codec is asking you to update when it finds a newer version?

BanjoTom

  • Sr. Member
  • **
  • Posts: 403
Re: WIC Codec Required Warning
« Reply #7 on: March 21, 2015, 02:01:02 PM »
Yes, Mario, the message I'm getting does not actually ask for an "update" -- the message I'm referring to is the one you identified:
Quote
WIC codec required
You are managing image files in your database for which IMatch requires a WIC codec to be installed. ...
— Tom, in Lexington, Kentucky, USA

meyersoft

  • Full Member
  • **
  • Posts: 140
Re: WIC Codec Required Warning
« Reply #8 on: March 23, 2015, 08:56:40 AM »
If a file format is marked as 'uses WIC' in the IMatch plug-in configuration file, but no WIC codec for that format was found during the startup-check IMatch performs, the warning is displayed to the user once per session.
Maybe a silly question, but is this "mark as 'uses WIC' in the IMatch plug-in configuration file" something that is done automatically by imatch or does the user configure this?

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 30082
Re: WIC Codec Required Warning
« Reply #9 on: March 23, 2015, 09:48:55 AM »
This is not user-configurable. I maintain an XML file which defines all file formats supported by IMatch, and for each file format a number of settings and options. One of them is if a file format is using WIC or not. For example, I explicitly define that IMatch does not use WIC for JPEG files, even if a WIC codec is installed. IMatch handles JPEG files with the built-in JPEG decoder much faster.

During startup, IMatch asks Windows for all installed WIC codecs and the file extensions they support. From that list, IMatch removes all file formats with an explicit "WIC disabled" flag. If IMatch now encounters, for example, a NEF file (which is marked as requiring WIC) but no WIC codec is installed that handles the .NEF extension, IMatch displays the message. But only once per session. And you can disable it as well.

meyersoft

  • Full Member
  • **
  • Posts: 140
Re: WIC Codec Required Warning
« Reply #10 on: March 23, 2015, 09:53:16 AM »
Ah, okay, thanks for the clarification.