attempt to re-stitch together JPEGs at the recovery markers upon dataloss

This commit is contained in:
DavidVentura
2024-02-01 17:56:27 +01:00
parent 2f2b6d302a
commit 25ae4fa72e
4 changed files with 47 additions and 6 deletions
+2
View File
@@ -20,6 +20,7 @@ export type Session = {
curImage: Buffer[];
rcvSeqId: number;
frame_is_bad: boolean;
frame_was_fixed: boolean;
options: opt;
};
@@ -101,6 +102,7 @@ export const makeSession = (
curImage: [],
rcvSeqId: 0,
frame_is_bad: false,
frame_was_fixed: false,
options: options,
};