Skip to main content
Participating Frequently
June 28, 2024
Question

ACTION ( script ) - separation couleur

  • June 28, 2024
  • 3 replies
  • 3411 views

Bonjour,

Je cherche a creer une action ( script ) pour pouvoir separer mes couleur pour l'impression textile.
Un script qui pourrai faciliter la vie a un grand nombre de designer.
Ca fait 1 semaine que je bosse dessus et impossible de trouver, je cherche donc a pro level ++++  pour pouvoir m'aider.

J'ai mi en piece joint les informations pour expliquer ce que je voudrais. Je n'ai pas pu ajouter l'action que j'ai deja travaillé. ( les ficher .atn ne peuvent pas etre lié a ce message )

Merci beaucoup a tous et bonne chance.

Damien

3 replies

Stephen Marsh
Community Expert
Community Expert
June 28, 2024

I looked at your layered RGB file.

 

Can you provide a copy of the original file of the full colour RGB mushrooms on transparent background?

 

In your 3 colour example, there are black and yellow tones over the solid background colour. How do you propose to automate the separation of such regions? Is this based on tonal values or is it an artistic decision made manually?

Participating Frequently
June 28, 2024

Here is the mushrrom and my full script ( wip ) : https://we.tl/t-vMw8bsy3z5

For the separation into 3 colors, i don't want to make it manually so i play with the level under the gradient map layer.

I like gradient map because it can be apply to a lot of picture style. In fact, if i have 3 tone of grey scale, it will be my 3 colors on my artwork. The problem in my script is : it work for 3 colors but I can't add colors ( on the gradient map pannel ) and i use the levels.

Thanks

Stephen Marsh
Community Expert
Community Expert
July 3, 2024

Thanks @Stephen Marsh  for your replay.
I see that it looks more complicated than expected and i never used javascript.
So i think i will try to create one script for 1 color, 1 script for 2 colors, a script for 3 colors.... maybe it will be easier.

Do you think you can explain me the steps : how would you do to go from STEP 2 to STEP 3 with a script ? and if possible to finish the STEP 3 with each layer of color in blackNwhite. ( more easier for the next step with bitmap )

See the example  i used in my script but i'm sure there is a simple/better way to do it ? ( see attached file )

Thanks a lot

D


Step 2 to 3 require a consistent gradient setup if you use an action or javascript to change the colour values. The reason is that it is not just the colour values that are recorded, it's the stop positions and other slider values that are also recorded and changed by the action, even if the only thing done is to change the colour.

 

 

So if your action was for a 2 colour conversion, but slider stops were in different positions, the action would change and reset the positions and the colours, which you wouldn't want as you are only looking for a black and white version with the same stop positions.

 

A more advanced scripter than I might be able to only change the colour stop values without changing the stop positions, but that's beyond me and may or may not be possible.

 

As I use an English version, you will have the same issues if I try to record any action steps to help you, some steps may fail in the French language version. Javascript doesn't have this issue.

 

It's basically doing what you would do manually, duplicating the gradient map 2 or more times and adjusting the colour steps to black and white to create a faux separation.

Stephen Marsh
Community Expert
Community Expert
June 28, 2024

What is the final print method?

 

Are you producing screen separations?

 

Dyesublimation?

 

Or is this DTG inkjet?

Participating Frequently
June 28, 2024

This script is to change more easly colors on my artworks in photoshop.

After that i will transform all my photoshop layers into bitmap layers and i put them into a illustrator file to put PANTONE CODE.

The supplier will use it for screens. So it will be screenprinted.

Stephen Marsh
Community Expert
Community Expert
June 28, 2024
quote

Good morning,
I am looking to create an action (script) to be able to separate my colors for textile printing... I have attached the information to explain what I would like.


By @Damien28694733evnn

 

Unfortunately, that PDF doesn't help me much (I thought that it may have spot colours, but it's just RGB).

 

 

Is the green colour visually representing a solid print white base ink under the black ink halftone screen of the mushroom? Or is the intent to have a black halftone mushroom printing over a separate solid green ink?

 

Separations for print output would usually be performed in the channels panel, not layers – using Grayscale, CMYK or Multichannel modes and spot channels as these are ink-based and not based on emitted light as RGB mode is.

 

Photoshop can do a lot with an action (.atn) or script (.jsx) and there are specialised commercial colour separation tools for screen print.

Participating Frequently
June 28, 2024

Hi Stephen, thanks for your replay.
I would like a solid color on the first  layer and on the top a halftone layer per colors. It's bad i can't share my script.

I made a graphic to explain a bit more, i hope it will help you.

Thanks a lot

D

Stephen Marsh
Community Expert
Community Expert
June 28, 2024

@Damien28694733evnn 

 

You need to share files that are unsupported in the forum software via your CC account, or DropBox, OneDrive, Google Drive etc.

 

Again, channels are the way to create separate inks, not layers (unless you are using C, M, Y or K proxy channels as spot channels).

 

Can you post the PSD example with a transparent background of the mushroom?