Resize your images easily with .Maui API

.Maui Image Resizing API is a useful tool for creating thumbnails for your applications.

Resize an image with PHP is damn easy, it’s free and without any form of advertising.

Download the client from GitHub or api.dotmaui.com, include it in your project and use the available methods. Here is an example:

<?php
require ("DotMaui.php");

use DotMaui\Client;

$dotmaui = new Client("YOUR_API_KEY");

$req         = new stdClass();
$req->Width  = 50;
$req->Height = 50;
$req->Url    = "https://dotmaui.com/android-chrome-192x192.png";

$dotmaui->saveImgResizedFromUrl($req, '/var/www/mysite/thumbs/myresizedimage.png');

If you do not have a key API subscribe to dotmaui.com with your email or via Telegram. The api.dotmaui.com portal is available for complete API documentation.

Leave a Comment

Your email address will not be published. Required fields are marked *