how is pnmscale used?
I have difficulties with a large image file to get it from a lyx-file in the
correct size into a pdf-file (using pdflatex-export). It shows up smaller in
the pdf- as compared to the ps-file.
Since I was told on this list that the former uses pnm files, I scanned an
image as image.pnm. But I have to scale it down from 4250x5350 pb by about
1/4.
man pnmscale tells me:
NAME
pnmscale - scale a PNM image
SYNOPSIS
pnmscale scale_factor [pnmfile]
pnmscale -reduce reduction_factor [pnmfile]
pnmscale [{-xsize=cols | -width=cols | -xscale=factor}] [{-ysize=rows |
-height=rows | -yscale=factor}] [pnmfile]
pnmscale -xysize cols rows [pnmfile]
pnmscale -pixels n [pnmfile]
Miscellaneous options:
-verbose -nomix
Minimum unique abbreviation of option is acceptable. You may use dou-
ble hypens instead of single hyphen to denote options. You may use
white space in place of the equals sign to separate an option name from
its value.
DESCRIPTION
Reads a PBM, PGM, or PPM image as input, scales it by the specified
factor or factors and produces a PGM or PPM image as output.
but I am not good in converting this to something my brain understands.
especially, I did not find out how I tell to produce a new file with the
downscaled image. If I use
pnmscale -pixels 1060 image.pnm
where image.pnm is the large file which should be reduced
I get a lot of stuff shuffled on the screen. I guess I have to do something
like > target file, but I am simply lost. I realize that this is slightly
offtopic, but I would really appreciate if somebody who has used it already
could give me a hint.
Thanks a lot,
Wolfgang