tesseract - Why is my PNG resolution with Ghostscript not what I specified? -
i using following command in ghostscript:
gs -dsafer -sdevice=png16m -ddointerpolate -dgraphicsalphabits=4 -dtextalphabits=4 -dnumrenderingthreads=8 -ddevicewidthpoints=612 -ddeviceheightpoints=792 -r600 -o ./test_gs/output_%d.png -c 30000000 setvmthreshold -f ./test_gs/input.pdf
input.pdf 8.5''x11'' pdf looks crisp , clear. resulting png's gs produces don't good, acceptable. problem noticed though that, though i'm specifying 600 resolution ("-r600"), imagemagick's identify
reporting resolution of 236.22:
geometry: 5100x6600+0+0 resolution: 236.22x236.22 print size: 21.59x27.9401 units: pixelspercentimeter type: grayscalealpha base type: grayscalealpha
why this? , how can fix dpi higher (at least 300) use tesseract?
which version of ghostscript using ? can find copy of pdf examine ?
Comments
Post a Comment