{"id":13530039,"url":"https://github.com/mrousavy/AnimatedGif","last_synced_at":"2025-04-01T17:31:47.032Z","repository":{"id":65414060,"uuid":"89581608","full_name":"mrousavy/AnimatedGif","owner":"mrousavy","description":":vhs: A high performance .NET library for reading and creating animated GIFs","archived":false,"fork":false,"pushed_at":"2024-04-15T20:30:55.000Z","size":1638,"stargazers_count":154,"open_issues_count":18,"forks_count":43,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T08:08:49.145Z","etag":null,"topics":["animated","create","decoder","decoding","encoder","encoding","gif","library","load"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrousavy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mrousavy","ko_fi":"mrousavy","custom":["https://paypal.me/mrousavy"]}},"created_at":"2017-04-27T09:40:43.000Z","updated_at":"2025-02-24T12:20:05.000Z","dependencies_parsed_at":"2024-04-13T11:43:35.454Z","dependency_job_id":"a47ae8ad-4266-4832-b22c-87dbfd7167a3","html_url":"https://github.com/mrousavy/AnimatedGif","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/mrousavy%2FAnimatedGif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrousavy%2FAnimatedGif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrousavy%2FAnimatedGif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrousavy%2FAnimatedGif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrousavy","download_url":"https://codeload.github.com/mrousavy/AnimatedGif/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246680352,"owners_count":20816682,"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":["animated","create","decoder","decoding","encoder","encoding","gif","library","load"],"created_at":"2024-08-01T07:00:42.440Z","updated_at":"2025-04-01T17:31:46.589Z","avatar_url":"https://github.com/mrousavy.png","language":"C#","funding_links":["https://github.com/sponsors/mrousavy","https://ko-fi.com/mrousavy","https://paypal.me/mrousavy","https://ko-fi.com/F1F8CLXG'"],"categories":["Libraries"],"sub_categories":["C++"],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg align=\"right\" src=\"https://raw.githubusercontent.com/mrousavy/AnimatedGif/master/AnimatedGif/Icon.ico\" alt=\"Animated GIF Icon\" height=100\u003e\n    \u003ch1 align=\"left\"\u003eAnimated GIF\u003c/h1\u003e\n\u003c/p\u003e\n\n**AnimatedGif** is a high performance .NET library for **reading and creating animated GIFs**, inspired by [ShareX](https://github.com/ShareX/ShareX). It replaces the default `System.Windows.Media.GifBitmapEncoder` to create GIFs from .NET more easily.\n\n[![NuGet](https://img.shields.io/nuget/dt/AnimatedGif.svg)](https://www.nuget.org/packages/AnimatedGif/)\n\n\u003ca href='https://ko-fi.com/F1F8CLXG' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi2.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\n# How to use\n\n## Add to your Project\n\n```nuget\nInstall-Package AnimatedGif\n```\n\n\u003e or download manually [on NuGet](http://www.nuget.org/packages/AnimatedGif/)\n\n\n## Creating a GIF\n\nCreate a GIF with the filename `\"mygif.gif\"` and a `33`ms delay between frames (~30fps). Use `16`ms for 60fps and so on.\n\n```cs\nusing (var gif = AnimatedGif.Create(\"mygif.gif\", 33))\n{\n    var img = Image.FromFile(\"myimage.png\");\n    gif.AddFrame(img, delay: -1, quality: GifQuality.Bit8);\n}\n```\n\n\u003e If you don't want to write to a File, create a new `AnimatedGifCreator` instance directly. The constructor takes a `Stream`.\n\n## Reading a GIF\n\nAt the moment there's only a GIF Creator. Create a pull request if you want to create a GIF Reader in this project!\n\n## Contributing\n\n1. [Fork this Project](https://github.com/mrousavy/AnimatedGif/fork)\n2. Change stuff on your Forked repo\n3. [Create a pull request](https://github.com/mrousavy/AnimatedGif/compare)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrousavy%2FAnimatedGif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrousavy%2FAnimatedGif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrousavy%2FAnimatedGif/lists"}