colorants order when using DeviceN colorspace


hello everybody,

 

i have issue when i'm creating pdf devicen colorspace using pdflibrary.

i define devicen cmykog colorspace using cos objects. define each colorants in separation colorspace , use colorants definition in devicen colorspace :

 

device n dict attribute :

8 0 obj

[/devicen[/cyan/magenta/yellow/black/orange/green]/devicecmyk 18 0 r 24 0 r]

endobj

 

attribute dict :

 

24 0 obj

<</colorants 23 0 r>>

endobj

23 0 obj

<</green 20 0 r/orange 22 0 r>>

endobj

 

then when use pdfl list colorants, gives me

green

orange

 

when remove attribute entry , define colorspace this:

device n dict without attribute :

8 0 obj

[/devicen[/cyan/magenta/yellow/black/orange/green]/devicecmyk 18 0 r]

endobj

 

when list colorants using pdfl gives me

orange

green

 

like can see, not same order. , last order 1 want have, , it's important me have them in order.

 

have idea why using colorants definition reverse order?

i tried using more colorants, , when use attributes entry devicen, colorants listed in alphabetic order.

i have separation entry color convertion in pdf previsualisation, listed order used devicen definition

when "when use pdfl list colorants," api this?



More discussions in Acrobat SDK


adobe

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues