• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

Does anyone have a trick to automate replacing color swatches or colors for images across designs

Community Beginner ,
Nov 09, 2023 Nov 09, 2023

Copy link to clipboard

Copied

So I have a base template that i used to generate about 42 variations each with a different logo and website. Each variation has it own color palette. I found a script that allowed me to recolor simple graphics and text but I cannot batch recolor the images. Is there a way i can set up an action or tool to automate the recoloring of these images using each design's color swatch. 

 

I've also attached a screenshot so the icons (calendar, house, headset) are images that i want to recolor with a different swatch for each of the 42 designs. is there a way i can automate this?

TOPICS
Draw and design , How-to , Scripting , Type

Views

252

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Enthusiast ,
Nov 12, 2023 Nov 12, 2023

Copy link to clipboard

Copied

Are the icons a raster with an alpha channel? In Adobe Illustrator, you can only recolor images that have been converted to Grayscale (Edit Colors menu) and only in Spot colors. In Process, the colors will not work. Scripts can automate the conversion to grayscale and the repainting of the raster to spot color if it suits your task.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 12, 2023 Nov 12, 2023

Copy link to clipboard

Copied

Sergey, you can use Process colors to color greyscale images, it is not restricted to spot.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 12, 2023 Nov 12, 2023

Copy link to clipboard

Copied

It only works with Spot for me. If I convert an image to grayscale in Photoshop and put it into an Illustrator, I can repaint such an image in any color.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 12, 2023 Nov 12, 2023

Copy link to clipboard

Copied

I can repaint such an image in any color.

or

I can't repaint such an image in any color.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 12, 2023 Nov 12, 2023

Copy link to clipboard

Copied

Ton, probably Sergey is using 16-Bit greyscale images with 2 channels.

 

In that case process colours don't work (though the Document Info palette wrongly claims that it is coloured).

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 12, 2023 Nov 12, 2023

Copy link to clipboard

Copied

Helpx Adobe Adjust colors: "Colorize grayscale or 1-bit images: If a grayscale image contains an alpha channel, you cannot colorize the image with a process color. Select a spot color instead". https://helpx.adobe.com/illustrator/using/adjusting-colors.html


If we look at the screenshot of the OP, we see that it has white raster icons on the colored background. It seems to me that this is a raster with an alpha channel, and they cannot be colorized in a Process Swatch.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 13, 2023 Nov 13, 2023

Copy link to clipboard

Copied

Yes, my mistake, forgot the alpha channel. You are correct.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 13, 2023 Nov 13, 2023

Copy link to clipboard

Copied

LATEST

Greyscale images with an alpha channel can be coloured with process colours by using the traditional opacity mask route. It can be automated with an action (and perhaps with a script as well).

 

Dayzia, you may want to share at least one sample Illustrator file with some instructions. This way, one may have a look and see what way may be appropriate.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 12, 2023 Nov 12, 2023

Copy link to clipboard

Copied

You can record an action if your colors are global process. Not sure about others.

paste clipboard of some elements with the correct color. 

When a message comes up choose add swatch

Screen Shot 2023-11-12 at 10.27.11 AM.jpg

Delete the pasted elements

Then record a merge swatch of the correct color with the bad color. You wl unfortunately need to click on add swatches when running the action on your 42 files.

 

Screen Shot 2023-11-12 at 10.29.01 AM.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines