Skip to content
Victor Derks edited this page Oct 17, 2024 · 4 revisions

Welcome to the netpbm-wic-codec wiki!

This wiki contains the design notes collected during development of the WIC codec

Providing properties in the Windows Shell (explorer.exe)

For standard images (.bmp, .jpg) Explorer is able to show additional properties like: size, bit depth, etc. It is useful to also make this work for Anymap images

Because the Netbmp format cannot be parsed the WIC instructions document that creating and registering a IPropertyStore handlers is required. The next step is to explicit list in the SOFTWARE\Classes\SystemFileAssociations.pgm registry key which properties to show. The .bmp extension is a good example.

The different values are:

  • ExtendedTileInfo: this value defines which properties will be shown in the explorer view mode "Content"
  • InfoTip: this value defines which properties will be shown in a the tooltip when hovering above the image.
  • PreviewDetails: this value defines which properties will be shown in the right preview pane (when enabled) in Explorer
  • FullDetails: Which information will be shown in the tab sheet "details" of the property dialog.

Note: Using an asterisk (*) after the semicolons (;) can be used to identify the property as optional.

A list which system properties are defined can be found in (3)

References

  1. https://nicolashollmann.de/blog/writing-portable-anymap/
  2. https://learn.microsoft.com/en-us/windows/win32/properties/props-system-proplist-fulldetails
  3. https://learn.microsoft.com/en-us/windows/win32/properties/image-bumper
Clone this wiki locally