PHPackages                             himmelkreis4865/imagelib - 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. himmelkreis4865/imagelib

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

himmelkreis4865/imagelib
========================

A php library for editing images

v1.1.0(3y ago)1141GPL-3.0PHPPHP &gt;=8.0

Since Mar 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/HimmelKreis4865/ImageLib)[ Packagist](https://packagist.org/packages/himmelkreis4865/imagelib)[ RSS](/packages/himmelkreis4865-imagelib/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

ImageLib
========

[](#imagelib)

[![Discord](https://camo.githubusercontent.com/628e2522c7b64a961393244805296998dc9621c44265de96e81d058145b53d7b/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3830383239343236363838363535333630313f6c6162656c3d646973636f726426636f6c6f723d373238394441266c6f676f3d646973636f7264)](https://discord.gg/GCCTxymKct)

This PHP Library is designed to be as easy understandable as possible. A better README will follow soon, this is just a simple documentation of the functions you have! This project is mainly designed to interact with [phpcord](https://github.com/HimmelKreis4865/phpcord).

### Installation

[](#installation)

You can either download this repository directly from github (you have to create your own autoloader in that case) or by installing it with [Composer](https://getcomposer.org/). You simply would execute `composer require himmelkreis4865/imagelib` once you installed it on your device. *You can also download the phar and run it with php as well*

To enjoy composer's autoload you have to add

```
require_once __DIR__ . "/vendor/autoload.php";
```

before accessing the first class.

Explanation
===========

[](#explanation)

- `Padding` is the distance between the top left corner and the object. It's telling object's position

Documentation
-------------

[](#documentation)

### Creating images

[](#creating-images)

You can either create images by getting them from a file:

```
