PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Sun Feb 01, 2026 3:16 pm

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  [ 4 posts ] 
Author Message
PostPosted: Wed Jan 07, 2026 1:35 pm 
Offline

Joined: Tue Jan 16, 2024 11:31 am
Posts: 15
The following error occures, when reading PDF with RunLengthDecode Filter:

System.NotImplementedException
HResult=0x80004001
Message=Filter not implemented: RunLengthDecode
Source=PdfSharp
StackTrace:
at PdfSharp.Pdf.Filters.Filtering.GetFilter(String filterName)
at PdfSharp.Pdf.Filters.Filtering.Decode(Byte[] data, PdfItem filterItem, PdfItem decodeParms)
at PdfSharp.Pdf.Filters.Filtering.Decode(Byte[] data, PdfItem filterItem, PdfItem decodeParms)
at PdfSharp.Pdf.PdfDictionary.PdfStream.get_UnfilteredValue()


Top
 Profile  
Reply with quote  
PostPosted: Thu Jan 08, 2026 9:07 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3142
Location: Cologne, Germany
It's not a bug: PDFsharp is around since 2005 and so far we haven't seen a single file that uses RunLengthDecode.

Since you apparently have such a file, it would be nice if you would submit that file for testing.
Implement the RunLengthDecode filter should be rather simple, but it's always good to have test files.
Thanks in advance.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 09, 2026 6:42 am 
Offline

Joined: Tue Jan 16, 2024 11:31 am
Posts: 15
Thomas Hoevel wrote:
It's not a bug: PDFsharp is around since 2005 and so far we haven't seen a single file that uses RunLengthDecode.

Since you apparently have such a file, it would be nice if you would submit that file for testing.
Implement the RunLengthDecode filter should be rather simple, but it's always good to have test files.
Thanks in advance.


Sorry, we can't share the PDF, because it is from one of our clients.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 30, 2026 1:56 pm 
Offline

Joined: Tue Jan 16, 2024 11:31 am
Posts: 15
I have created an pull request, which implements RunLengthDecode: https://github.com/empira/PDFsharp/pull/334

AndreasGey76 wrote:
Thomas Hoevel wrote:
It's not a bug: PDFsharp is around since 2005 and so far we haven't seen a single file that uses RunLengthDecode.

Since you apparently have such a file, it would be nice if you would submit that file for testing.
Implement the RunLengthDecode filter should be rather simple, but it's always good to have test files.
Thanks in advance.


Sorry, we can't share the PDF, because it is from one of our clients.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 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