Update to the latest version of imaging

Gives us a bunch of new features and allows us to move a bunch of code
into imaging
This commit is contained in:
Kovid Goyal
2025-11-06 22:31:31 +05:30
parent 56b8db4bfc
commit 1e6d67b975
11 changed files with 77 additions and 228 deletions

View File

@@ -403,6 +403,9 @@ func (self *ImageCollection) transmit_rendering(lp *loop.Loop, r *rendering) {
if frame.Compose_onto > 0 {
gc.SetOverlaidFrame(uint64(frame.Compose_onto))
}
if frame.Replace {
gc.SetCompositionMode(Overwrite)
}
gc.SetLeftEdge(uint64(frame.Left)).SetTopEdge(uint64(frame.Top))
}
transmit(lp, r.image_id, self.temp_file_map, frame, gc)