on converting pdf into image the images are fading out -
I am getting high quality image in PDF and when converting this into the image, the images are fading out. (PDF file using PDFRENDER 0.9.1) I am getting the image in PDF form like this
"Enter image details here"> is shown as >>
I com.sun.pdfview at com.sun.pdfview.function.FunctionType4.parse (FunctionType4.java:828) Error
Unsupported function type 4. Getting. Function.PDFFunction.getFunction com.sun.pdfview.colorspace.PDFColorSpace.getColorSpace (PDFColorSpace.java:176) com.sun.pdfview.pattern.PDFShader.getShader at (PDFFunction.java:168) (PDFShader.java:144) Com.sun.pdfview.PDFParser.doShader com.sun.pdfview.PDFParser.iterate (PDFParser.java:633) at (PDFParser.java:1145) com.sun.pdfvie at w.BaseWatchable.run java.lang.Thread On the .run (BaseWatchable.java:101) (Thread.java:619)
then this is the solution for
As an exception, the PDF of OP has a unsupported function type 4 , somewhere in the context of shader colorspace definition
One Type 4 Function (PDF 1.3), There will also be represented as is called a PostScript calculator function, a section containing code written in a small subset of the PostScript language ..
(section 7.10.5)
It seems that PDFRENDER 0.9.1 (some) do not support such type 4 functions . In this way, they have to either stop them from using them or switch to another PDF renderer.
Unfortunately, OP has not shared PDFs (unless I ignore it). That's why I can not test other renders nor can I check when that function is used.
Comments
Post a Comment