{"id":19763790,"url":"https://github.com/lukems/gif_replace_disposal_method","last_synced_at":"2026-06-10T08:31:37.038Z","repository":{"id":31451138,"uuid":"35014955","full_name":"LukeMS/Gif_replace_disposal_method","owner":"LukeMS","description":"Changes the disposal method in a GIF file to \"Replace\".","archived":false,"fork":false,"pushed_at":"2015-05-04T06:07:51.000Z","size":232,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T10:35:48.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/LukeMS.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}},"created_at":"2015-05-04T05:01:10.000Z","updated_at":"2015-05-04T06:07:51.000Z","dependencies_parsed_at":"2022-09-22T16:51:37.748Z","dependency_job_id":null,"html_url":"https://github.com/LukeMS/Gif_replace_disposal_method","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LukeMS/Gif_replace_disposal_method","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMS%2FGif_replace_disposal_method","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMS%2FGif_replace_disposal_method/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMS%2FGif_replace_disposal_method/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMS%2FGif_replace_disposal_method/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeMS","download_url":"https://codeload.github.com/LukeMS/Gif_replace_disposal_method/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeMS%2FGif_replace_disposal_method/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34144679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-12T04:11:07.163Z","updated_at":"2026-06-10T08:31:37.020Z","avatar_url":"https://github.com/LukeMS.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ** Gif_replace_disposal_method\n_Created by: Lucas de Morais Siqueira (2015/05/04)_  \n_Contact: lucas.morais.siqueira@gmail.com_  \n\nWhat does this script do?\nIt changes the disposal method to \"Replace\" (as in Gimp's frame disposal \"One frame per layer (replace)\"). That is done by  replacing the value of the current Disposal Method field (in the Graphic Control Extension block of the binary gif file).\n\nWhy would you do that?\nSometimes when you make an animated gif with a transparent background (in my  case via scripts using Rmagick  / ImageMagick), the disposal is not done as it should be (as it's done for animations with non-transparent background) and each frame is rendered upon the previous one (creating \"ghosts\", overlapping).  \nMost of the the gif processing tools only allow you to chose from a reduced number of disposal methods that do not include the \"Replace\" method, thus creating the same buggy animated gifs.  \nGimp, however, offers you the \"Replace\" method, so after changing it a single  file at a time, I've decided to compare the files binary/hex data. Having found the value of the proper method, and decided to create this script to do it for me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukems%2Fgif_replace_disposal_method","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukems%2Fgif_replace_disposal_method","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukems%2Fgif_replace_disposal_method/lists"}