Titano: time-lapse ecosystem (client, server, uploader) — in progress #1

Merged
Alby96 merged 204 commits from claude/keen-knuth-uhxv8w into main 2026-10-02 16:29:53 +02:00
Showing only changes of commit 222d9ec4ad - Show all commits
@@ -264,7 +264,8 @@ internal sealed class ImageSequenceSession : ManagedSession
VideoCodec.JpegSequence => JpegEncoder.Encode(frame, JpegOptions(Settings.Quality)),
VideoCodec.PngSequence => PngEncoder.Encode(frame, Settings.BitDepth == 16 ? 16 : 8, CompressionLevel.Optimal),
VideoCodec.Tiff16Sequence => TiffWriter.Write(frame, new TiffWriteOptions { BitsPerSample = Settings.BitDepth == 8 ? 8 : 16 }),
VideoCodec.LinearDngSequence => LinearDngWriter.Write(frame),
// Tiles no larger than the frame: edge padding of a 256-pixel tile would dominate small outputs.
VideoCodec.LinearDngSequence => LinearDngWriter.Write(frame, new LinearDngOptions { TileSize = int.Clamp((int.Max(frame.Width, frame.Height) + 15) / 16 * 16, 16, 256) }),
_ => throw new NotSupportedException($"{Settings.Codec} is not an image sequence"),
};
}