{"id":21448921,"url":"https://github.com/stefaaan06/unity-image-pixelator","last_synced_at":"2026-04-15T20:01:49.060Z","repository":{"id":213953448,"uuid":"735349093","full_name":"Stefaaan06/Unity-Image-Pixelator","owner":"Stefaaan06","description":"Script that allows you to pixelate and de-pixelate images","archived":false,"fork":false,"pushed_at":"2025-06-28T14:29:48.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T15:33:14.270Z","etag":null,"topics":["csharp","unity","unity2d","unity3d"],"latest_commit_sha":null,"homepage":"https://stefaaan06.com/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stefaaan06.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":"2023-12-24T15:33:35.000Z","updated_at":"2025-06-28T14:29:51.000Z","dependencies_parsed_at":"2025-03-17T09:46:07.293Z","dependency_job_id":null,"html_url":"https://github.com/Stefaaan06/Unity-Image-Pixelator","commit_stats":null,"previous_names":["stefaaan06/unity-image-pixelator"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Stefaaan06/Unity-Image-Pixelator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stefaaan06%2FUnity-Image-Pixelator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stefaaan06%2FUnity-Image-Pixelator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stefaaan06%2FUnity-Image-Pixelator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stefaaan06%2FUnity-Image-Pixelator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stefaaan06","download_url":"https://codeload.github.com/Stefaaan06/Unity-Image-Pixelator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stefaaan06%2FUnity-Image-Pixelator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266475119,"owners_count":23934885,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["csharp","unity","unity2d","unity3d"],"created_at":"2024-11-23T03:17:27.799Z","updated_at":"2026-04-15T20:01:44.016Z","avatar_url":"https://github.com/Stefaaan06.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Image Pixelator\n\nUnity Image Pixelator is a  simple tool that allows you to Pixelate \u0026 de-Pixelate images at Runtime:\n# Features\n    Pixelate Images\n    de-Pixelate Images\n    Control prefered pixel rows and columns\n    Control speed\n    Full documentation\n\n# How it works\n\nThe script generates a duplicate texture of the image texture and modifies that one. Meaning that you can modify multiple images differently and simultaniously. \n\nThis might be a problem with larger image resolutions (2k, 4k) as it will take up more RAM the more images you add. Even if the images are the same.\n-\u003e if that is the case, consider removing the code from the Start method that duplicates the image so it modifies the texture directly. Be aware that this change will not allow you to modify the same images\nuniquely meaning that modifying one image changes all the images with the same texture. \n\n# Installation\n    \nTo use the Unity Image Pixelator in your Unity project, follow these steps:\n\n1.\n    Open the unity package manager\n    Add a new package using the projects url: https://github.com/Stefaaan06/Unity-Editor-Physics-Simulation.git\n2.\n    Copy the ImagePixelator.cs into your project's Assets directory.\n    \nAlternatively you can just download the repository and copy the \"EditorPhysicsTool.cs\" script into your Unity project's \"Assets/Editor\" directory.\n\n# Usage\n    Add the \"ImagePixelator.cs\" script to a gameobject with a Image component.\n    Adjust the parameters as needed. Higher values for rows and columns leads to more pixels being pixelated.\n    \n    \n    Call the \"PixelateImage\" and \"RePixelateImage\" functions as needed.\n\n# Warning\nFor the code to work, you must set the Sprite Mode to \"Allow Read/Write\" in the inspector, as well as set the Format RGBA 32 bit.\n\n# Creator\n[Stefaaan06](https://twitter.com/Stefaaan06) - Creator and maintainer\n\n[Wishlist my game on steam](https://store.steampowered.com/app/2547010/Mik/)\n\nCredit me at will.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefaaan06%2Funity-image-pixelator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefaaan06%2Funity-image-pixelator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefaaan06%2Funity-image-pixelator/lists"}