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

ACTION ( script ) - separation couleur

Community Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

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

TOPICS
Actions and scripting

Views

458

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
Community Expert ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

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).

 

SEPARATION COULEUR_script concept.png

 

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.

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 Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

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

Capture d’écran 2024-06-28 à 14.19.05.png

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 ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

@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?

 

 

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 Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

here is the link to download the psd and an example of the script :
https://we.tl/t-sfaKYg3VwJ

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 Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

to help more :

Capture d’écran 2024-06-28 à 14.34.57.png

 

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 ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

@Damien28694733evnn 

 

That’s not how I would do things.

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 Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

yes maybe there is a better way to make this script, if you can explain me how would you do it, it will be perfect.
I spent one week on it week 😉

 

Thanks stephen

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 Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

fyi, i don't want to separate color by RGB or CMYK but by grey scale.

Thks

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 ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

What is the final print method?

 

Are you producing screen separations?

 

Dyesublimation?

 

Or is this DTG inkjet?

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 Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

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.

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 ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

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?

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 Beginner ,
Jun 28, 2024 Jun 28, 2024

Copy link to clipboard

Copied

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

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 Beginner ,
Jul 01, 2024 Jul 01, 2024

Copy link to clipboard

Copied

@Stephen_A_Marsh  hello, by chance, did you have time to look at it ?

 

Thanks

 

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 ,
Jul 01, 2024 Jul 01, 2024

Copy link to clipboard

Copied

I have downloaded, however I've hit language barriers in both reading French and running your action on an English installation.

 

I was looking for/at a production solution, whereas you may be more  interested in a creative solution?

 

Anyway if you can convert the mushroom full colour image with your action that I can't run, I might have a better idea. I'm looking for the version with colour conversion layers without halftone conversion.

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 Beginner ,
Jul 01, 2024 Jul 01, 2024

Copy link to clipboard

Copied

Hello Stephen,

Yes it's more for a creative solution that a production solution. ( color separation )

I worked on a clean explanation for the script i would like. I used the mushroom but it can be apply to any image.
With this graphic, should be easier for you to understand the script.

Thanks

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 Beginner ,
Jul 01, 2024 Jul 01, 2024

Copy link to clipboard

Copied

@Stephen_A_Marsh  Hello, do you need more information from my side to help you ?

Thanks

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 ,
Jul 02, 2024 Jul 02, 2024

Copy link to clipboard

Copied

quote

@Stephen_A_Marsh  Hello, do you need more information from my side to help you ?

Thanks


By @Damien28694733evnn

 

Yes, more info is needed.

 

That last graphic really did help me to better understand your workflow!

 

Capture d’écran 2024-07-01 à 10.11.52.png

 

So now we need to talk about each separate step. As I can't get your French action to work in my English installation, you will have to forgive me for asking the obvious.

 

STEP 2: Do you have an action that creates the appropriate adjustments to create 2, 3 or more "spot colour" separations? As this is an artistic process, I imagine that some of this can be automated to some degree, however, there are probably a lot of manual adjustments required depending on the image's tones and your colour selection etc.

 

STEP 3: I presume that you are looking to automate the "conversion" of the gradient map into "separations". And that you don't wish to do this manually? This is no longer artistic, it's purely production automation.

 

STEP 4: Again, the goal would be production automation, creating true separations for each "spot colour" which are also halftone screened for screen printing.

 

Can you confirm or provide more info on each step?

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 Beginner ,
Jul 02, 2024 Jul 02, 2024

Copy link to clipboard

Copied

@Stephen_A_Marsh, see below my comments in blue :

 

STEP 2: Do you have an action that creates the appropriate adjustments to create 2, 3 or more "spot colour" separations? As this is an artistic process, I imagine that some of this can be automated to some degree, however, there are probably a lot of manual adjustments required depending on the image's tones and your colour selection etc.

This step is not automatic, on my script, i asked him to do a 'break' when he creates the gradient map layer on top of my picture, so i can adjuste manually color spots ( and add color if needed or change the placement of colors on the gradient )

 

STEP 3: I presume that you are looking to automate the "conversion" of the gradient map into "separations". And that you don't wish to do this manually? This is no longer artistic, it's purely production automation.

Yes, it's that. This is the importante part of the script where i blocked. Yes, this part is purely production automation. The objectif is to convert each color of the gradient map pannel i created into layers. ( 1 layer for each colors ).

 

STEP 4: Again, the goal would be production automation, creating true separations for each "spot colour" which are also halftone screened for screen printing.

Yes

Can you confirm or provide more info on each step?

 

Thanks

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 ,
Jul 02, 2024 Jul 02, 2024

Copy link to clipboard

Copied

quote

STEP 2: 

This step is not automatic, on my script, i asked him to do a 'break' when he creates the gradient map layer on top of my picture, so i can adjuste manually color spots ( and add color if needed or change the placement of colors on the gradient )

 

I think that this step will be critical for the following steps, as automation of editing gradient maps will likely require consistency in the setup of the number of colour stops etc.

 

Do you use a preset for  2 colours, 3 colours etc? I understand that the actual colour stop values will change, however, I am looking for consistency in the positions of the various colour stops and their spacing etc. If it is only the colour that will change and nothing else then that is great!

 

 

quote

STEP 3: 

Yes, it's that. This is the importante part of the script where i blocked. Yes, this part is purely production automation. The objectif is to convert each color of the gradient map pannel i created into layers.

 

I can see two options here:

 

1) You manually run an action or javascript to convert to layers based on the number of colours in the gradient map. So if you know that the gradient map is for a 3 colour image, then you would select and run the appropriate 3 colour action or javascript to create 3 "separation" layers.

 

2) I don't know how or if it is even possible for a javascript to automatically determine how many colour stops are in a gradient map adjustment layer. However, if the gradient map adjustment layer was named with a 2 or a 3 etc (i.e. 3 colour gradient map), then a javascript could automatically run the appropriate layer separation routine based on the number in the adjustment layer name. This depends on the previous answer to STEP 2 for the gradient maps to be consistent in their construction, apart from the colour values.

 

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 Beginner ,
Jul 03, 2024 Jul 03, 2024

Copy link to clipboard

Copied

Thanks @Stephen_A_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

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 ,
Jul 03, 2024 Jul 03, 2024

Copy link to clipboard

Copied

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.

 

stop positions.png

 

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.

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 Beginner ,
Jul 03, 2024 Jul 03, 2024

Copy link to clipboard

Copied

LATEST

Thank you, I will continue to look for solutions by playing with actions.

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