znframework/package-image

ZN Framework Image Package

8.19.2 2024-08-28 12:42 UTC

This package is auto-updated.

Last update: 2024-10-28 13:04:43 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);