Replies: 1 comment 3 replies
-
Yep. The number of threads has no impact with decoding. Wand interacts with ImageMagick, and for all PDF encoding/decoding tasks are offloaded to Ghostscript. As you're not doing any raster manipulation, you may be able to speed up the process by working directly with the
For Python, I would suggest the following...
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
Using Wand to convert PDF to PNG we want to speed up the process. We enabled the threads in the policy.xml file, but with any number of threads, there is not any significant difference in the processing.
We also modified the threads using the wand.resource module in python (limits['thread']) (the policy.xml) in this case is untouched). We print the time processing using different threads:
We expected that with increasing threads we would get less time processing.
The PDF has 13 pages, but due to confidentiality I cannot attach it.
Does someone has any insights on that?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions