Styriam ICC Image Compressor

On behalf of Styriam sp. z o.o. I would like to present Styriam ICC Image Compressor addon.

This addon allows to:

  • Compress PNG/JPEG files with OptiPNG/mozJPEG libraries
  • Compress all textures of selected objects and/or convert PNGs to JPEGs
  • Attach ICC color profile to PNG/JPEG image and or convert to sRGB space. It is especially helpful to people using wide-gamut monitors to make saved renders look in other programs the same way as in Blender.
  • Export GIF animations with PIL or FFMPEG (better quality). You can choose to convert color space from display to sRGB when doing so.

Recently released version 1.1.0 adds new features:

  • ICC profiles can be attached to 8/16-bit PNG, TIFF, JPEG2000, JPEG
  • Batch compression (MozJPEG and OptiPNG) now preserves ICC profiles

Blender Market Spring Sale has just started. Get Styriam products 25% off for limited time!

Start exporting colors as you see them in Blender right now thanks to Blender Market’s Summer Sale.

The addon’s got a major improvement: appending ICC profile to WebP.
Also, don’t miss recent quality of life improvements.

Styriam ICC Image Compressor has proven to be quite a help for Adobe Premiere users with Macs or wide gamut monitors. If you’re using PNGs in your pipeline and want them to look the same in Blender and the video editor, this may be the solution for you.

1.3.0

  • ICC profile can be appended to WebP
  • Bugfix: error when exporting GIF to missing directory

1.2.0

  • New dependencies manager with logging to a new window
  • GIF export is now responsive
  • Gif frame rate is now tied to scene frame rate and frame step
  • FFMPEG for GIF exporting is now searched for in PATH environment variable so full path is not necessary, if it is present there
  • Fixed problem with empty ICC profile name created by Exiv2
  • Bugfixes involving image saving dialog

Styriam Icc Image Compressor is currently on sale.

Hi, thanks for a very important Blender addon!

Unable to install in Blender 4.1, though :confused:

Will look into it soon.

2 Likes

Thanks for a quick reply

Can you provide more details? I tried version 1.3 and it worked in Blender 4.1.
What system are you using? When does the problem occur? Can you install the addon at all? Did you install addon’s dependencies?

Hi, I’m on Linux. Addon version is 1.3.0 (styriam_icc_image_compressor 1.3.1.zip)
Addon installs in Blender 4.0.2 without problems, dependencies also.
In 4.1 when I try to enable the addon in Preferences, I get this error:
Traceback (most recent call last):
File “/home/bojan/Programs/Blender/blender-4.1.0-linux-x64/4.1/scripts/modules/addon_utils.py”, line 376, in enable
mod = importlib.import_module(module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/bojan/Programs/Blender/blender-4.1.0-linux-x64/4.1/python/lib/python3.11/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1204, in _gcd_import
File “”, line 1176, in _find_and_load
File “”, line 1147, in _find_and_load_unlocked
File “”, line 690, in _load_unlocked
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/home/bojan/.config/blender/4.1/scripts/addons/styriam_icc_image_compressor/init.py”, line 39, in
FROM(‘PIL’).IMPORT(‘ImageCms’, ‘Image’)
File “/home/bojan/.config/blender/4.1/scripts/addons/styriam_icc_image_compressor/dependency_handler/init.py”, line 251, in IMPORT
self._add_to_globals(other_globals[self.name])
File “/home/bojan/.config/blender/4.1/scripts/addons/styriam_icc_image_compressor/dependency_handler/init.py”, line 194, in _add_to_globals
other_globals[submodule] = importlib.import_module(f’{self.name}.{submodule}')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/bojan/Programs/Blender/blender-4.1.0-linux-x64/4.1/python/lib/python3.11/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1204, in _gcd_import
File “”, line 1176, in _find_and_load
File “”, line 1147, in _find_and_load_unlocked
File “”, line 690, in _load_unlocked
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/home/bojan/.config/blender/4.1/scripts/addons/blenderbim/libs/site/packages/PIL/ImageCms.py”, line 21, in
from PIL import Image
File “/home/bojan/.config/blender/4.1/scripts/addons/blenderbim/libs/site/packages/PIL/Image.py”, line 100, in
from . import _imaging as core
ImportError: cannot import name ‘_imaging’ from ‘PIL’ (/home/bojan/.config/blender/4.1/scripts/addons/blenderbim/libs/site/packages/PIL/init.py)

Hope this helps

I tried it on Ubuntu 22 without problems.

Are these the exact steps to reproduce this error?

  1. Install the addon
  2. Enable the addon

Have you installed any other addons that use PIL on this version of Blender or did you try installing PIL with this addon’s dependencies?
It looks like some problem with PIL.

Sorry for the late reply.

Yes, the step 2. - enabling the addon gives this error message.

I don’t even know what PIL actually is :). On Blender version 4.0.2 I installed the dependencies without problems.

Hmm, and the addons I use should be the same on both versions, so not much chance for a possible conflict.

I’ll try and see if there’s an addon that’s present in my 4.1 version that I didn’t have in 4.0.2. But also, some of the addons in the contrib dir might be in a newer version, so it makes things complicated.

Oh, I see. I didn’t catch it at first. The PIL module is used by another addon blenderbim. I don’t know why this version of PIL included in blenderbim is not working, maybe it is somehow customized or trimmed to minimize size.

  1. The PIL dependency installation might work if you disable blenderbim addon and reset Blender.
  2. If not, you have to delete anything related to PIL and Pillow from /home/bojan/.config/blender/4.1/scripts/addons/blenderbim/libs/site/packages/ then open Blender and install dependencies from the ICC Image Compressor addon. There is a chance blenderbim will be working with official version of PIL.
    Maybe instead of deleting you can cut PIL and Pillow and paste it back when it is installed by ICC Image Compressor. I’m not sure what would happen but maybe you can have both version of PIL installed this way.

Hope it works.

Hi Ziel,

I removed Blenderbim addon folder (since I don’t plan using it on the same version of Blender) and everything works!

Thanks