Preview image versions before sending, and repair unheard chunks
Send sheet: opens on what recipients will see (the encoded photo decoded on this device) instead of the original. "Try another version" encodes the whole photo again with a near-invisible zoom/shift; the generative decoder reconstructs each version differently, and on Kodak the best of three raised CLIP agreement from 0.828 to 0.853. The user picks the version to send; packet count and airtime follow the selection. Version 1 is byte-identical to the previous encode, so the wire format is unchanged. The sender's bubble shows the chosen version and carries the AI-reconstructed label. Repeater echoes: the raw RX log handler now decrypts GRP_DATA as well as GRP_TXT and counts repeaters re-flooding each chunk of our own images. The bubble shows the repeat count like channel text, and Packet info lists each packet. About 15 s after sending, chunks no repeater echoed are resent once, but only when another chunk of the same image was echoed, so senders with no repeater in earshot do not double their airtime. Outgoing entries now record their payload size.
This commit is contained in:
1 parent
aafd541b0f
commit
53e4e457ca
36 files changed
+2366
-150
No files matched your search
@@ -19,10 +19,13 @@
|
||||
///
|
||||
/// Both are private to this file, are not parameterised, and are reused
|
||||
/// verbatim by the full-screen viewer this widget opens on tap, so there is no
|
||||
/// route in the app that can show the pixels without them. The only case in
|
||||
/// which they are absent is [ReceivedImageEntry.isOutgoing], where the PNG is
|
||||
/// the sender's own 512x512 crop and the label would be a falsehood — that is
|
||||
/// read from the store's sidecar, never from a constructor argument.
|
||||
/// route in the app that can show the pixels without them. They are absent
|
||||
/// only when [ReceivedImageEntry.synthesized] is false: the sender's own image
|
||||
/// on a device that could not decode, where the PNG is their stretched
|
||||
/// original and the label would be a falsehood. The sender's own image is
|
||||
/// otherwise the decoded version they picked, so it is labelled like any
|
||||
/// other. That is read from the store's sidecar, never from a constructor
|
||||
/// argument.
|
||||
///
|
||||
/// The widget deliberately exposes no share/save action: an exported raster
|
||||
/// would have to have the caption composited into it first, and that belongs
|
||||
|
||||
Reference in new issue
Block a user