Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
saved PDFs of rasters interpolate in some viewers #1707
The code below creates a simple raster with 18 sharply-defined cells. If I
But if I save it as a .pdf, I get different behavior in different viewers. In Google Chrome, it renders like the .png. But in Apple Preview, it looks like this screenshot:
I get this behavior even if I explicitly set
I don't speak PDF/postscript, so I'm not sure how to diagnose this, but I'd be happy to provide additional information if for some reason this isn't reproducible on your machine.