Dear All,
Is there any way of converting a bunch of pdf files to pnm without loosing resolution?
Thanks in advance,
Paul
On 8/24/07, Andy Green andy@warmcat.com wrote:
Somebody in the thread at some point said:
Is there any way of converting a bunch of pdf files to pnm without loosing resolution?
What happens when you use the -dpi= option on pstopnm?
OK, Andy, but how can one find out the dpi's of our pdf file?
Paul
Somebody in the thread at some point said:
On 8/24/07, Andy Green andy@warmcat.com wrote:
Somebody in the thread at some point said:
Is there any way of converting a bunch of pdf files to pnm without loosing resolution?
What happens when you use the -dpi= option on pstopnm?
OK, Andy, but how can one find out the dpi's of our pdf file?
Well the pdf is not normally already rasterized in the case of text, so for that there is no "dpi of our pdf file". It will render the text nicely according to the dpi you asked for.
If there are raster images (at various dpi) in the pdf then it will scale them to the dpi you asked for AIUI. So I guess you should pick a dpi that is close to the highest image dpi in the pdfs (eg, 300) and run with it.
-Andy
On 8/25/07, Andy Green andy@warmcat.com wrote:
Is there any way of converting a bunch of pdf files to pnm without loosing resolution?
What happens when you use the -dpi= option on pstopnm?
OK, Andy, but how can one find out the dpi's of our pdf file?
Well the pdf is not normally already rasterized in the case of text, so for that there is no "dpi of our pdf file". It will render the text nicely according to the dpi you asked for.
If there are raster images (at various dpi) in the pdf then it will scale them to the dpi you asked for AIUI. So I guess you should pick a dpi that is close to the highest image dpi in the pdfs (eg, 300) and run with it.
Thanks, Andy. In fact, the pdf file that I have got contains a scanned document. Is there some way of determining the dpi used in the scanning work?
Paul
On Sat, 2007-08-25 at 16:49 +0100, Paul Smith wrote:
On 8/25/07, Andy Green andy@warmcat.com wrote:
Is there any way of converting a bunch of pdf files to pnm without loosing resolution?
What happens when you use the -dpi= option on pstopnm?
OK, Andy, but how can one find out the dpi's of our pdf file?
Well the pdf is not normally already rasterized in the case of text, so for that there is no "dpi of our pdf file". It will render the text nicely according to the dpi you asked for.
If there are raster images (at various dpi) in the pdf then it will scale them to the dpi you asked for AIUI. So I guess you should pick a dpi that is close to the highest image dpi in the pdfs (eg, 300) and run with it.
Thanks, Andy. In fact, the pdf file that I have got contains a scanned document. Is there some way of determining the dpi used in the scanning work?
Paul
Ok., I finally was pressed to resolve my confusion. The question was to convert a pdf file t0 pnm. pstopnm converts ps files to pnm. What am I missing? -- ======================================================================= No character, however upright, is a match for constantly reiterated attacks, however false. -- Alexander Hamilton ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
Somebody in the thread at some point said:
Ok., I finally was pressed to resolve my confusion. The question was to convert a pdf file t0 pnm. pstopnm converts ps files to pnm. What am I missing?
pdf2ps
-Andy
On Sat, 2007-08-25 at 22:13 +0100, Andy Green wrote:
Somebody in the thread at some point said:
Ok., I finally was pressed to resolve my confusion. The question was to convert a pdf file t0 pnm. pstopnm converts ps files to pnm. What am I missing?
pdf2ps
-- ======================================================================= If all be true that I do think, There be five reasons why one should drink; Good friends, good wine, or being dry, Or lest we should be by-and-by, Or any other reason why. ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
On Sat, 2007-08-25 at 22:13 +0100, Andy Green wrote:
Somebody in the thread at some point said:
Ok., I finally was pressed to resolve my confusion. The question was to convert a pdf file t0 pnm. pstopnm converts ps files to pnm. What am I missing?
pdf2ps
-Andy
I may be drunk but if you look at your posts and your advice about dvi nowhere did you suggest using pdf2ps before using pstopnm.
If I missed them I am sorry for the interruption. Look at the dialog I include below: On Sat, 2007-08-25 at 16:49 +0100, Paul Smith wrote:
On 8/25/07, Andy Green andy@warmcat.com wrote:
Is there any way of converting a bunch of pdf files to pnm
without
loosing resolution?
What happens when you use the -dpi= option on pstopnm?
OK, Andy, but how can one find out the dpi's of our pdf file?
Well the pdf is not normally already rasterized in the case of text,
so
for that there is no "dpi of our pdf file". It will render the text nicely according to the dpi you asked for.
If there are raster images (at various dpi) in the pdf then it will scale them to the dpi you asked for AIUI. So I guess you should
pick a
dpi that is close to the highest image dpi in the pdfs (eg, 300) and
run
with it.
Thanks, Andy. In fact, the pdf file that I have got contains a scanned document. Is there some way of determining the dpi used in the scanning work?
Paul
-- ======================================================================= Everyone can be taught to sculpt: Michelangelo would have had to be taught how ___not to. So it is with the great programmers. ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
Somebody in the thread at some point said:
nowhere did you suggest using pdf2ps before using pstopnm
The OP evidently knew that... he just wanted to do it without "losing resolution".
-Andy (also liquored up)