mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
fix #366
This commit is contained in:
parent
58e67bf0ca
commit
f9c060a497
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ if args.path is not None:
|
|||
wsize_new, hsize_new = calculate_optimal_size(wsize, hsize, args.size)
|
||||
if wsize_new < wsize or hsize_new < hsize:
|
||||
image = image.resize((wsize_new, hsize_new), Image.Resampling.BICUBIC)
|
||||
colors = QuantizeCelebi(image.getdata(), 128)
|
||||
colors = QuantizeCelebi(list(image.getdata()), 128)
|
||||
argb = Score.score(colors)[0]
|
||||
|
||||
if args.cache is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue