{"id":18469286,"url":"https://github.com/vishwagauravin/image-converter-pro","last_synced_at":"2025-07-05T12:36:09.707Z","repository":{"id":61904622,"uuid":"556182389","full_name":"VishwaGauravIn/image-converter-pro","owner":"VishwaGauravIn","description":"Convert any image into jpeg, gif, png, svg, bmp or ico directly from your web browser with advanced features such as scale up images.","archived":false,"fork":false,"pushed_at":"2023-05-09T01:55:07.000Z","size":15,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T09:39:31.101Z","etag":null,"topics":["base64","bmp","converter","datauri","dataurl","gif","icons","image","image-processing","jpg","png","svg"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/image-converter-pro","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VishwaGauravIn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-23T08:51:01.000Z","updated_at":"2025-04-15T16:03:36.000Z","dependencies_parsed_at":"2025-04-08T10:43:18.899Z","dependency_job_id":null,"html_url":"https://github.com/VishwaGauravIn/image-converter-pro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VishwaGauravIn/image-converter-pro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Fimage-converter-pro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Fimage-converter-pro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Fimage-converter-pro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Fimage-converter-pro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VishwaGauravIn","download_url":"https://codeload.github.com/VishwaGauravIn/image-converter-pro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Fimage-converter-pro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263743068,"owners_count":23504581,"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":["base64","bmp","converter","datauri","dataurl","gif","icons","image","image-processing","jpg","png","svg"],"created_at":"2024-11-06T10:09:43.416Z","updated_at":"2025-07-05T12:36:09.690Z","avatar_url":"https://github.com/VishwaGauravIn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n \u003ch1\u003e \u003cimg src=\"https://user-images.githubusercontent.com/81325730/197384318-a9e33a16-fcd3-4b40-880d-8484f0ee2dff.png\" width=\"80px\"\u003e\u003cbr/\u003eImage Converter Pro\u003c/h1\u003e\n \u003ca href=\"https://itsvg.in\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/Creator-Vishwa%20Gaurav-blue?style=plastic\"/\u003e\u003c/a\u003e \n \u003cimg src=\"https://img.shields.io/npm/v/image-converter-pro?label=%20\u0026style=plastic\"/\u003e\n \u003cimg src=\"https://img.shields.io/npm/dt/image-converter-pro?style=plastic\"\u003e\n \u003cimg src=\"https://img.shields.io/snyk/vulnerabilities/github/VishwaGauravIn/image-converter-pro?style=plastic\"/\u003e\n \u003cimg src=\"https://img.shields.io/badge/License-Apache-brightgreen?style=plastic\"/\u003e\n \u003cimg src=\"https://img.shields.io/github/languages/code-size/VishwaGauravIn/image-converter-pro?logo=github\u0026style=plastic\"\u003e\n\u003c/div\u003e\n\n# image-converter-pro\nConvert any image into jpeg, gif, png, svg, bmp or ico directly from your web browser with advanced features such as scale up images.\n\n## How to Install ?\nUse npm or yarn to install this npm package\n```\nnpm i image-converter-pro --force\n```\n\n## Example Code :\nExample code with **download** functionality\n\n```js\nimport imgConverter from \"image-converter-pro\";\n\n    let image = \"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgaGVpZ2h0PSczMDBweCcgd2lkdGg9JzMwMHB4JyAgZmlsbD0iIzAwMDAwMCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCA1LjU1NiAxMDAgODguODg5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgNS41NTYgMTAwIDg4Ljg4OSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGc+PHBhdGggZD0iTTkwLDE2LjY2N1Y1LjU1Nkg1NS41NTZ2MTEuMTExSDQ0LjQ0NFY1LjU1NkgxMHYxMS4xMTFINy42NDFIMFY1MGg3LjY0MUgxMHYxMi4yMjNoMTEuMTExdjEwaDExLjExMXYxMi4yMjJoMTEuMTExdjEwDQoJCWgxMy4zMzN2LTEwaDExLjExVjcyLjIyM2gwLjk5NGgxMC4xMTd2LTEwSDkwVjUwaDIuMjgzSDEwMFYxNi42NjcgTTI0LjQ0NCwyOS4wMTZ2MTIuMDk2SDExLjExMVYyOS4wMTZWMTcuNzc4aDEzLjMzM1YyOS4wMTZ6Ij48L3BhdGg+PC9nPjwvc3ZnPg==\"\n    \n    imgConverter(image, 50, 50, \"png\", 1).then(\n          (dataUri) =\u003e {\n            let link = document.createElement(\"a\");\n            link.download = \"download.png\";\n            link.href = dataUri;\n            link.click();\n          }\n        )\n```\n\n## parameters\n| Parameter  |      Description      |  Default Value |  type |\n|:----------|:-------------|:------:|------:|\n| image |  Image Url or Data Url/Uri | null | any |\n| width |    Original Width of Image  |   500 | number |\n| height | Original Height of Image |    500 | number |\n| format | \"jpeg\", \"gif\", \"png\", \"bmp\", \"svg\", \"ico\"  | \"png\" | string |\n| scale |    Amount of scale, for example if I want image to be 50% of it's size then I will use 0.5   |   1 | number |\n\n[\u003c/\u003e with 💛 Vishwa Gaurav](https://itsvg.in)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwagauravin%2Fimage-converter-pro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishwagauravin%2Fimage-converter-pro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwagauravin%2Fimage-converter-pro/lists"}