{"id":13749729,"url":"https://github.com/hansemannn/titanium-image-filters","last_synced_at":"2025-10-06T21:55:46.525Z","repository":{"id":142791344,"uuid":"89469093","full_name":"hansemannn/titanium-image-filters","owner":"hansemannn","description":"Use the GPUImage library to apply pre-built and custom filters to images in Titanium","archived":false,"fork":false,"pushed_at":"2025-04-27T09:30:38.000Z","size":692,"stargazers_count":16,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-27T10:33:16.101Z","etag":null,"topics":["gles","gpuimage","image-filter","javascript","native","titanium"],"latest_commit_sha":null,"homepage":null,"language":"Objective-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/hansemannn.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":"2017-04-26T10:34:09.000Z","updated_at":"2025-04-27T09:30:41.000Z","dependencies_parsed_at":"2023-04-15T19:31:59.426Z","dependency_job_id":null,"html_url":"https://github.com/hansemannn/titanium-image-filters","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hansemannn/titanium-image-filters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-image-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-image-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-image-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-image-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-image-filters/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-image-filters/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278686634,"owners_count":26028325,"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-10-06T02:00:05.630Z","response_time":65,"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":["gles","gpuimage","image-filter","javascript","native","titanium"],"created_at":"2024-08-03T07:01:11.092Z","updated_at":"2025-10-06T21:55:46.518Z","avatar_url":"https://github.com/hansemannn.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"# Titanium Image Filters\n\nUse the GPUImage library to apply pre-built and custom filters to images in Titanium.\n\n## Credits\n\nReally all credits of this module should go to [@BradLarson](https://github.com/BradLarson) who made the\namazing [GPUImage](https://github.com/BradLarson/GPUImage) library! There are over [125 built-in filters](https://github.com/BradLarson/GPUImage#built-in-filters)\nplus the ability to create own filters via shaders.\n\n## Features\n\nRight now, this module supports applying built-in filters to a still image:\n```js\nimport GPUImage from 'ti.imagefilters';\n\nconst imageName = 'test.jpg'\n\nconst window = Ti.UI.createWindow({\n    backgroundColor: '#fff'\n});\n\nconst btn = Ti.UI.createButton({\n    title: 'Apply Brightness Filter',\n    top: 50\n});\n\nconst img = Ti.UI.createImageView({\n    image: imageName\n});\n\nbtn.addEventListener('click', () =\u003e {\n    const filter = GPUImage.createFilter({\n        type: 'GPUImageBrightnessFilter',\n\n        // Properties are optional and automatically\n        // mapped to the native properties. Check out\n        // the GPUImage documentation for possible values.\n        properties: {\n            brightness: 0.8\n        }\n    });\n    \n    const image = GPUImage.generateFilteredImage({\n        image: imageName,\n        filter: filter,\n        callback: event =\u003e {\n            img.setImage(event.image);\n        }\n    });\n});\n\nwindow.add([img, btn]);\nwindow.open();\n```\n\nThe module also supports all possible filter configurations. They are mapped to the `properties`\nattribute that expects an object of possible filter values. For example, the `GPUImageBrightnessFilter`\nsupports the `brightness` property (see native docs [here](https://github.com/BradLarson/GPUImage#color-adjustments)), so you would include it as seen in\nthe above example. Simple as that!\n\n## Android\n\nI created an Android module project as well, which does nothing right now, but could use [this library](https://github.com/CyberAgent/android-gpuimage).\nGo ahead!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-image-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-image-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-image-filters/lists"}