I can confirm that imagemagick will do the trick. If you’re using python, and want to do it within your program I’d recommend using PIL.
from PIL import Image
# image.mode is where the color space currently in use is stored
X = Image.open(path)
X.convert(‘cmyk’)
From: "Krichevsky, Nicholas J. via WLUG" <wlug@lists.wlug.org>
Reply-To: Worcester Linux Users' Group General Discussion <wlug@lists.wlug.org>
Date: Sunday, November 15, 2020 at 5:57 PM
To: Worcester Linux Users' Group General Discussion <wlug@lists.wlug.org>
Cc: Dennis Payne <dulsi@identicalsoftware.com>, "Krichevsky, Nicholas J." <njkrichevsky@wpi.edu>
Subject: [EXT] [WLUG] Re: [EXT] CMYK jpeg
Looks like you can do this with imagemagick
www.imagemagick.org |
From: Dennis Payne via WLUG <wlug@lists.wlug.org>
Sent: Sunday, November 15, 2020 8:22 PM
To: Worcester Linux Users' Group General Discussion <wlug@lists.wlug.org>
Cc: Dennis Payne <dulsi@identicalsoftware.com>
Subject: [EXT] [WLUG] CMYK jpeg
Anybody know of an easy tool to convert an image into a CMYK color
space jpeg? I found an online site that works but would like to do it
on my machine. Searching has only found how to do it for tiff files.
--
Dennis Payne
dulsi@identicalsoftware.com
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsocial.freegamedev.net%2Fchannel%2Fdulsi&data=04%7C01%7Cnjkrichevsky%40wpi.edu%7Cf3db634e4fe44534b4b808d889ce1501%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637410865997176091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NChE0cJuwuXvXa4Fc7ZQrGPyGlH%2FIW8%2F0RpoeMIhP%2B0%3D&reserved=0
_______________________________________________
WLUG mailing list -- wlug@lists.wlug.org
To unsubscribe send an email to wlug-leave@lists.wlug.org
Create Account:
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwlug.mailman3.com%2Faccounts%2Fsignup%2F&data=04%7C01%7Cnjkrichevsky%40wpi.edu%7Cf3db634e4fe44534b4b808d889ce1501%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637410865997176091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=f%2FU%2F3LU4n6l%2Fq0tAFp0yj6FhmUcZpalmzz%2FYTSXeYTQ%3D&reserved=0
Change Settings:
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwlug.mailman3.com%2Fpostorius%2Flists%2Fwlug.lists.wlug.org%2F&data=04%7C01%7Cnjkrichevsky%40wpi.edu%7Cf3db634e4fe44534b4b808d889ce1501%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637410865997176091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qEzbzxxHeTSdwIWd%2BVcRY7WA9aVLdF%2Bc70%2FwDat9e%2Bw%3D&reserved=0
Web Forum/Archive:
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwlug.mailman3.com%2Fhyperkitty%2Flist%2Fwlug%40lists.wlug.org%2Fmessage%2FJH76OHL7TSHXR56T5RJFIYSUYYKV7CVT%2F&data=04%7C01%7Cnjkrichevsky%40wpi.edu%7Cf3db634e4fe44534b4b808d889ce1501%7C589c76f5ca1541f9884b55ec15a0672a%7C0%7C0%7C637410865997176091%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Zu2EUifktDuq9387XRTjF2eDa6ctmHSvIICOQHQQL4w%3D&reserved=0