Commandline usage
EMPF Preview can render preview output from PowerShell for repeatable local workflows.
Requirements
- EMPF Preview installed in
C:\Program Files\EMPF Preview. - A local input
.empffile. - A writable output folder for PNG or HTML preview files.
When to use CLI export
CLI export is useful when you want to:
- create customer approval images;
- generate project sheets;
- batch-check folders with scripts;
- render consistent previews for repeat orders.
Use the full install path
The installer does not add EmpfPreview.exe to your system PATH. Run it from its installed location, or add your own shortcut/script if you want a shorter command.
Steps
Run one of these PowerShell commands with the full installed executable path.
High-quality PNG preview
& "C:\Program Files\EMPF Preview\EmpfPreview.exe" --png --max-size 3072 "C:\Projects\input.empf" "C:\Projects\preview.png"
Lightweight thumbnail-sized PNG
& "C:\Program Files\EMPF Preview\EmpfPreview.exe" --png --max-size 1024 "C:\Projects\input.empf" "C:\Projects\preview-small.png"
Seer-style HTML preview
& "C:\Program Files\EMPF Preview\EmpfPreview.exe" --html --max-size 2560 "C:\Projects\input.empf" "C:\Projects\preview.html"
Verify output
Open the generated PNG or HTML file from the output path. If the file is missing, first confirm that the input file path exists and that PowerShell can write to the output folder.
Recommended sizes
| Use case | Max size |
|---|---|
| Explorer thumbnails | 1024 px |
| Seer preview | 2560 px |
| Viewer / high quality PNG | 3072 px |
Common problems
If PowerShell says the command is not found, use the full install path shown above. If output is stale, render to a new filename and compare the result.