{"id":16085371,"url":"https://github.com/britzl/defold-imp","last_synced_at":"2026-04-28T17:03:16.310Z","repository":{"id":151986157,"uuid":"107411650","full_name":"britzl/defold-imp","owner":"britzl","description":"Defold native extension to apply filters to an image buffer","archived":false,"fork":false,"pushed_at":"2018-07-08T22:53:25.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-19T15:09:13.303Z","etag":null,"topics":["defold","defold-library","image-processing"],"latest_commit_sha":null,"homepage":null,"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/britzl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-10-18T13:25:11.000Z","updated_at":"2024-09-25T14:08:27.000Z","dependencies_parsed_at":"2023-07-18T15:00:10.296Z","dependency_job_id":null,"html_url":"https://github.com/britzl/defold-imp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/britzl/defold-imp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-imp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-imp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-imp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-imp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/britzl","download_url":"https://codeload.github.com/britzl/defold-imp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/britzl%2Fdefold-imp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32390067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["defold","defold-library","image-processing"],"created_at":"2024-10-09T13:01:55.960Z","updated_at":"2026-04-28T17:03:16.305Z","avatar_url":"https://github.com/britzl.png","language":"C++","funding_links":[],"categories":["Libraries"],"sub_categories":["Programming Language"],"readme":"# Imp\nDefold native extension to perform image processing on an image [by doing a convolution between a kernel and the image](https://www.wikiwand.com/en/Kernel_%28image_processing%29).\n\n## Installation\nYou can use Imp in your own project by adding this project as a [Defold library dependency](https://www.defold.com/manuals/libraries/). Open your game.project file and in the dependencies field under project add:\n\nhttps://github.com/britzl/defold-imp/archive/master.zip\n\nOr point to the ZIP file of a [specific release](https://github.com/britzl/defold-imp/releases).\n\n## Usage\n\n#### imp.convolution(source, destination, width, height, kernel)\nPerform a convolution between the kernel and the pixels of the source buffer and write the resulting values to the destination buffer. Edge handling is done by extending border pixels.\n\n**PARAMETERS**\n* ```source``` (buffer) - Source buffer to read pixels from (must contain a stream named \"rgb\" of type uint8)\n* ```destination``` (buffer) - Destination buffer to write pixels to (must contain a stream named \"rgb\" of type uint8)\n* ```width``` (number) - Width of source and destination buffers\n* ```height``` (number) - Height of source and destination buffers\n* ```kernel``` (table) - Table with 9 numbers describing the kernel. First value is top left, last value is bottom right.\n\n## Example\nThere's an example in the examples folder. The example will use the camera if running on iOS or OSX and on other systems it will grab an image from Imgur.\n\n[Try the HTML5 version (with Imgur image)](https://britzl.github.io/Imp/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbritzl%2Fdefold-imp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbritzl%2Fdefold-imp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbritzl%2Fdefold-imp/lists"}