summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index d50f5f3..2938948 100644
--- a/main.lua
+++ b/main.lua
@@ -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,