# vectogram

> Image to SVG conversion server

Latest version **0.0.1** (published 2012-07-19) · 0 weekly downloads

## Install

```sh
npm install vectogram
pnpm add vectogram
yarn add vectogram
bun add vectogram
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2012-07-19 |
| First published | 2012-07-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Tolga Tezel |
| Maintainers | heck0045 |
| Keywords | image, svg |

## Links

- npm: https://www.npmjs.com/package/vectogram
- Repository: http://github.com/ttezel/vectogr.am
- npm.io page: https://npm.io/package/vectogram

## Dependencies (1)

- [easyimage](https://npm.io/package/easyimage.md) >=0.0.4

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2012-07-19

## README

#vectogr.am

API to convert image url to SVG path over http.

##install


```
  npm install vectogram
```

##how do I use this?

run a vectogram server instance

```javascript
var Vectogram = require('vectogram');

var options = { port: 80, host: '127.0.0.1' };

var server = new Vectogram(options) //start up the server
```

now you can make http requests to this server.

Resource:

* `GET` `http://127.0.0.1/url_to_image`

parameter:

* `pathonly` (optional - defaults to `false`)

values: 

* `true`
* `false`

Example http client request:

```javascript
var http = require('http');

var options = { 
  host: '127.0.0.1'
, port: 80
, path: '/v1/' + 'http://www.google.com/images/srpr/logo3w.png'
};

var request = http.get(options, function (res) {
  var reply = '';
  res.on('data', function (chunk) {
    reply += chunk;
  });
  res.on('end', function () {
    console.log(reply);
  });
});

request.on('error', function (e) {
  console.log('http client error:', e)
});

```

---
_Source: https://npm.io/package/vectogram · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
