Package: sam2p
Version: 0.45-3-3

I found that -m:dpi:res works that bigger resolution
generates bigger image.
But I think bigger resolution should generate smaller image.

In the following reproducing example,
I used netpbm (pbmtext), evince and pdftk package.

  % pbmtext foo > a.pbm
  % sam2p -pdf:2 -m:dpi:50 a.pbm 50dpi.pdf
  This is sam2p v0.45-3.
  Available Loaders: PS PDF JAI PNG JPEG TIFF PNM BMP GIF LBM XPM PCX TGA.
  Available Appliers: XWD Meta Empty BMP PNG TIFF6 TIFF6-JAI JPEG-JAI
JPEG PNM GIF89a+LZW XPM PSL1C PSL23+PDF PSL2+PDF-JAI P-TrOpBb.
  sam2p: Notice: job: read InputFile: a.pbm
  sam2p: Notice: writeTTT: using template: p02
  sam2p: Notice: applyProfile: applied OutputRule #4
  sam2p: Notice: job: written OutputFile: 50dpi.pdf
  Success.
  % sam2p -pdf:2 -m:dpi:300 a.pbm 300dpi.pdf
  This is sam2p v0.45-3.
  Available Loaders: PS PDF JAI PNG JPEG TIFF PNM BMP GIF LBM XPM PCX TGA.
  Available Appliers: XWD Meta Empty BMP PNG TIFF6 TIFF6-JAI JPEG-JAI
JPEG PNM GIF89a+LZW XPM PSL1C PSL23+PDF PSL2+PDF-JAI P-TrOpBb.
  sam2p: Notice: job: read InputFile: a.pbm
  sam2p: Notice: writeTTT: using template: p02
  sam2p: Notice: applyProfile: applied OutputRule #4
  sam2p: Notice: job: written OutputFile: 300dpi.pdf
  Success.
  % evince 50dpi.pdf
  % evince 300dpi.pdf

I think the text "foo" in 50dpi.pdf should be bigger than 300dpi.
But evince shows smaller "foo" in 50dpi.pdf

  % pdftk 50dpi.pdf 300dpi.pdf cat output out.pdf
  % evince out.pdf

If we see out.pdf which is concatenation of 50dpi.pdf and 300dpi.pdf,
we can see the size difference more clearly.
-- 
Tanaka Akira



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to