znframework/package-image

ZN Framework Image Package

8.21.0 2025-01-05 14:01 UTC

This package is auto-updated.

Last update: 2025-01-05 14:12:55 UTC


README

ZN Framework Image Package

Follow the steps below for installation and use.

Installation

You only need to run the following code for the installation.

composer require znframework/package-image

Documentation

Click for documentation of your library.

Example Usage

Basic level usage is shown below.

<?php require 'vendor/autoload.php';

ZN\ZN::run();

$thumbPath = Thumb::path('images/wallpaper.jpg')
                  ->quality(80)
                  ->crop(100, 200)
                  ->resize(300, 200)
                  ->create();

echo Html::image($thumbPath);