PHPackages                             jeishanul/image-converter - 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. jeishanul/image-converter

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

jeishanul/image-converter
=========================

A PHP package to convert images between various formats while maintaining quality.

1.0.0(11mo ago)01MITPHPPHP ^7.4 || ^8.0

Since Jun 15Pushed 11mo agoCompare

[ Source](https://github.com/jeishanul/ImageConverter)[ Packagist](https://packagist.org/packages/jeishanul/image-converter)[ RSS](/packages/jeishanul-image-converter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Jeishanul Image Converter
=========================

[](#jeishanul-image-converter)

A PHP Composer package to convert images between various formats while maintaining quality.

---

🚀 Installation
--------------

[](#-installation)

Install via [Composer](https://getcomposer.org/):

```
composer require jeishanul/image-converter

```

### PHP Extensions Required

[](#php-extensions-required)

- `ext-imagick` (**recommended** for broad format support)
- `ext-gd` (fallback for basic formats: JPEG, PNG, GIF, BMP, WebP)

> ℹ️ For advanced formats like **HEIC**, **RAW**, **PDF**, ensure your system has dependencies such as **libheif**, **Ghostscript**, etc.

---

🖼️ Supported Formats
--------------------

[](#️-supported-formats)

### ✅ Input Formats

[](#-input-formats)

BMP, JPEG, JPG, PNG, GIF, TIFF, TIF, WebP, HEIC, HEIF, PSD, ICO, SVG, AI, EPS, PDF, RAW, CR2, NEF, ARW, DNG, RW2, ORF, PEF, SRF, SR2, EXR, DDS, APNG, JFIF, AVIF

### ✅ Output Formats

[](#-output-formats)

Same as input formats (depending on support by Imagick or GD).

---

🔧 Usage
-------

[](#-usage)

### Simple Conversion

[](#simple-conversion)

Automatically converts and saves the image with the same filename and new extension:

```
