Open thomasnordquist opened 5 years ago
While this would be very cool, there are 3 issues with this.
Using Buffers seems not to be a viable option
Using Base64 solves most issues but
The first step is complete, messages are stored as Base64 and can be Data-URI encoded with methods from Base64Message
.
However, buffers are currently truncated to a size of 10k in the MQTT data source.
Still rooting for this. 🙂
Hi team,
Bringing this back to the top 🤘
My use case would be to be able to peek into Frigate snapshot topics like frigate/cam01/person/snapshot
which contains the raw JPEG data of the snapshot in the message.
I hope it gets implemented one day :)
The author (@thomasnordquist ) is absent from this project since very long, just telling you @Twanislas in case you had hope for a reply
Oh...
Thanks for flagging ! Well at least this FR is there, maybe one day xD
it's already done in a parallel universe 😁
Could be nice.
Topics can be identified by magic numbers: http://www.ntfs.com/jpeg-signature-format.htm https://en.wikipedia.org/wiki/List_of_file_signatures
JPEG
Magic number: FF D8 FF Trailer: FF D9
PNG
Magic number: 89 50 4E 47 0D 0A 1A 0A
GIF
Magic number: 47 49 46 38 37 61 Magic number: 47 49 46 38 39 61