• Resolved MCI Desarrollo

    (@mcidesarrollo)


    Good morning, I have installed your plugin to compress my images and convert RGB images to sRGB.
    When I upload an RGB image it is compressed correctly but does not change from RGB to sRGB.
    I have tried all selection combinations on Compression type, Color space and Strip meta data but it has not worked.
    Also tested to regenerate with Regenerate Thumbnails

    What am I missing?

    Thanks a lot!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi, thanks for asking.

    Only thumbnails/sizes are converted to sRGB. Uploaded original remains “original” (unchanged). Same as in original WordPress code.

    Anyways, in next version, JPEG original will be cloned to same size, converted to sRGB and compressed. Soon.

    Thread Starter MCI Desarrollo

    (@mcidesarrollo)

    Thanks for the quick reply!

    I don’t need to convert the original to sRGB. I needed that when I regenerate the thumbnails from the original (which is RGB) these thumbnails are generated in sRGB.
    As I have not been able to do it with the plugin I have converted the files to sRGB outside and I have reloaded them by ftp.

    The new changes will be great

    Greetings,
    Carlos

    @mcidesarrollo

    Thanks. Can you share that original image?

    Thread Starter MCI Desarrollo

    (@mcidesarrollo)

    It is the website of a client that at the moment the website is under development and only accessible with a password but I can send you one of the images by email if you want

    Thread Starter MCI Desarrollo

    (@mcidesarrollo)

    I think that by asking me for the image you have given me the key as to why the conversion is not working:

    – If I analyze the metadata of the file created by the camera (saved in RGB) the color space data appears empty.

    – However, if I convert the image to sRGB with an external program, then sRGB appears in the metadata.

    I think the plugin doesn’t convert it because if the color profile data is empty, it interprets the original image space as already sRGB.
    It can be that?

    If this is always the case … should the plugin convert the image to sRGB if the metadata is different than sRGB? Even if it is empty?
    (All this if the option to convert to sRGB is selected)

    Thanks,
    Carlos

    Possible. Thanks.

    @mcidesarrollo

    There are two kinds of image colorspace metadata:
    ‘colorspace’
    ‘icc’ profile.

    If colorspace is empty, plugin does not convert to another (sRGB) colorspace, because has nothing to start with. Although, empty colorspace may be interpreted by ImageMagick library as sRGB, which makes your image interesting to use as special test case image.

    Instead converting all generated thumbnails via FTP, you have couple of much simpler choices:

    1) Disable colorspace conversion and you may upload any colorspace image. If colorspace is not sRGB, ‘icc’ profile won’t be removed, regardless of “strip-metadata” setting.

    2) Disable colorspace conversion, properly convert original to sRGB, and upload. If colorspace is sRGB, attached ‘icc’ profile will be removed, but only if “strip-metadata” setting is set to “Strip All”.

    Thanks.

    Thread Starter MCI Desarrollo

    (@mcidesarrollo)

    Ok, thanks a lot for the tips

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Convert RGB to sRGB’ is closed to new replies.