radiospiel / imgio Goto Github PK
View Code? Open in Web Editor NEWAn image asset resizer along the lines of sencha.io
An image asset resizer along the lines of sencha.io
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
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:
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?
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">
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
If the original server support expiration times, copy that times in the resulting image.
If the original server support e-tags, copy that e-tags from client to server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.