server-for-getimagedata

时间:2024-05-21 21:42:44
【文件属性】:

文件名称:server-for-getimagedata

文件大小:11KB

文件格式:ZIP

更新时间:2024-05-21 21:42:44

JavaScript

服务器获取图像数据 服务器需要使用将指定URL的图像转换为base64,并以JSONP格式返回 我正在使用node.js 您也可以在heroku上运行它 在本地运行 如果您没有安装node.js,请安装它。 在Mac上 $ brew install node 您可以使用它进行安装。您还需要imagemagick(或GraphicsMagick)进行图像处理。如果未安装,请安装它。 $ brew install imagemagick 然后按以下方式启动服务器。 $ git clone https://github.com/willnet/server-for-getimagedata.git $ cd server-for-getimagedata $ npm install $ npm start http://localhost:5000/?url=画像のURL&callbac


【文件预览】:
server-for-getimagedata-master
----public()
--------lang-logo.png(2KB)
--------stylesheets()
--------node.svg(2KB)
----views()
--------partials()
--------pages()
----Procfile(19B)
----README.md(1KB)
----app.json(301B)
----.gitignore(48B)
----index.js(4KB)
----package.json(533B)

网友评论