diff options
-rw-r--r-- | main.lua | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -435,9 +435,10 @@ local function update_osd_image(path, menu_res) local cmd = 'magick \'' .. path .. '\'' .. ' -background none' .. ' -gravity northwest' .. + ' -depth 8' .. ' -resize ' .. w .. 'x' .. h .. ' -extent ' .. w .. 'x' .. h .. - ' tmp.rgba' + ' tmp.bgra' print('exec: ' .. cmd) os.execute(cmd) disp = true @@ -449,7 +450,7 @@ local function update_osd_image(path, menu_res) cmd={ name='overlay-add', id=0, - file='tmp.rgba', + file='tmp.bgra', w=w, h=h, x=x, |