1
0
Fork 0

fix(api): fill gaussian blur with noise first

This commit is contained in:
Sean Sube 2023-01-15 10:49:09 -06:00
parent 4af1b8e1aa
commit e2d17e1833
1 changed files with 1 additions and 3 deletions

View File

@ -77,9 +77,7 @@ def noise_source_gaussian(source_image: Image, dims: Tuple[int, int], origin: Tu
''' '''
Gaussian blur, source image centered on white canvas. Gaussian blur, source image centered on white canvas.
''' '''
width, height = dims noise = noise_source_uniform(source_image, dims, origin)
noise = Image.new('RGB', (width, height), 'white')
noise.paste(source_image, origin) noise.paste(source_image, origin)
for i in range(rounds): for i in range(rounds):