{"id":16521923,"url":"https://github.com/ajstarks/gift","last_synced_at":"2025-10-28T08:30:18.204Z","repository":{"id":19060682,"uuid":"22287276","full_name":"ajstarks/gift","owner":"ajstarks","description":"Command line interface to the Go Image Filtering toolkit","archived":false,"fork":false,"pushed_at":"2024-12-25T22:24:55.000Z","size":1151,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T12:51:14.522Z","etag":null,"topics":["go","golang","image","image-manipulation","image-processing"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ajstarks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2014-07-26T13:33:29.000Z","updated_at":"2024-12-25T22:24:58.000Z","dependencies_parsed_at":"2024-06-19T05:18:35.851Z","dependency_job_id":"3a13776f-2b5a-4126-aa9b-faca1c51384f","html_url":"https://github.com/ajstarks/gift","commit_stats":{"total_commits":50,"total_committers":1,"mean_commits":50.0,"dds":0.0,"last_synced_commit":"fa1183530686b666488a1364ae762967433259da"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajstarks%2Fgift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajstarks%2Fgift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajstarks%2Fgift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajstarks%2Fgift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajstarks","download_url":"https://codeload.github.com/ajstarks/gift/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238614698,"owners_count":19501506,"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":["go","golang","image","image-manipulation","image-processing"],"created_at":"2024-10-11T16:58:37.386Z","updated_at":"2025-10-28T08:30:17.672Z","avatar_url":"https://github.com/ajstarks.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"gift\n====\n\nCommand line interface to the [Go Image Filtering Toolkit](https://github.com/disintegration/gift)\n\nInstall\n===\n\n    go get github.com/ajstarks/gift\n    \nUsage\n===\n\ngift reads either from a single file (PNG or JPEG) or standard input and always writes to standard output:\n\n    gift -contrast 80 foo.jpg \u003e contrast.jpg\n    gift -flipv \u003c foo.png \u003e flipped.png\n    \nFilters can be combined.  For example to blur and invert:\n\n    gift -invert -blur 4 foo.jpg \u003e inverted-blurred.jpg\n\t\t\nHere are the command flags:\n```\n   -blur float\n    \tblur value\n  -brightness float\n    \tbrightness value (-100, 100) (default -200)\n  -colorbalance string\n    \tcolor balance (%red, %green, %blue)\n  -colorize string\n    \tcolorize (hue, saturation, percentage)\n  -contrast float\n    \tcontrast value (-100, 100) (default -200)\n  -crop string\n    \tcrop x1,y1,x2,y2\n  -cropsize string\n    \tcrop WxH\n  -edge\n    \tedge filter\n  -emboss\n    \temboss\n  -fliph\n    \tflip horizontal\n  -flipv\n    \tflip vertical\n  -gamma float\n    \tgamma value\n  -gray\n    \tgrayscale\n  -hue float\n    \thue value (-180, 180) (default -200)\n  -invert\n    \tinvert\n  -max int\n    \tlocal maximum (kernel size)\n  -mean int\n    \tlocal mean filter (kernel size)\n  -median int\n    \tlocal median filter (kernel size)\n  -min int\n    \tlocal minimum (kernel size)\n  -opacity float\n        opacity (alpha) (0-100)\n  -pixelate int\n    \tpixelate\n  -resize string\n    \tresize WxH\n  -resizefill string\n    \tresizefill WxH\n  -resizefit string\n    \tresizefit WxH\n  -rotate int\n    \trotate specified degrees counter-clockwise\n  -saturation float\n    \tsaturation value (-100, 500) (default -200)\n  -sepia float\n    \tsepia percentage (0-100) (default -1)\n  -sigmoid string\n    \tsigmoid contrast (midpoint,factor)\n  -sobel\n    \tsobel filter\n  -threshold float\n    \tcolor threshold percentage (0-100) (default -1)\n  -transpose\n    \tflip horizontally and rotate 90° counter-clockwise\n  -transverse\n    \t flips vertically and rotate 90° counter-clockwise\n  -unsharp string\n    \tunsharp mask (sigma,amount,threshold)\n```\n\nSee testgift.sh for typical usage\n\nPerformance\n===\n\nProcessing a 3264x2448 JPEG image on a Lenovo X1 Carbon 5th Generation, i5-6200U CPU @ 2.30GHz, Linux 5.13.5\n\n![perf-table](perf3264x2448.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajstarks%2Fgift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajstarks%2Fgift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajstarks%2Fgift/lists"}