{"id":50766,"library":"nfnt-resize","title":"nfnt/resize","description":"Package resize implements various image resizing methods.","status":"active","version":"0.0.0-20180221191011-83c6a9932646","language":"go","source_language":null,"source_url":"https://github.com/nfnt/resize","tags":["image","resize","graphics","processing"],"install":[{"cmd":"go get github.com/nfnt/resize","lang":"bash","label":"Install github.com/nfnt/resize"}],"dependencies":[],"imports":[{"symbol":"resize","correct":"github.com/nfnt/resize"}],"quickstart":{"code":"package main\n\nimport (\n\t\"image/jpeg\"\n\t\"os\"\n\n\t\"github.com/nfnt/resize\"\n)\n\nfunc main() {\n\tfile, _ := os.Open(\"input.jpg\")\n\tdefer file.Close()\n\timg, _, _ := image.Decode(file)\n\tnewImg := resize.Resize(100, 0, img, resize.Lanczos3)\n\tout, _ := os.Create(\"output.jpg\")\n\tdefer out.Close()\n\tjpeg.Encode(out, newImg, nil)\n}","lang":"go","description":"Resize an image to width 100 pixels."},"warnings":[],"env_vars":null,"search_vec":"'graphic':11 'imag':6,9 'implement':4 'method':8 'nfnt/resize':1 'packag':2 'process':12 'resiz':3,7,10 'various':5","created_at":"2026-06-15T05:08:46.874205+00:00","updated_at":"2026-06-15T05:08:46.874205+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nfnt/resize","github":"https://github.com/nfnt/resize","docs":"https://pkg.go.dev/github.com/nfnt/resize#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}