Free Support Forum - aspose.com

Expected end of color space

The issue I am having is that once I add bookmarks to a pdf using the PdfContentEditor CreateBookmarkOfPage and open it in Adobe Acrobat Professional, Adobe says "Expected end of color space." in a alert window. Here are the steps I took that brought me to this issue.

1. Concatenated muliple pdf files using PdfFileEditor ConcatenateForms(stream, stream).
2. PdfContentEditor BindPdf(stream).
3. PdfContentEditor CreateBookmarkOfPage(string[], int[]).
4. PdfContentEditor Save(stream).
5. Save the stream to disk.
6. Open the pdf in Adobe Acrobat Professional.


This message was posted using Email2Forum by AdeelTaseer.

Hi,

I have tested this and found that the file produced after concatenation is corrupt. I have logged this as PDFKITNET-4139 in our issue tracking system. We will try our best to resolve this issue at the earliest.

Thanks.