Copy link to clipboard
Copied
Hallo,
https://acrobatusers.com/tutorials/using-colors-acrobat-javascript hier steht das man die Farbe convertieren kann
aber bei mir funktionierte es nicht, er macht gar nichts. Muss ich da irgent eine Schleife bauen um jedes einzelne Objekt zu ändern
oder wie löst man so etwas?
var cmykBlue = color.convert(["RGB", 0.18,0.18,0.18],["CMYK, 10,0,0,10]);
Danke für jede Bemühungen
Gruß
Jürgen
Copy link to clipboard
Copied
The second parameter should only be the name of the color-space to which you're converting. Use this code:
var cmykBlue = color.convert (["RGB", 0.18,0.18,0.18],"CMYK");
Find more inspiration, events, and resources on the new Adobe Community
Explore Now