-
1. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 12:42 AM (in response to ghodami)If you want Photoshop Scripting Help you should post over at
But I think this hardly seems a proper task for Scripting and should rather be addressed by separating with a proper target profile. (Edit: and some Adjustments.)
Or, if there is no color content at all, simply converting to a grayscale space.
At which scale and resolution have the pages been scanned?
-
2. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 12:54 AM (in response to ghodami)Could you post an example?
-
3. Re: How to make a script to convert RGB to CMYK as black 100%?
ghodami Dec 2, 2014 1:15 AM (in response to c.pfaffenbichler)Thank you c.pfaffenbichler
But I dont think it is hard
for example :
if R=30 G=30 B=30 or least of them convert it to black 100
and also we can add some more code
( it is just my mind, because i dont know anything to make code as script )
-
4. Re: How to make a script to convert RGB to CMYK as black 100%?
ghodami Dec 2, 2014 1:21 AM (in response to c.pfaffenbichler)Thank you
But I dont think it is hard
for example :
if R=30 G=30 B=30 or least of them convert it to black 100
and also we can add some more code
( it is just my mind, because i dont know anything to make code as script )
-
5. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 1:31 AM (in response to ghodami)JavaScript is not intended to perform pixel by pixel operations directly, that should rather be done by a proper plugin (like a Filter for example).
Basically Photoshop Scripting is intended to automate processes that one could also do via menu/panel commands, like Actions but with the added benefit of a syntax that allows for conditionals, predefined repetitions etc.
So unless you can propose a clear and unambiguous method how you would approach the issue if you were to do it manually (but without brushing Masks for example) automation will likely not add a lot of benefit.
-
6. Re: How to make a script to convert RGB to CMYK as black 100%?
ghodami Dec 2, 2014 1:43 AM (in response to c.pfaffenbichler)are you sure it is impossible ?
I also asked one of my friend, he told me he have seen a script like that
-
7. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 1:53 AM (in response to ghodami)Who said impossible?
I consider Photoshop Scripts a means of automating Photoshop operations, not efficient image processing per se.
And as long as you don’t provide an example how would one be able to offer pertinent advice?
If your friend claims a Script for this exists please provide a link to that Script.
-
8. Re: How to make a script to convert RGB to CMYK as black 100%?
ghodami Dec 2, 2014 2:39 AM (in response to c.pfaffenbichler)If I had the script i dont asked it here
my friend is sure and I asked him again now. he told me I sew it, but he doesn't have it, and I am sure he doesn't
it is very exciting for me to find it
-
9. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 2:47 AM (in response to ghodami)Good luck!
And if you find it please post it or a link here because I would be interested in which approach it utilises.
Maybe you should also check out this site:
-
10. Re: How to make a script to convert RGB to CMYK as black 100%?
ghodami Dec 2, 2014 2:56 AM (in response to ghodami)I told, I don't know anything Photoshop Script
maybe my question was stupidly I dont now,however I am thanks full to you
if I find it or something like that I will say here
-
11. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 3:05 AM (in response to ghodami)Could you please post an exemplary one of the pages?
-
12. Re: How to make a script to convert RGB to CMYK as black 100%?
davetwo Dec 2, 2014 3:09 AM (in response to ghodami)I imagine you could make an action pretty easily:
ie. open file>convert to CMYK profile>select CMYK channel>use selection to create a solid colour layer at 100% K>duplicate the layer>flatten.
Than convert the action to a droplet so you can just drag and drop the scans onto it.
-
13. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 3:12 AM (in response to davetwo)That would not address that the type is not fully black but about 30/30/30 (though including an Adjustment in the Action would not seem to be a problem) and the operation would also affect the images – whether those are color is unclear, though.
-
14. Re: How to make a script to convert RGB to CMYK as black 100%?
G.Hoffmann Dec 2, 2014 3:23 AM (in response to ghodami)We need to know some more information.
1. The book consists of 144 pages, and each page is in fact an RGB image in TIFF format.
Correct?
That means, the text is already rasterized, but with low resolution (no more than 300ppi).
A very bad starting point, in my humble opinion. For offset printing this is not acceptable.
2. Is the printing process offset printing or by digital printing?
Nevertheless we may think about a conversion of these images into CMYK K-only (one plate
per page) .
a) Increase contrast until R=G=B=0 for text.
b) Convert each image into Grayscale, using a so-called Black-Ink-Profile, for instance
Black-Ink-ISOCoated-v2-eci (can be explained later)
c) Make empty CMYK image, here for ISOCoated-v2-eci, and paste the Grayscale into the
K-channel. All further handling happens as CMYK file for the process ISOCoated-v2-eci.
Void plates CMY don't matter.
Post #12 here:
Re: Colour shift (from CMYK = 0 0 0 20 to Grayscale K = 22 !)
All this can be done by an action (I hope so...).
Much better would be a new start by InDesign with typographical text (K-only vector instead of raster)
with images in RGB or CMYK, taking into account the intended process.
Note: Photoshop can deliver vector text, if exported as PDF.
Best regards --Gernot Hoffmann
-
15. Re: How to make a script to convert RGB to CMYK as black 100%?
davetwo Dec 2, 2014 3:32 AM (in response to c.pfaffenbichler)@c.pfaffenbichler"That would not address that the type is not fully black but about 30/30/30 "
That's why I said duplicate the layer. A double hit should take care of the missing % of K.
That said, yeah, said this would only work on the type areas. I don't fancy anyones chances of doing this on pages containing images and type.
-
16. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 2, 2014 3:50 AM (in response to davetwo)But this would likely still leave CMY components, especially on the edges of the letters.
-
17. Re: How to make a script to convert RGB to CMYK as black 100%?
davetwo Dec 2, 2014 4:07 AM (in response to c.pfaffenbichler)simply inserting a white fill layer in the action before flattening would easily solve any fringing issues
-
18. Re: How to make a script to convert RGB to CMYK as black 100%?
ghodami Dec 2, 2014 7:30 AM (in response to davetwo)Thank you to everybody
I uploaded a page
I am looking a way to convert it to cmyk black 100% as soon as I can....( like a action in Photoshop or script ) ... but not manually by color range in Photoshop ...because my customers send me a lot of book like that but most of time I don't accept them
I want to print the book by offset printing
[link removed... Mod]
-
19. Re: How to make a script to convert RGB to CMYK as black 100%?
ghodami Dec 2, 2014 7:35 AM (in response to ghodami) -
20. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 5, 2014 6:37 AM (in response to ghodami)That’s practically certainly not a scan but was created as a digital file.
Trying to prepare it for quality printing on the basis of this 200ppi file with Photoshop would seem to be a bad idea.
Edit: The black text should overprint the colored rectangles, so that’s another complicating factor.
In which application was the image created?
Can the creators of the file output to a vector format like pdf?
-
21. Re: How to make a script to convert RGB to CMYK as black 100%?
c.pfaffenbichler Dec 5, 2014 6:42 AM (in response to ghodami)Also the image has been damaged by saving it as a jpg – did you also get it in a file format that does not employ destructive compression?



