title: How to resize a BLOB image stored in my SQLite database?
body: <p>I'm trying to resize a <strong>BLOB</strong> picture stored in my database, because when I save the original photo in my database as <strong>BLOB</strong> I used resize command <code>im = im.resize((170, 170), Image.ANTIALIAS)</code> but it seems that it doesn't work and just save the original picture's size in my database, so the only option I was thinking is to adjust the size of my imagen stored in my database before display it into my frame but I have no idea how to do it. Here is the code:</p>
  <pre class="lang-py prettyprint-override"><code>def show(data):
      img_byte = BytesIO(data)
      img = ImageTk.PhotoImage(Image.open(img_byte))
      Label(frame_form3, image=img).place(x=1, y=1)
      top.image = img
  </code></pre>
  <p>Any advise please let me know. Thanks</p>