This page demonstrates various examples of using Skymage for image transformations.
See the difference our image transformations can make:
```php // Install Skymage composer require daudau/skymage// Initialize the client $skymage = new \Daudau\Skymage\Client('your-api-key');
// Generate a transformed image URL $url = $skymage->image('your-image.jpg') ->resize(800, 600) ->filter('sepia') ->blur(5) ->getUrl();
```javascript
// Install Skymage JS client
npm install skymage
// Initialize the client
const skymage = new Skymage('your-api-key');
// Generate a transformed image URL
const url = skymage.image('your-image.jpg')
->resize(800, 600)
->filter('sepia')
->blur(5)
->getUrl();
https://demo.skymage.net/v1/daudau.cc/images/landscape.jpg?w=1200&h=630&fit=cover&p=top
https://demo.skymage.net/v1/daudau.cc/images/product.jpg?w=300&h=300&fit=contain&bg=white
https://demo.skymage.net/v1/daudau.cc/images/blog.jpg?w=800&h=450&fit=cover&filt=grayscale
https://demo.skymage.net/v1/daudau.cc/images/person.jpg?w=200&h=200&fit=crop&p=face