rtl-sdr-misc icon indicating copy to clipboard operation
rtl-sdr-misc copied to clipboard

Deprication Warning

Open abcd567a opened this issue 1 year ago • 1 comments

When heatmap.py is run on Bookworm, there are some deprecation warnings, but it still works:

./heatmap.py scan.csv scan.png

loading
x: 4576, y: 60, z: (-35.890000, 2.820000)
drawing
labeling
/home/pi/./heatmap.py:470: DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use getbbox or getlength instead.
  s = f.getsize(label)
/home/pi/./heatmap.py:475: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead.
  return w_img.resize((s[0]//3, s[1]//3), Image.ANTIALIAS)
saving

abcd567a avatar Jun 22 '24 16:06 abcd567a

Pls. see https://github.com/keenerd/rtl-sdr-misc/pulls

by avatar Jun 22 '24 16:06 by