The requirement is to convert the high-definition vector PDF to PNG. After the image is enlarged, the small text on the image can be seen clearly without being too blurry.
The current solution is PHP imagick, and when setResolution is set to 500, it can just achieve the expected clarity. At this time, a single PNG file becomes a 5000X5000 resolution image, and the file size also becomes larger. At the same time, processing time also becomes longer. The generation time of a single picture is about 5 seconds (the number of pages is too many, it is very ink-stained).
Excuse me, which language has a better solution for converting PDF to PNG? Need a DEMO.
You can try apache’s pdfbox and java libraries
http://stackoverflow.com/ques...