{"id":13710166,"url":"https://github.com/wilsonvargas/ScreenshotPlugin","last_synced_at":"2025-05-06T18:34:16.239Z","repository":{"id":65413969,"uuid":"105713992","full_name":"wilsonvargas/ScreenshotPlugin","owner":"wilsonvargas","description":"A simple Screenshot plugin for Xamarin and Windows to get and save screenshot in yours apps.","archived":false,"fork":false,"pushed_at":"2020-07-10T17:45:47.000Z","size":20732,"stargazers_count":33,"open_issues_count":8,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-08T19:47:29.623Z","etag":null,"topics":["csharp","nuget","pcl","plugin","screenshot","xamarin","xamarin-forms"],"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/wilsonvargas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.paypal.com/paypalme2/wilsondonations/5"}},"created_at":"2017-10-03T23:27:29.000Z","updated_at":"2024-03-21T11:46:28.000Z","dependencies_parsed_at":"2023-01-23T10:55:05.288Z","dependency_job_id":null,"html_url":"https://github.com/wilsonvargas/ScreenshotPlugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonvargas%2FScreenshotPlugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonvargas%2FScreenshotPlugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonvargas%2FScreenshotPlugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilsonvargas%2FScreenshotPlugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilsonvargas","download_url":"https://codeload.github.com/wilsonvargas/ScreenshotPlugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224521570,"owners_count":17325257,"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":["csharp","nuget","pcl","plugin","screenshot","xamarin","xamarin-forms"],"created_at":"2024-08-02T23:00:52.611Z","updated_at":"2024-11-13T20:31:16.418Z","avatar_url":"https://github.com/wilsonvargas.png","language":"C#","funding_links":["https://www.paypal.com/paypalme2/wilsondonations/5","https://www.paypal.me/wilsondonations/5"],"categories":["Media","Plugins"],"sub_categories":[],"readme":"# Screenshot Plugin for Xamarin and Windows\n\nA simple Screenshot plugin for Xamarin and Windows to get and save screenshot in yours apps.\n\n[![Build status](https://ci.appveyor.com/api/projects/status/1w46g7ebn59w6d0f?svg=true)](https://ci.appveyor.com/project/wilsonvargas/screenshotplugin) [![NuGet](https://buildstats.info/nuget/Xam.Plugin.Screenshot)](https://www.nuget.org/packages/Xam.Plugin.Screenshot/) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/wilsondonations/5)\n\n## NuGet\n* NuGet: [Xam.Plugin.Screenshot](https://www.nuget.org/packages/Xam.Plugin.Screenshot) \n\n## Github Packages Registry\n* Github Packages Registry: [Xam.Plugin.Screenshot](https://github.com/wilsonvargas/ScreenshotPlugin/packages/25791)\n\n## Platform Support\n\n|Platform|Version|\n| ------------------- | :------------------: |\n|Xamarin.iOS|iOS 8+|\n|Xamarin.Android|API 14+|\n|Windows 10 UWP|10+|\n\n## Documentation\n\n### Get bytes[] from screenshot\n\n```c#\nusing Plugin.Screenshot;\n\n...\n\nvar stream = new MemoryStream(await CrossScreenshot.Current.CaptureAsync());\nyourImage.Source = ImageSource.FromStream(() =\u003e stream);\n```\n\n### Save Screenshot into Gallery Images and return path\n\n```c#\nusing Plugin.Screenshot;\n\n...\n\nstring path = await CrossScreenshot.Current.CaptureAndSaveAsync();\n```\n\n### iOS setup\nAdd in your Info.plist\n```xml\n\u003ckey\u003eNSPhotoLibraryUsageDescription\u003c/key\u003e\n  \u003cstring\u003eThis application needs your permission to save photos.\u003c/string\u003e\n\u003ckey\u003eNSPhotoLibraryAddUsageDescription\u003c/key\u003e\n\t\u003cstring\u003eThis application needs your permission to save photos.\u003c/string\u003e\t\n```\n\n\n\n### Created By: [@Wilson Vargas](http://twitter.com/Wilson_VargasM)\n* Twitter: [@Wilson_VargasM](http://twitter.com/Wilson_VargasM)\n* Blog: [wilsonvargas.net](https://wilsonvargas.net)\n\n### License\nThe MIT License (MIT), see [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonvargas%2FScreenshotPlugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsonvargas%2FScreenshotPlugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonvargas%2FScreenshotPlugin/lists"}