{"id":19404819,"url":"https://github.com/g21589/wmf2canvas","last_synced_at":"2025-07-15T03:42:55.422Z","repository":{"id":48930495,"uuid":"54629717","full_name":"g21589/wmf2canvas","owner":"g21589","description":"Convert WMF/EMF (Windows Metafile) image file to HTML5 canvas by using pure javascript.","archived":false,"fork":false,"pushed_at":"2021-07-05T07:04:29.000Z","size":1507,"stargazers_count":36,"open_issues_count":6,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T01:51:11.897Z","etag":null,"topics":["emf","html5-canvas","javascript","windows-metafile","wmf"],"latest_commit_sha":null,"homepage":"http://g21589.github.io/wmf2canvas/","language":"JavaScript","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/g21589.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}},"created_at":"2016-03-24T09:18:50.000Z","updated_at":"2025-03-24T07:14:44.000Z","dependencies_parsed_at":"2022-09-14T09:50:13.797Z","dependency_job_id":null,"html_url":"https://github.com/g21589/wmf2canvas","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/g21589%2Fwmf2canvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g21589%2Fwmf2canvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g21589%2Fwmf2canvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g21589%2Fwmf2canvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g21589","download_url":"https://codeload.github.com/g21589/wmf2canvas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250600475,"owners_count":21456971,"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":["emf","html5-canvas","javascript","windows-metafile","wmf"],"created_at":"2024-11-10T11:36:25.272Z","updated_at":"2025-04-24T09:30:42.176Z","avatar_url":"https://github.com/g21589.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"wmf2canvas\n==========\n[![MIT License][license-image]][license-url]\n\nConvert WMF (Windows Metafile) image file to HTML5 canvas by using pure javascript.\n\nOnline Demo\n----\nhttp://g21589.github.io/wmf2canvas\n\n\nUsage\n----\n```html\n\u003cinput type=\"file\" id=\"file\" accept=\"image/x-wmf\" /\u003e\n\u003ccanvas id=\"canvas\"\u003e\u003c/canvas\u003e\n\n\u003cscript\u003e\nlet wmf = new WMFConverter();   // new the WMFConverter object\n\t\nlet canvas = document.getElementById(\"canvas\");\nlet file = document.getElementById(\"file\");\n\t\nfile.onchange = function() {\n\tlet filename = this.files[0];\n\twmf.toCanvas(filename, canvas); // load the wmf file and convert to canvas graph\n}\n\u003c/script\u003e\n```\n\nVersion\n----\n\n0.9.1\n\n\nLicense\n----\n\nMIT\n\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat\n[license-url]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg21589%2Fwmf2canvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg21589%2Fwmf2canvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg21589%2Fwmf2canvas/lists"}