{"id":19535606,"url":"https://github.com/miyako/4d-plugin-screen-capture","last_synced_at":"2025-04-26T14:35:55.908Z","repository":{"id":12511300,"uuid":"15181006","full_name":"miyako/4d-plugin-screen-capture","owner":"miyako","description":"Screen capture the desktop or a specified window","archived":false,"fork":false,"pushed_at":"2024-04-30T09:59:36.000Z","size":6593,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T14:11:21.367Z","etag":null,"topics":["4d-plugin"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miyako.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-14T06:08:33.000Z","updated_at":"2024-08-27T04:48:17.000Z","dependencies_parsed_at":"2024-04-30T11:17:33.916Z","dependency_job_id":"892d5029-1a1f-41e4-adf6-fe4e125c2730","html_url":"https://github.com/miyako/4d-plugin-screen-capture","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-screen-capture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-screen-capture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-screen-capture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2F4d-plugin-screen-capture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/4d-plugin-screen-capture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251001454,"owners_count":21520949,"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":["4d-plugin"],"created_at":"2024-11-11T02:19:19.083Z","updated_at":"2025-04-26T14:35:54.840Z","avatar_url":"https://github.com/miyako.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![version](https://img.shields.io/badge/version-17%2B-3E8B93)\n![platform](https://img.shields.io/static/v1?label=platform\u0026message=mac-intel%20|%20mac-arm%20|%20win-64\u0026color=blue)\n[![license](https://img.shields.io/github/license/miyako/4d-plugin-screen-capture)](LICENSE)\n![downloads](https://img.shields.io/github/downloads/miyako/4d-plugin-screen-capture/total)\n\n4d-plugin-screen-capture\n========================\n\nScreen capture the desktop or a specified window.\n\n#### Windows\n\nThe web area is using hardware acceleration, a performance multiplier for rendering. It is not possible to sample pixels using the classic `BitBlt` API. `BitBlt` will return a black region where the GPU projects its output. It is necessary to capture the GPU representation of the window and locally convert it to bitmap.\n\nOn Windows, it is not possible to capture a child window of the MDI using this command. \n\nYou can only specify a window reference in **SDI mode**. \n\n#### Note to self\n\nOn Windows, you must install **Graphic Tools** in \n\n* Apps \u003e Optional features \u003e Add an optional feature\n\nin order to call [D3D11CreateDevice](https://learn.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-d3d11createdevice) with the  `D3D11_CREATE_DEVICE_DEBUG` flag. This is not mandatory for using the plugin.\n\n#### Mac\n\n[CGWindowListCreateImage](https://developer.apple.com/documentation/coregraphics/1454852-cgwindowlistcreateimage?preferredLanguage=occ) is used with `CGRectNull` to capture a window. \n\nThe shadow is ignored (`kCGWindowImageBoundsIgnoreFraming`).\n\nFor the screen, the `kCGNullWindowID` and `kCGWindowListOptionOnScreenOnly` is used.\n\n### Syntax\n\n[miyako.github.io](https://miyako.github.io/2023/03/08/4d-plugin-screen-capture.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-screen-capture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2F4d-plugin-screen-capture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2F4d-plugin-screen-capture/lists"}