PHPackages                             devstone/module-imagequality - 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. devstone/module-imagequality

ActiveMagento2-module[Image &amp; Media](/categories/media)

devstone/module-imagequality
============================

Add Improved image quality controls to magento 2

1.0.0(6y ago)93.3k↓73.3%4[2 issues](https://github.com/superdav42/magento-image-quality/issues)GPL-3.0PHP

Since Oct 15Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/superdav42/magento-image-quality)[ Packagist](https://packagist.org/packages/devstone/module-imagequality)[ RSS](/packages/devstone-module-imagequality/feed)WikiDiscussions master Synced today

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

Image Quality User Guide v1.0.0
===============================

[](#image-quality-user-guide-v100)

Introduction
------------

[](#introduction)

The purpose of this extension is to give store owner's control over how their product images are processed and presented to the customer. It is designed to require minimal configuration with the defaults being what most users will need.

Magento has made assumptions about how images should be processed and they do not produce the best results for many users, such as hard coding JPEG image quality to 80. There are also several bugs in Magento core related to image processing that this extension fixes.

It was originally created for use with [Image Product Type](https://github.com/superdav42/magento-image-products) which turns Magento into a stock image store but it has been seperated so it can be used by any site that wants high quality product images.

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

[](#installation)

Use composer

```
composer require devstone/magento2-module-imagequality

```

or if your really want copy all files in this repository into:

```
app/code/DevStone/ImageQuality

```

Features
--------

[](#features)

- Add config options for setting JPEG quality for all product image sizes
- Add config option to enable image frame
- Add [GraphicsMagick](http://www.graphicsmagick.org/) Image Adapter, provides a 10-50% performance increase over ImageMagick
- Fix [core bug](https://github.com/magento/magento2/issues/10661) related to handling watermarks with transparency
- Performance improvements in GD and ImageMagick adapters
- Improve resize filter in ImageMagick adapter
- Preserve correct colors when embedded [color profiles](http://www.color.org) are used

Configuration
-------------

[](#configuration)

In the Admin menu select **Stores** ⟶ **Settings** ⟶ **Configuration**then choose **DevStone Extensions** ⟶ **Image Quality**

From here you can set the image quality for the various image sizes. A higher number produces better quality images but larger file sizes. The optimum quality setting depends on the content of the images.

- 92 is the highest recommended setting as higher values will not be noticeably different but will create a drastic increase in file size.
- 85 generally produces good file sizes with almost no loss in quality.
- 75 is the lowest recommended setting and will likely produce noticeable differences from the original.

Of course you can use any number between 1-100 or leave it at the default which for most images will be better than Magento's default of 80.

GraphicsMagick
--------------

[](#graphicsmagick)

This extension adds support for the Gmagick PHP extension which is more efficient than Imagick but still has all the same features that Magento needs. The [Gmagick PHP extension](https://pecl.php.net/package/gmagick) must be installed and active on the server Magento is running before it can be used. It can be found on pecl and is most Linux distributions package manager. If it is available at the time this extension is installed it will be automatically enabled. To enable it later or to switch to GD or ImageMagick in the Admin menu select **Stores** ⟶ **Settings** ⟶ **Configuration**then choose **Advanced** ⟶ **Developer**. Find **Image Processing Settings** and choose the desired **Adapter**.

Changelog
---------

[](#changelog)

### 1.0.0

[](#100)

Initial Release

- Add config options for setting JPEG quality for all product image sizes
- Add config option to enable image frame
- Fix bug in core so &lt;product\_image\_white\_borders&gt; tag in view.xml will be respected unless overridden in extension config
- Add support for quality tag in theme's view.xml
- Add GraphicsMagick Image Adapter
- Fix handling of watermarks with transparency
- Performance improvements in GD and ImageMagick adapters
- Improve resize filter in ImageMagick adapter
- Preserve correct colors when embedded color profiles are used

Future Plans
------------

[](#future-plans)

- webp support
- Allow uploading of images larger than 1920x1200
- Custom resize and sharpen filters
- Support for image optimization tools like mozjpeg, jpegrescan or jpegtran

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance55

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2453d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1534605?v=4)[David Stone](/maintainers/superdav42)[@superdav42](https://github.com/superdav42)

---

Top Contributors

[![superdav42](https://avatars.githubusercontent.com/u/1534605?v=4)](https://github.com/superdav42 "superdav42 (16 commits)")

### Embed Badge

![Health badge](/badges/devstone-module-imagequality/health.svg)

```
[![Health](https://phpackages.com/badges/devstone-module-imagequality/health.svg)](https://phpackages.com/packages/devstone-module-imagequality)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8064.7M49](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

3017.9k](/packages/mage-os-module-automatic-translation)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

1310.9k2](/packages/opengento-module-category-import-export)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
