{"id":69210,"library":"tdewolff-canvas","title":"Canvas","description":"Canvas is a Go library for 2D vector graphics, text rendering, and image manipulation with support for various output formats.","status":"active","version":"0.0.0-20240124130827-eb8f8f8df41f","language":"go","source_language":null,"source_url":"https://github.com/tdewolff/canvas","tags":["graphics","vector","rendering","image","2d"],"install":[{"cmd":"go get github.com/tdewolff/canvas","lang":"bash","label":"Install github.com/tdewolff/canvas"}],"dependencies":[],"imports":[{"symbol":"canvas","correct":"github.com/tdewolff/canvas"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/tdewolff/canvas\"\n\t\"github.com/tdewolff/canvas/renderers\"\n)\n\nfunc main() {\n\tc := canvas.New(100, 100)\n\tctx := canvas.NewContext(c)\n\tctx.DrawPath(0, 0, canvas.Rectangle(50, 50))\n\trenderers.Write(\"output.png\", c)\n}","lang":"go","description":"Creates a canvas, draws a rectangle, and saves as PNG."},"warnings":[],"env_vars":null,"search_vec":"'2d':8,26 'canva':1,2 'format':21 'go':5 'graphic':10,22 'imag':14,25 'librari':6 'manipul':15 'output':20 'render':12,24 'support':17 'text':11 'various':19 'vector':9,23","created_at":"2026-06-17T17:59:15.627777+00:00","updated_at":"2026-06-17T17:59:15.627777+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/tdewolff/canvas","github":"https://github.com/tdewolff/canvas","docs":"https://pkg.go.dev/github.com/tdewolff/canvas#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-17","next_check":"2026-12-14","install_tag":null}}