fn scale_pixbuf_to_thumbnail(pixbuf: Pixbuf) -> Result<Pixbuf, String>
Scale a pixbuf down to fit within 256x256 if needed.