Skip to content

Commit

Permalink
Try to fix glitched palettes in TWLMenu++ manual mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Aug 22, 2024
1 parent 79cef66 commit 9439dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ for await (const folder of Deno.readDir("pages")) {
await tab.screenshot({ path: tempFileNames.screenshot, clip: { x: 0, y: 0, width: 256, height: pageEval.height } });

const paletteProcess = new Deno.Command('ffmpeg', {
args: ["-i", tempFileNames.screenshot, "-vf", "palettegen=max_colors=246", tempFileNames.palette, "-y", "-loglevel", "error"]
args: ["-i", tempFileNames.screenshot, "-vf", "palettegen=max_colors=256", tempFileNames.palette, "-y", "-loglevel", "error"]
});
await paletteProcess.output();

Expand Down

0 comments on commit 9439dfa

Please sign in to comment.