| ||
Hi all, UsageAs 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. I've disabled UAC on my development machines, so I'm not certain this will work everywhere. (If anyone reports problems with this, I'll add an alternative way to find the zbar.dat file). 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 the FreeImage library (not in Win64 version); 2. Use the registered Windows Preview Handler for that file type; 3. Use the loaded Totalcommander WLX Lister plugin (you need to load one first, using Ctrl+L); 4. Load and display the file as a graphic image using Delphi's internal Graphic routines. The current toolbar buttons: * Refresh: reads the zbar.dat interface, and refreshes the preview * Autorefresh: continually reads the zbar.dat interface, and refreshes the preview on every change. This tends to make the preview a bit less responsive (it doesn't affect ZTreeWin) * ZTreeWin: activates the ZTreeWin window * Sentinel: shows a popup window containing the current information in the zbar.dat file * Image Info: shows a popup window containing the metadata of the current image, as reported by FreeImage. Note that there appears to be a problem in the interface to FreeImage's metadata handling; it has a tendency to generate errors when this window is left open. Not available in Win64. The current keyboard shortcuts from within ZTreeWin: * Ctrl-Shift-F4: closes ZPreview * Ctrl-Shift-R: refreshes the preview * Ctrl-Shift-S: toggles the Sentinel toolbar button * Ctrl-Shift-I: toggles the 'Image Info' toolbar button * Ctrl-Shift-F: toggles full screen view * Ctrl-Shift-M: minimizes/unminimizes the ZPreview window. Known problems* Currently, the preview window starts in a default position, so you'll probably have to move it out of the way -- it doesn't save its window positions for next time, either.* Only a single WLX lister plugin can be loaded at a time. In time, I'd like to be able to make the entire display routine more modular, so that it's possible to prioritize between FreeImage, Delphi Graphics, all installed Windows preview handlers, and as many WLX lister as wanted. * The only way to load a WLX plugin is using the Ctrl-L hotkey when the ZPreview window is active and has the focus. Once loaded, it's not possible to unload the WLX plugin, except by loading another one. Or restarting ZPreview. DownloadIn time, I will probably add it to my ZAAP repository at http://fossil.2of4.net/zaap, but so far only the source code is available there.For now, the 32-bit version can be downloaded from http://martijn.coppoolse.com/upload/ZPreview_v1.0.0.1_w32.zip (uses FreeImage.dll to display images). The 64-bit version can be downloaded from http://martijn.coppoolse.com/upload/ZPreview_v1.0.0.1_w64.zip (uses Delphi's —slower— internal routines to preview images). Future plans* Fix the known problems listed above* Animate animated GIFs * Support for shortcut keys from ZTreeWin: - zooming in/out of images, and scrolling - scrolling through PDF preview (if possible)
| ||
|

Messages in this Thread
- [Tip] New ZAAP: ZPreview (1,686) - Martijn Coppoolse - Feb 03,2015 at 20:07 [Tip]
- Thank you, thank you, thank you! (1,578) - Andrew Watson - Feb 04,2015 at 06:49
- Thank you, thank you, thank you! (1,905) - Martijn Coppoolse - Feb 04,2015 at 09:22
- Crash Report (724) - Andrew Watson - Feb 04,2015 at 09:53
- Crash Report (712) - Andrew Watson - Feb 04,2015 at 09:56
- Known problem (752) - Martijn Coppoolse - Feb 04,2015 at 10:27
- Crash Report (712) - Andrew Watson - Feb 04,2015 at 09:56
- Crash Report (724) - Andrew Watson - Feb 04,2015 at 09:53
- Thank you, thank you, thank you! (1,905) - Martijn Coppoolse - Feb 04,2015 at 09:22
- Up-to-date documentation (993) - Martijn Coppoolse - Feb 04,2015 at 10:32
- Release v1.0.1 (932) - Martijn Coppoolse - Feb 06,2015 at 00:23
- Release v1.0.1 (1,041) - Liviu - Feb 06,2015 at 05:46
- Release v1.0.1 (797) - Martijn Coppoolse - Feb 06,2015 at 20:58
- Floating point division by zero error (778) - Andrew Watson - Feb 06,2015 at 12:49
- Floating point division by zero error (740) - Andrew Watson - Feb 06,2015 at 12:52
- Floating point division by zero error (717) - Andrew Watson - Feb 06,2015 at 13:13
- Floating point division by zero error (1,422) - Martijn Coppoolse - Feb 06,2015 at 20:11
- Floating point division by zero error (717) - Andrew Watson - Feb 06,2015 at 13:13
- Floating point division by zero error (740) - Andrew Watson - Feb 06,2015 at 12:52
- MP3s sometimes display Play buttom (716) - Andrew Watson - Feb 06,2015 at 13:35
- MP3s sometimes display Play buttom (740) - Martijn Coppoolse - Feb 06,2015 at 20:24
- ZZEPs - File Info window - Transparency, Stay on Top and Copying (732) - Andrew Watson - Feb 06,2015 at 14:17
- ZZEPs - File Info window - Transparency, Stay on Top and Copying (810) - Martijn Coppoolse - Feb 06,2015 at 20:21
- Release v1.0.1 (1,182) - Bernhard Steffen - Feb 06,2015 at 17:49
- Release v1.0.1 (813) - Martijn Coppoolse - Feb 06,2015 at 20:33
- some more testing with PDF (916) - Bernhard Steffen - Feb 06,2015 at 22:24
- PDF Xchange Viewer seems to work best for now (752) - Martijn Coppoolse - Feb 08,2015 at 19:01
- PDF Xchange Viewer seems to work best for now (773) - Andrew Watson - Feb 09,2015 at 02:08
- PDF Xchange Viewer seems to work best for now (714) - Bernhard Steffen - Feb 11,2015 at 12:40
- PDF Xchange Viewer seems to work best for now (812) - Martijn Coppoolse - Feb 12,2015 at 10:16
- PDF Xchange Viewer seems to work best for now (752) - Martijn Coppoolse - Feb 08,2015 at 19:01
- some more testing with PDF (916) - Bernhard Steffen - Feb 06,2015 at 22:24
- Release v1.0.1 (813) - Martijn Coppoolse - Feb 06,2015 at 20:33
- Autorefresh/Refresh (707) - Andrew Watson - Feb 08,2015 at 04:44
- Autorefresh/Refresh (724) - Martijn Coppoolse - Feb 08,2015 at 12:18
- Previewer - Looks like a bit of a minefield (774) - Andreas Hagele - Feb 08,2015 at 22:23
- Previewer - Looks like a bit of a minefield (784) - Martijn Coppoolse - Feb 09,2015 at 07:03
- Release v1.0.1 (1,041) - Liviu - Feb 06,2015 at 05:46
- [Tip] New ZAAP: ZPreview (756) - Paul Laufer - Feb 07,2015 at 05:18
- [Tip] New ZAAP: ZPreview (789) - Martijn Coppoolse - Feb 08,2015 at 18:52
- Release v1.0.2 (860) - Martijn Coppoolse - Feb 16,2015 at 15:09
- Release v1.0.2 (686) - Andrew Watson - Feb 19,2015 at 01:53
- Release v1.0.2 (680) - Andrew Watson - Feb 19,2015 at 02:01
- Release v1.0.2 (663) - Andrew Watson - Feb 19,2015 at 02:11
- Release v1.0.2 (774) - Martijn Coppoolse - Feb 19,2015 at 03:11
- Release v1.0.2 (771) - Andrew Watson - Feb 19,2015 at 02:27
- Release v1.0.2 (710) - Martijn Coppoolse - Feb 19,2015 at 03:39
- Release v1.0.2 (696) - Andrew Watson - Feb 19,2015 at 02:34
- Release v1.0.2 (660) - Andrew Watson - Feb 19,2015 at 02:37
- Release v1.0.2 (713) - Andrew Watson - Feb 19,2015 at 03:00
- Release v1.0.2 (694) - Martijn Coppoolse - Feb 19,2015 at 03:49
- Release v1.0.2 (713) - Andrew Watson - Feb 19,2015 at 03:00
- Cactus? (711) - Martijn Coppoolse - Feb 19,2015 at 03:56
- Cactus = Strine = Oz Slang (847) - Andrew Watson - Feb 19,2015 at 04:12
- Cactus = Strine = Oz Slang (715) - Andrew Watson - Feb 19,2015 at 05:01
- Cactus = Strine = Oz Slang (1,088) - Martijn Coppoolse - Feb 19,2015 at 07:35
- Cactus = Strine = Oz Slang (659) - Art Kocsis - Apr 14,2015 at 01:56
- Cactus = Strine = Oz Slang (631) - Martijn Coppoolse - Apr 20,2015 at 19:06
- Cactus = Strine = Oz Slang (681) - Ian Binnie - Apr 21,2015 at 21:04
- Cactus = Strine = Oz Slang (631) - Martijn Coppoolse - Apr 20,2015 at 19:06
- Cactus = Strine = Oz Slang (659) - Art Kocsis - Apr 14,2015 at 01:56
- Cactus = Strine = Oz Slang (847) - Andrew Watson - Feb 19,2015 at 04:12
- Release v1.0.2 (660) - Andrew Watson - Feb 19,2015 at 02:37
- Entry Point Not Found (790) - Alan P Brown - Mar 04,2015 at 12:17
- Windows XP... (783) - Martijn Coppoolse - Mar 04,2015 at 15:55
- Windows XP... (678) - Alan P Brown - Mar 04,2015 at 16:06
- Windows XP... (668) - Martijn Coppoolse - Mar 04,2015 at 18:20
- Windows XP... (678) - Alan P Brown - Mar 04,2015 at 16:06
- Windows XP... (783) - Martijn Coppoolse - Mar 04,2015 at 15:55
- [Tip] New ZAAP: ZPreview (689) - Art Kocsis - Apr 12,2015 at 01:01
- Thank you, thank you, thank you! (1,578) - Andrew Watson - Feb 04,2015 at 06:49