| PDFsharp & MigraDoc Forum https://forum.pdfsharp.net/ |
|
| Filter not implemented: RunLengthDecode https://forum.pdfsharp.net/viewtopic.php?f=3&t=4917 |
Page 1 of 1 |
| Author: | AndreasGey76 [ Wed Jan 07, 2026 1:35 pm ] |
| Post subject: | Filter not implemented: RunLengthDecode |
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() |
|
| Author: | Thomas Hoevel [ Thu Jan 08, 2026 9:07 am ] |
| Post subject: | Re: Filter not implemented: RunLengthDecode |
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. |
|
| Author: | AndreasGey76 [ Fri Jan 09, 2026 6:42 am ] |
| Post subject: | Re: Filter not implemented: RunLengthDecode |
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. |
|
| Author: | AndreasGey76 [ Fri Jan 30, 2026 1:56 pm ] |
| Post subject: | Re: Filter not implemented: RunLengthDecode |
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. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|