Q: I need to add sharpness to my image while extracting from PDF using
PDFDraw. How can i achieve this?
A: If you are using built-in rasterizer you can improve the quality of
anti-aliased image output and can (to some extent) decrease the
appearance common anti-aliasing artifacts (such as pixel width lines
between polygons) using PDFDraw.SetGamma(factor) method. Typical
values for gamma factor are in the range from 0.1 to 3. The optimal
results may require some manual tweaking since the optimal paramater
is somewhat subjective.
Another way to decrease the appearance of some aliasing effects is to
render a PDF at a higher resolution and then down-sample/resample the