diku-dk / futhark-website

Git repository containing the Futhark website.
https://futhark-lang.org
Other
10 stars 13 forks source link

Updated blur-png.py #37

Closed phdoerfler closed 2 years ago

phdoerfler commented 2 years ago

Replaced scipy.misc.imread and imwrite with calls to imageio as the former was deprecated and removed. Note how the image is divided by two and later, after the blur, scaled back up. Otherwise most values in the blurred image will be 127.

This fixes https://github.com/diku-dk/futhark/issues/1688

athas commented 2 years ago

Nice, thanks!