Skip to content

caraboides/nodeIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

nodeIM

is a Webservice around image-magic and the unix tool file

For image optimizing u need optipng and ittleutils-1.0.24


to Start server:

 node server.js


To convert:

curl --data-binary @image.png  http://127.0.0.1:8124/convert\?source=png\&target=jpg

The params are the same like the native convert programm, like "-quality value":

curl --data-binary @image.png  http://127.0.0.1:8124/convert\?source=png\&target=jpg\&quality=90

for mime Infos:

curl --data-binary @E-Book-Reader-Acer-LumiRead.png  http://127.0.0.1:8124/mime

for native "file" infos:

curl --data-binary @E-Book-Reader-Acer-LumiRead.png  http://127.0.0.1:8124/file

About

a rest-service wrapper for imageMagic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages