ZPreview
Not logged in

I had trouble getting rpVT to run again, and I needed to be able to preview other file formats (such as PDF) as well; especially now that Windows Explorer also supports all kinds of file format previews. So I wrote my own previewer ZAAP.

Usage

As with any ZAAP, it requires an instance of ZTreeWin to be started with the /ZB command-line option. Just run ZPreview.exe, and it should automatically find ZTreeWin and the zbar.dat file. If the file is not found, it will ask for its location.

The previewer attempts to display the currently highlighted file according to the following methods:

  1. Load and display the file as a graphic image using Delphi's internal graphic routines.
  2. Load and display the file as a graphic image using the FreeImage library (not in Win64 version);
  3. Use the registered Windows Preview Handler for that file type;
  4. Use the loaded Total Commander WLX Lister plugin (you need to load one or more first, using Ctrl+L);
  5. Display the file's textual contents, if its perceived type is 'text'.
  6. Load and display the file's thumbnail from the Windows Shell Thumbnail Cache.
  7. Load and display the file's icon.

The current toolbar buttons:

The current keyboard shortcuts from within ZTreeWin:

Known problems

Download

The 32- and 64-bit versions of ZPreview can be downloaded from this site.

The (Delphi) source code can be browsed on this site, or downloaded in a single zip file.

Note that either the 32- and 64-bits version can be used with both the 32- and 64-bits versions of ZTreeWin. They're separate programs, so the difference in bitness doesn't matter. I made both versions because 64-bits is the future, but FreeImage only distributes a 32-bits DLL by default.

What's new

Version v1.0.2.0 (2015-02-16)

Old versions

Version v1.0.1.0 (2015-02-06)

Version 1.0.0.1 (2015-02-03)

The 32-bit version can be downloaded from http://martijn.coppoolse.com/upload/ZPreviewv1.0.0.1w32.zip (uses FreeImage.dll to display images). The 64-bit version can be downloaded from http://martijn.coppoolse.com/upload/ZPreviewv1.0.0.1w64.zip (uses Delphi's —slower— internal routines to preview images).

Future plans

-- Martijn