Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 99 | | All time: 9,818 This week: 206 |
|
Description | | Author |
This class can be used to apply an effect to an image to make it look fried.
It takes the path of an image file as parameter and creates a new image based on that applying a visual effect that makes it look like as if it was fried.
The resulting image may be stored in another file or be served for download. Innovation Award
November 2019
Number 10 |
Frying is a visual effect that can be applied to an image to make it look as if it was burned with some kind of heat source.
This class can process an image and alter its appearance to make it look as the subjects on the image were fried.
Manuel Lemos |
| |
|
|
Innovation award
Nominee: 5x |
|
Example
<?php
require '../vendor/autoload.php';
$fryer = new MirazMac\DeepFry\Fryer('meme.jpg');
$fryer->fry()
->moreDeepNibba()
->quality(20)
->output();
|
Details
PHP Deep Fryer
A Deep Fryer written in PHP to cook some smokin' hot memes!
Installation
composer require mirazmac/php-deep-fry
Usage
First of all you need to create an instance of the fryer. The fryer expects path to a valid image file. For detailed usage check usage folder.
require '../vendor/autoload.php';
$fryer = new MirazMac\DeepFry\Fryer('meme.jpg');
// Fry
$fryer->fry()
// Extreme!
->moreDeepNibba()
// Lower quality results in better frying
->quality(20)
// Output to the browser
->output();
Result
![](https://i.postimg.cc/x15MrtZY/preview.jpg)
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.