4 import gfxprim
.core
as core
5 import gfxprim
.loaders
as loaders
6 import gfxprim
.filters
as filters
10 print("usage: blur blur-radii image")
13 radii
= float(sys
.argv
[1])
16 img
= loaders
.Load(sys
.argv
[2])
17 # Do in-place gaussian blur
18 filters
.GaussianBlur(img
, img
, radii
, radii
)
20 img
.loaders
.SaveJPG("out.jpg")
22 if __name__
== '__main__':