You are not logged in.
Pages: 1
Hi there;
I want to add some extra color separations beside RGB and CMYK like PANTONE 151C. I found that fpdf.php can do this. I inspected the PDF file generated by fpdf and there is an object like below:
...
5 0 obj
[/Separation /PANTONE#20151#20C
/DeviceCMYK <<
/Range [0 1 0 1 0 1 0 1] /C0 [0 0 0 0]
/C1 [0.000 0.650 1.000 0.000]
/FunctionType 2 /Domain [0 1] /N 1>>]
endobj
...
I made some modifications in synpdf.pas and I could generate the result below:
...
10 0 obj
<<
/Length 0
/Separation PANTONE#20151#20C
/DeviceCMYK <<
/Range [0 1 0 1 0 1 0 1] /C0 [0 0 0 0]
/C1 [0.000 0.650 1.000 0.000 ]
/FunctionType 2 /Domain [0 1] /N 1>>]
>>
stream
endstream
endobj
...
As you can see I have some problems to choise correct functions to produce exactly same object. For example I can not add bracket ([) before (/Separation). Also I have some garbage fields like << and stream. If some one can help, I will be very pleased. Best Regards...
Offline
Perhaps could you post your code which produces the pdf content here.
The [ and << signs are generated depending on the class you are using to create you properties.
So we'll definitively need to see the code.
Online
Pages: 1