vigour-io / shutter

Makes a sprite out of an array of urls
ISC License
1 stars 0 forks source link

Flexibilize usage #2

Closed shawninder closed 9 years ago

shawninder commented 9 years ago

Currently only runs as a web service, should also be possible to run one-time operations from the command line or from within another javascript script.

Also offer a general-use server for image manipulation capable of uploading the source images (makes local use possible without installing ImageMagick)

Also need to invent the verb "flexibilize"

jimdebeer commented 9 years ago

As an extra flexible feature (for platforms where you can't install imagemagixx with a simple npm i) I would like to suggest adding a remote option.

basically what it does Installs the img server locally , but instead of using a local imgmagixx it forwards all the requests (and files) to a server and receives images over the network when done

protip: support batched requests and responses

shawninder commented 9 years ago

I don't think we need that, all we need is automated launching, and then you make your requests directly to the remote, no need for a local running process

shawninder commented 9 years ago

Allow POSTing image as an alternative to providing a URL

jimdebeer commented 9 years ago

the idea for the remote is to support cli deps for for examples native builds (even when you cant install imgmagixx)

shawninder commented 9 years ago

Supporting POSTed images will help with manipulating images that reside on your own machine (with extra options to suppress caching for one-off commands). After that we can make all sorts of command line helpers, integrations with dowhap the super system, etc. which will rely on being able to POST images or provide a URL, depending on the precise need in those cases

jimdebeer commented 9 years ago

Its not about making new cli commands its as a fallback for when things cant be installed, could use a post method indeed

nikoloza commented 9 years ago

@jimdebeer please check branch feature/2-flexibilize