Coder Social home page Coder Social logo

imgio's People

Contributors

overbryd avatar radiospiel avatar spier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

overbryd

imgio's Issues

em-synchrony instead of goliath

Hy,

I understand the use of Goliath to fight against IO related performance issues.
But there is a great project called sinatra-synchrony that uses Fibers in order to release IO bottlenecks.
You could simplify the whole project by removing Goliath and enable sinatra-synchrony.

Is there another specific reason why Goliath has been chosen?

If not, I would like to help migrating this project to sinatra-synchrony.

Cheers,

Lukas

Ideas for more universal workflows?

I would like to see something which allows the user to construct workflows, and which allows the application
to define possible workflow steps in an easy to use syntax.

A workflow could be something like:

  • fetch (GIF) image from URL
  • extract frame NNN from image
  • apply mask
  • crop & zoom to fit
  • convert to JPG

which, as an URL, could probably look like this:

http://<server>/jpg/70/fit/100x200/mask/frame/12/http://<src-url>

Any thoughts on this?

Add support to rewrite img tags

If we build imgio into a middleware, we could provide support to automatically rewrite image tags like so. From:

<img width="120" height="240" src="http://domain.com/an/image.png"> 

into

<img width="120" height="240" src="http://<myimageioserver>/120/240/http://domain.com/an/image.png"> 

Ideas for Middleware

Hy @radiospiel ,

I think your plans to provide imgio as a middleware are great.

To do so I wrote down a couple of thoughts.

Since Sinatra is able to run as a middleware, we just need it to adapt a little bit.

Furthermorw I think there should be two variants of imgio as gems.
One should be async and for latest environments running Ruby19 and another should include Ruby systems >=1.8.7.
The latter could also provide support for async mode, maybe using a queue and processes or something. But for a first shot, it'd be enough to have it running in sync.

Since I have some spare time, I'd like to step up and work on the Ruby19 as a middleware,

What do you think?

Cheers, Lukas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.