Page 1 of 1
Count pdf's nodes
Posted: 2017-12-01T09:52:04-07:00
by minus
I'm using IM to conversion and some pdf verification, now I need check if pdf have more than 1000 nodes. Reading the documentation I found few references about nodes like
http://folk.uio.no/inf3330/scripting/do ... ntize.html but I didn' t find any method to return how many nodes pdf have. Is possible using imageMagick?
Re: Count pdf's nodes
Posted: 2017-12-01T10:53:42-07:00
by fmw42
What is a node?
ImageMagick is a raster image processor. If you have a vector PDF, then ImageMagick will rasterize it and any information about vector data will be lost.
Re: Count pdf's nodes
Posted: 2017-12-01T11:57:35-07:00
by minus
Thank you for your explanation
I don't know how define node but this is example of pdf file with 111 nodes identified in the image
https://ibb.co/eW7RHw
The pdf file:
http://docdro.id/DJ5SnVF
If vector data will be lost the node information was lost too.