[Python] Command line/script conversion of image files to match Photoshop/Adobe color...

Discussão em 'Python' iniciado por Stack, Setembro 30, 2024.

  1. Stack

    Stack Membro Participativo

    I'm looking for a command-line way to convert image files to JPEG CMYK profile USWebCoatedSWOPv2 (color mode and profile). The final converted files must match exactly how Photoshop converts files (final CMYK values).

    For example, converting an input PNG with RGB profile sRGB IEC61966-2.1 to JPEG CMYK profile USWebCoatedSWOPv2 with the other color/conversion settings in Photoshop's "North America General Purpose" (color settings option in Photoshop).

    Currently, we have Photoshop JSX scripts to do this, and the color is correct. However, when we try to move to a more command-line/script-friendly/robust approach like JS, Python, or ImageMagick, the colors are always a few CMYK percentages off. I have concluded that the Adobe (ACE) conversion engine is proprietary, and there is no other way to match it exactly.

    Continue reading...

Compartilhe esta Página