使用 ImageMagick 和 PHP 的 Instagram
In this repository, I’ll demonstrate you how to create vintage (just like Instagram does) photos effects with PHP and ImageMagick. Wait? What? Yes, you can do this very thing with PHP and ImageMagick, and that’s just scratching the surface of allmighty Imagemagick!
setInput('sucks.jpg');
$instagraph->setOutput('rocks.jpg');
$instagraph->process('toaster');
# You can see changes in output file now
Demo application is included, it looks like:
Live demo will be up soon on: Instagraph.me
Listen *:1337
ServerName Instagraph
DocumentRoot /var/www/instagraph/public
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
If on Windows, just replace /var/www/ with e.g. C:\www\.
Contributions are welcome, if you have ideas or filters, or even better, some code for them, please open up Issue or Pull Request.
Instagraph is open-sourced software licensed under the MIT License.
暂无开放 Issues,或尚未同步最近议题。