<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi Chandler,<br></div><div><br></div><div>On Wed, 18 Oct 2023, at 15:40, chandler wrote:<br></div><blockquote type="cite" id="qt" style=""><div class="qt-moz-cite-prefix"> Prior to posting here, I did find <a href="#1">the below
code<sup>1</sup></a> on Github, but still couldn't get that
working even for new incoming notifications. It looks pretty
complicated and I don't see any mention of Pillow, so maybe some
updated code could work better. I have the output from<span class="font" style="font-family:menlo, consolas, "courier new", monospace;">dbus-monitor
"interface='org.freedesktop.Notifications'"</span> saved in the
journal and right now there is one particular entry that I need to
get decoded.<br></div></blockquote><div><br></div><div>I can't write this for you, but I think the script in that issue is watching for new notifications, not reading the saved data you want. The save_img_byte() function in there is probably what you need if you can get the right arguments into it.<br></div><div><br></div><div>If it's just one specific entry you need, it's probably simplest to manually copy and paste the values from your saved data. You can use bytes.fromhex() to convert the hex encoded data back to binary.<br></div><div><br></div><div>Best wishes,<br></div><div>Thomas<br></div></body></html>