13thsymphony / HDRImageViewer

UWP app to view high dynamic range (HDR) and wide color gamut (WCG) images.
https://13thsymphony.github.io/
MIT License
76 stars 21 forks source link

Launch with -forcebt2100 or add the option to app #62

Open echopan opened 1 year ago

echopan commented 1 year ago

SDR screen to view HDR pictures, often use the -forcebt2100 , but every time you use cmd to open the software is too troublesome, I want to add the option to turn this parameter on or off in the toolbar of the app.

My current solution way: Create a .bat file to open the viewer, you can drag the image from any position of the computer to the bat to view it with forcebt2100. You can also run the .bat directly and open the picture in the app.

Disadvantages: A cmd window will open, you need to close it manually.

And: I used the B2E tool to generate a .exe file that hides the cmd window, with the same effect.

BAT:

@echo off
set filename=%~nx1
if defined filename (hdrimageviewer -forcebt2100 - input:%~nx1
) else (
hdrimageviewer -forcebt2100
)

EXE: Launch HDR Image Viewer With BT2100.zip