PHPackages                             delboy1978uk/image - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. delboy1978uk/image

ActiveLibrary[Image &amp; Media](/categories/media)

delboy1978uk/image
==================

PHP image class

v2.6.2(8mo ago)54.4k15MITPHPPHP ^8.2CI passing

Since Jul 17Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/delboy1978uk/image)[ Packagist](https://packagist.org/packages/delboy1978uk/image)[ RSS](/packages/delboy1978uk-image/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (24)Used By (5)

image
=====

[](#image)

[![Latest Stable Version](https://camo.githubusercontent.com/890c59c2bcb5a45a0ca85d65e339c9231c6e258216b8e1cea408b0e47ca9d104/68747470733a2f2f706f7365722e707567782e6f72672f64656c626f7931393738756b2f696d6167652f762f737461626c65)](https://packagist.org/packages/delboy1978uk/image) [![Total Downloads](https://camo.githubusercontent.com/445bedad3c1b8a58ac50e6f210d659be8785fb2e4c233c525db7fc08dd9d7639/68747470733a2f2f706f7365722e707567782e6f72672f64656c626f7931393738756b2f696d6167652f646f776e6c6f616473)](https://packagist.org/packages/delboy1978uk/image) [![Latest Unstable Version](https://camo.githubusercontent.com/9e712bb85754d7c608608e7505c25ec76c6a2cca7ab733090e8481661933e6c5/68747470733a2f2f706f7365722e707567782e6f72672f64656c626f7931393738756b2f696d6167652f762f756e737461626c65)](https://packagist.org/packages/delboy1978uk/image) [![License](https://camo.githubusercontent.com/57f694bb12303ca3b6ee3206dac8282c1874801ceb7bd94cc86030ffa8cf5e7d/68747470733a2f2f706f7365722e707567782e6f72672f64656c626f7931393738756b2f696d6167652f6c6963656e7365)](https://packagist.org/packages/delboy1978uk/image)
[![build status](https://github.com/delboy1978uk/image/actions/workflows/master.yml/badge.svg)](https://github.com/delboy1978uk/image/actions/workflows/master.yml/badge.svg) [![Code Coverage](https://camo.githubusercontent.com/a9eb39e46a3da939d205b4d61620a86c64a04270d5c69b14b6551b4987f5570b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656c626f7931393738756b2f696d6167652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/delboy1978uk/image/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/4a960e121118c20738c16ea8bc36198d7e9bc7d451584163b953b951b9de76e5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656c626f7931393738756b2f696d6167652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/delboy1978uk/image/?branch=master)
A PHP image class utilising the `gd` library

Installing
----------

[](#installing)

`composer require delboy1978uk/image`

Usage
-----

[](#usage)

### Instantiation

[](#instantiation)

You can pass a path name into the constructor, or you can use the `load()` method. Accepts `png`, `jpg`, `gif`, and `webp` images.

```
