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.1k↓37.5%4[2 issues](https://github.com/superdav42/magento-image-quality/issues)GPL-3.0PHP

Since Oct 15Pushed 1y 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 1mo ago

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

34

—

LowBetter than 77% of packages

Maintenance25

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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

2408d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8732cbed108269761a740f7b8c63bbf7eef3c927c7b1cf2554c0f87943f335d9?d=identicon)[superdav42](/maintainers/superdav42)

---

Top Contributors

[![superdav42](https://avatars.githubusercontent.com/u/1534605?v=4)](https://github.com/superdav42 "superdav42 (15 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

8044.5M33](/packages/smile-elasticsuite)[yireo/magento2-next-gen-images

Magento 2 module to add NextGen images support to the Magento frontend

471.1M2](/packages/yireo-magento2-next-gen-images)[smile/module-product-label

Smile - Extension of Magento2 to be able to contribute images associated to product attribute values.

5898.7k](/packages/smile-module-product-label)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[elgentos/magento2-imgix

Imgix extension for Magento 2 to process images

1668.0k](/packages/elgentos-magento2-imgix)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)

PHPackages © 2026

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