I am compiling and building an OpenCV app on Windows 10, which shows some images.
I want to overrride the high DPI scaling behavior and set it to "Application".
I can do this fine on the .exe
file by: Right-Click->Properties->Compatibility Tab and checking the checkbox.:
Is there a command line tool I can use to do that as part of a script?
Best Answer
You make a bat file script.
Things to change in commands
Make sure where the application is Placed
If the application is 64 bit
"%programfiles%\<appfoldername>\<app>.exe"
If the application is 32 bit
"%programfiles(x86)\<appfoldername>\<app>.exe"
~HIGHDPIAWARE
Indicates value of Override high DPI scaling behavior (Application)~DPIUNAWARE
Indicates value of Override high DPI scaling behavior (System)"~GDIDPISCALING DPIUNAWARE"
Indicates value of Override high DPI scaling behavior (System Enhanced) add double quote alsoI am doing this for Itunes (64 bit).
Particular User
All User