Giter Site home page Giter Site logo

creunafi / color-space-fixer Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 1.0 791 KB

WordPress plugin to convert Adobe RGB / CMYK images to sRGB automatically. Requires ImageMagick built with lcms delegate.

Home Page: https://creunafi.github.io/color-space-fixer

PHP 100.00%
cmyk icc icc-profile imagemagick imagick srgb wordpress wordpress-plugin wp-plugin

color-space-fixer's People

Contributors

joppuyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

miscs

color-space-fixer's Issues

Error message: Uncaught ImagickException: insufficient image data in file `/tmp/magick-6363Yc7cfwZA0Drh'

Hey Guys,

It seems that the plugin is making conflicts and it breaks my Blog or Shop in Wordpress.

The only plugin is using Imagick is yours. Have you ever seen this ?

`Error Details

An error of type E_ERROR was caused in line 39 of the file /home/troshevadm/public_html/wp-content/themes/thegem-elementor/inc/image-generator/image-editor.class.php. Error message: Uncaught ImagickException: insufficient image data in file /tmp/magick-6363Yc7cfwZA0Drh' @ error/jpeg.c/ReadJPEGImage/1156 in /home/troshevadm/public_html/wp-content/themes/thegem-elementor/inc/image-generator/image-editor.class.php:39 Stack trace: #0 /home/troshevadm/public_html/wp-content/themes/thegem-elementor/inc/image-generator/image-editor.class.php(39): Imagick->__construct('s3eucentral1://...') #1 /home/troshevadm/public_html/wp-content/themes/thegem-elementor/inc/image-generator/image-generator.php(70): TheGem_Dummy_WP_Image_Editor->get_size() #2 /home/troshevadm/public_html/wp-content/themes/thegem-elementor/inc/image-generator/image-generator.php(63): thegem_build_image_data('s3eucentral1://...') #3 /home/troshevadm/public_html/wp-content/themes/thegem-elementor/inc/image-generator/image-generator.php(26): thegem_get_thumbnail_src(196, 'thegem-gallery-...') #4 /home/troshevadm/public_html/wp-content/plugins/thegem-elements-elementor/thegem-elements-elementor.php(288): thegem_generate_thumbnail_sr

If it's not from you I will look elsewhere.

Batch process existing images

In my scenario, the colorloss does only happen on thumbnails. The original image still has the full color set. So this plugin should be able to work with backwards compatibility - e.g. install plugin and regenerate thumbnails using wp media regenerate CLI command.

Fatal error

Hi, when I activate your plugin I have this error:
The plugin cannot be activated because it generates a fatal error.
Fatal error: Uncaught Error: Call to a member function getVcsApi() on null in /var/www/html/wp-content/plugins/color-space-fixer-master/functions.php:21 Stack trace: #0 /var/www/html/wp-admin/includes/plugin.php(2223): include() #1 /var/www/html/wp-admin/plugins.php(175): plugin_sandbox_scrape() #2 {main} thrown in /var/www/html/wp-content/plugins/color-space-fixer-master/functions.php on line 19

Thanks

PS. Even removing from line 19, to line 21. I can't activate the plugin. Fatal error.
I use Ubuntu 19.10 + apache + php7.4fpm

imagick using php.ini

Hello, my shared host allows me to enable imagick using a php.ini file.

Unfortunately it appears that this is not enabled on each directory recursively. Therefore when enabled in the main wordpress install directory I received the error Color Space Fixer is activated but it's not doing anything because ImageMagick PHP extension has not been loaded. How to fix.

Which directory(s) specifically requires the imagick installed? plugins, uploads, somewhere else?

Many thanks for your work. This plugin will be invaluable to me. I would certainly pay a licence fee for a version which can batch convert existing uploads.

Compatibility

Hi, seems like have not more compatibility with Wordpress 6.1 version.
Anyone have this issues?
Thank you

Preserve source image temporarily

Preserve source image for an hour/day/week. Make it possible to revert color space conversion while source is preserved.

This could be useful in cases where color space conversion is unwanted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.