[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Png cropping
From: |
karl |
Subject: |
Re: Png cropping |
Date: |
Sat, 25 Feb 2017 17:41:21 +0100 (CET) |
> renyhp wrote
> > I read in the documentation that it is possible to create a cropped png by
> > using "-dbackend=eps -dresolution=600 —png" and inserting this \paper
> > block:
> >
> > However, I think the cropping is too heavy. How can I produce a png with
> > some nonzero margins?
Have you tested adding margins with pnmpad as in
pngtopnm input_file |
pnmpad -white -left 10 -righ 10 -top 10 -bottom 10 |
pnmtopng > padded.png
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57