alvarcarto / url-to-pdf-api

Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
MIT License
7.01k stars 774 forks source link

CSS filters causing image distortions #67

Closed fractalawareness closed 6 years ago

fractalawareness commented 6 years ago

Just take a look at https://url-to-pdf-api.herokuapp.com/api/render?url=http://bennettfeely.com/filters&waitFor=1000

The first image (no css) has smooth lines but other images have glitches because of the filters applied to them. If you open the source in Chrome it has no such distortions.

kimmobrunfeldt commented 6 years ago

This issue belongs to https://github.com/GoogleChrome/puppeteer or even Google Chrome, which is the underlying piece doing the rendering.