PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Tue May 13, 2025 12:55 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed May 07, 2025 12:31 pm 
Offline

Joined: Wed May 07, 2025 11:48 am
Posts: 2
I was trying to use CMYK colour in my personal project where i am creating a new pdf from an original pdf and i intended writing text on each page with CMYK colour. Sometimes i need just Black and sometimes a mixture of all 4 primary colours. The issue is while using the Brush tool with latest PDFsharp nuget package downloded in my project in VB.Net (Visual Studio) I am getting contaminated or impure primary colours Cyan, Magenta, Yellow & Black. This Issue also persists with the Pen Tool - more or less.
How do i Solve this?
Am I doing something wrong or this is an unsolved issue with pdfsharp?
Does PdfSharp support ICC profile colours?
Been troubled with the issue for long now.

Thanks
Aditya Dhakras


Top
 Profile  
Reply with quote  
PostPosted: Thu May 08, 2025 3:14 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1043
Location: CCAA
Hi!

Have you set PdfColorMode to CMYK?

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Mon May 12, 2025 10:40 am 
Offline

Joined: Wed May 07, 2025 11:48 am
Posts: 2
Yes colour Mode set to CMYK and still getting contaminated Black, Cyan, Magenta, Yellow with Brush element. With Pen element only Black is pure but Cyan, Magenta & Yellow still contaminated (other primaries showing some percentage of presence in resulting colour). The result is as checked with Adobe Acrobat 9.0 Pro Extended - Tool - Output Preview.
As with Pen element I can only draw lines. I need to use the Brush element to create Text on the pdf page.

Thanks for reverting back
Aditya


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 54 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group