Remove Hairlines in pdf2image?


How can I reduce the appearance of hairlines or anti-aliasing artifacts in PDFDraw?


PDFNet implements line hinting and anti-aliasing strategies to minimize the appearance of hairlines such as the ones you are seeing. Unfortunately, there is no perfect solution, and some documents will always show hairlines. You can try setting different values for the ‘–gamma’ setting, which controls anti-aliasing, and see if that improves your results. You could also experiment with rendering at higher DPIs and downsampling/blurring the output.