{"id":14559941,"url":"https://github.com/imniko/SetDPI","last_synced_at":"2025-09-04T04:31:20.556Z","repository":{"id":47026229,"uuid":"293119948","full_name":"imniko/SetDPI","owner":"imniko","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-19T06:32:23.000Z","size":56929,"stargazers_count":362,"open_issues_count":10,"forks_count":45,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-09-07T23:46:43.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imniko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-05T17:09:21.000Z","updated_at":"2024-09-06T01:44:15.000Z","dependencies_parsed_at":"2023-02-17T21:30:49.458Z","dependency_job_id":null,"html_url":"https://github.com/imniko/SetDPI","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imniko%2FSetDPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imniko%2FSetDPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imniko%2FSetDPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imniko%2FSetDPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imniko","download_url":"https://codeload.github.com/imniko/SetDPI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231932827,"owners_count":18447999,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-06T23:01:08.605Z","updated_at":"2024-12-31T01:30:53.582Z","avatar_url":"https://github.com/imniko.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# SetDPI\n\nThis is a sample and simple C++ console project to change windows Scale and Layout aka DPI scaling from command line parameters. It can work on single and multi-monitor setup.\n\n## How to use\n\nIt takes up to 2 parameters, first being the scale in percent. The second argument is the monitor index, which you get from windows display settings, if you click identify it shows you the index.\n\n`SetDPI.exe [DPI scale value] [monitor index]`\n\nIf you have only one monitor or want only main monitor to change you can omit the monitor index.\n\nTo get the current scale of a monitor, replace the scale argument with `get` to print the current scaling. For automation with `value` only the scale is printed.\n\n## Examples\n\n- To set 2nd monitor to a scale value of 250\n\t- `SetDPI.exe 250 2`\n- To set main monitor to a scale value of 125\n\t- `SetDPI.exe 125`\n- To get the scale of the 2nd monitor\n\t- `SetDPI.exe get 2` prints `Current Resolution: 250`\n\t- `SetDPI.exe value 2` prints `250`\n\n## Release\n\nGet the release build and a sample AutoHotkey script with hotkey example from here https://github.com/imniko/SetDPI/releases/\n\n## Credits\n\nThe whole credits go to @lihas of this project, https://github.com/lihas/windows-DPI-scaling-sample it was not possible without his findings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimniko%2FSetDPI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimniko%2FSetDPI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimniko%2FSetDPI/lists"}