Re: [Gimp-user] Exporting high-quality PNG w/transparency?

On Sat, 2012-01-28 at 15:58 -0600, Keith Purtell wrote:
A co-worker said
GIMP couldn't make a PNG (w/transparency) with enough quality. He said we'd
have to use some other software. Part of the issue was not being able to
resize without losing quality before the PNG export. True or false?

It may be true that your co-worker said that . :-)

But there's some confusion here.

PNG is a lossless format, so the quality is always 100%
On the other hand, scaling an image *is* lossy. Enlarging an image
introduces errors where the software inventes the extra detail.
Shrinking an image throws away detail, and it's easy to lose serifs,
punctuation, the cross-bars of H and e, and so forth, or to weaken them.

A method that may help for rescaling text:
(1) open the PDF at 3 times final resolution
(2) use filter->distorts-Value Propagate, with 'more black' and an
amount of about 0.25 or 0.33; this will strengthen the weaker parts of
the letters.
(3) use filters->gaussian blur, radius 3 (you can experiment, radius 5
may work better)
(4) scale the image to 33.33%
(5) use colours->curves and make an S-shaped curve, so that the curve
goes below the diagona lline on the bottom left, then emerges slightly
to the left of centre, and is then above the diagonal. Or for a sharper
look, just drag the two endpoints of the diagona lline in slightly
towards the middle, e.g. by 1.5 squares on the dialogue grid.

Having said that, you'll likely get even better results using pstoedit
to generate wmf fro pdf directly. PDF and WMF are both vector formats,
and you can resize a vector image without loss of quality. PNG is a
bitmap image, and cannot so easily be resized.


Liam Quin - XML Activity Lead, W3C,
Pictures from old books:

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]