kristopolous / apophnia Goto Github PK
View Code? Open in Web Editor NEWImage server
Home Page: http://9ol.es/apophnia
License: MIT License
Image server
Home Page: http://9ol.es/apophnia
License: MIT License
such as :Last-Modified,Cache-Control etc
I've tried all of the proportion settings and they all seem to do "squash" when I resize an image is there something I'm missing?
Thanks for apophnia.
i had no idea how to install from source & git.
Even without install instructions i guess i got it installed correctly on my debian vserver after googleing a lot using:
apt-get install imagemagick
apt-get install libmagickwand-dev
apt-get git-core
git clone git://github.com/kristopolous/apophnia
cd apophnia
make
make install
cd sample
./create-sample.sh
apophnia
If i call http://mydomain.com:1210/example.png it works. Also with resize parameters.
But if i call http://mydomain.com:1210/index.html only a broken image icon will be shown!?
Should it be this way?
I have also two questions:
Lutz
we should place a squid like server before the image server,so if apophnia returns proper cache headers , let the squid do the cache work,we just generate the images.
And at the same time, magically ignore when new images are created.
Hi!
I have an idea of a new feature. I would like to achive this scenario:
I have a file with resoltuion 400x800 (px) f.ex. test.jpg. I would like to make a request to apophnia that will keep the ratio of a file, here's the example:
k - keep ratio
request: test_k300x400.jpg
expected: test.jpg with resolution 200x400
request: test_k100x50
expected: test.jpg with resolution 25x50
File: test.jpg with 300x200
request: test_k300x400.jpg
expected: test.jpg with resolution 300x200
request: test_k100x50
expected: test.jpg with resolution 75x50
File: test.jpg with 60x20
request: test_k300x400.jpg
expected: test.jpg with resolution 300x100 - it can be bigger... I dont care here
It will always keep the ratio. If an image is bigger than the request, then apophenia will response with smaller but it will keep the ratio so it wont go beyond the scope of request resolution.
Reason:
I upload many images to apophenia and want them to fit into some box. F.ex list of items in a shop.
What you think? the parametr letter can be different its only an example
Regards
R.
store generated file to other directory , not in the original path
Hi,
I create a jpg image, here it is: http://d.pr/i/lmrd
Apophnia creates other images from that one but they have a black background instead of white. Why, because of transparency(its really a PNG)? How can I change it to white? Is there a jpg bug?
What other information do you need?
Proposal option:
I would like to accept only request with f.ex r100, r300 and r500. Is there any way i can do that? Because one loop with all possible resolution can kill my server.
Greetings! Great work!
implicit creation of chained operations.
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.