{"id":13413209,"url":"https://github.com/bamiaux/rez","last_synced_at":"2025-03-14T19:31:36.785Z","repository":{"id":13295180,"uuid":"15981212","full_name":"bamiaux/rez","owner":"bamiaux","description":"Image resizing in pure Go and SIMD","archived":true,"fork":false,"pushed_at":"2017-07-31T18:51:31.000Z","size":275,"stargazers_count":212,"open_issues_count":1,"forks_count":19,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-07-31T20:52:02.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/bamiaux.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":"2014-01-16T21:16:15.000Z","updated_at":"2024-07-02T05:46:29.000Z","dependencies_parsed_at":"2022-09-26T17:41:33.566Z","dependency_job_id":null,"html_url":"https://github.com/bamiaux/rez","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamiaux%2Frez","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamiaux%2Frez/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamiaux%2Frez/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bamiaux%2Frez/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bamiaux","download_url":"https://codeload.github.com/bamiaux/rez/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243635265,"owners_count":20322906,"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":[],"created_at":"2024-07-30T20:01:35.205Z","updated_at":"2025-03-14T19:31:36.462Z","avatar_url":"https://github.com/bamiaux.png","language":"Go","funding_links":[],"categories":["Images","图片","Images 图像处理","图像","\u003cspan id=\"图片-images\"\u003e图片 Images\u003c/span\u003e","圖象","Relational Databases","Imagery"],"sub_categories":["Advanced Console UIs","检索及分析资料库","SQL 查询语句构建库","Search and Analytic Databases","高级控制台界面","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","高級控制台界面","Middlewares"],"readme":"# rez [![GoDoc](https://godoc.org/github.com/bamiaux/rez/web?status.png)](https://godoc.org/github.com/bamiaux/rez) [![Build Status](https://travis-ci.org/bamiaux/rez.png)](https://travis-ci.org/bamiaux/rez)\nPackage rez provides image resizing in pure Go and SIMD.\n\nDownload:\n```shell\ngo get github.com/bamiaux/rez\n```\n\n\nFull documentation at http://godoc.org/github.com/bamiaux/rez\n\n* * *\nPackage rez provides image resizing in pure Go and SIMD.\n\nFeaturing:\n\n```\n- YCbCr, RGBA, NRGBA \u0026 Gray resizes\n- YCbCr Chroma subsample ratio conversions\n- Optional interlaced-aware resizes\n- Parallel resizes\n- SIMD optimisations on AMD64\n```\n\nThe easiest way to use it is:\n\n```\nerr := Convert(output, input, NewBicubicFilter())\n```\n\nHowever, if you plan to convert video, where resize parameters are the same for\nmultiple images, the best way is:\n\n```\ncfg, err := PrepareConversion(output, input)\nconverter, err := NewConverter(cfg, NewBicubicFilter())\nfor i := 0; i \u003c N; i++ {\n    err := converter.Convert(output[i], input[i])\n}\n```\n\nNote that by default, images are resized in parallel with GOMAXPROCS slices.\nBest performance is obtained when GOMAXPROCS is at least equal to your CPU\ncount.\n\n\n\n* * *\nAutomatically generated by [autoreadme](https://github.com/jimmyfrasche/autoreadme) on 2014.11.25\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamiaux%2Frez","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamiaux%2Frez","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamiaux%2Frez/lists"}