Refactor: remove AGPL imgly dependency and migrate background removal to python backend

This commit is contained in:
2026-06-02 14:50:25 -05:00
parent 560a413c1e
commit f998e454fe
25 changed files with 601 additions and 97 deletions
+1 -1
View File
@@ -85,7 +85,6 @@ export async function renderFrames(options: RenderFrameOptions): Promise<string[
`--window-size=${width},${height}`,
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-gpu',
'--disable-dev-shm-usage',
],
});
@@ -149,6 +148,7 @@ export async function renderFrames(options: RenderFrameOptions): Promise<string[
type: imageFormat,
quality: imageFormat === 'jpeg' ? quality : undefined,
clip: { x: 0, y: 0, width, height },
omitBackground: imageFormat === 'png',
});
framePaths.push(framePath);