PHPackages                             cleup/pixie - 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. cleup/pixie

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

cleup/pixie
===========

An excellent library for working with images in PHP.

1.0.6(3mo ago)026MITPHPPHP &gt;=8.1

Since Feb 6Pushed 3mo agoCompare

[ Source](https://github.com/cleup/pixie)[ Packagist](https://packagist.org/packages/cleup/pixie)[ Docs](https://github.com/cleup/pixie)[ RSS](/packages/cleup-pixie/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Pixie - Modern PHP Image Manipulation Library
=============================================

[](#pixie---modern-php-image-manipulation-library)

A powerful, flexible, and easy-to-use image manipulation library for PHP with support for both GD and Imagick drivers. Perfect for handling image processing tasks with excellent quality preservation and animation support.

Features
--------

[](#features)

- 🖼️ Dual Driver Support - Choose between GD or Imagick based on your needs
- 🎞️ Animation Support - Full animated GIF support
- 🎯 High Quality - Excellent quality preservation with optimized algorithms
- 📐 Multiple Operations - Resize, crop, rotate, flip, filters, and more
- 💧 Transparency Support - Full alpha channel support for PNG and GIF
- 🚀 Performance Optimized - Efficient memory usage and processing

Installation
------------

[](#installation)

```
composer require cleup/pixie
```

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- GD extension (for GD driver)
- Imagick extension (for Imagick driver - recommended for advanced features)
- Gifsicle for better optimization of GIF images

Recommendation
--------------

[](#recommendation)

If you plan to work with GIF images and want to optimize them or add animation support, it is recommended that you install Gifsicle. This tool can help you work with GIFs more efficiently and add animations where they are not currently supported, such as in conjunction with the GD library.

```
#  Ubuntu
sudo apt-get install gifsicle

# Centos
sudo yum install gifsicle
```

Quick Start
-----------

[](#quick-start)

#### Using ImageManager (Recommended)

[](#using-imagemanager-recommended)

```
