rockbox/apps/plugins/lua/include_lua
William Wilgus 530cad0c7a FS#13718 - The image_save library (rocklua) can't correctly save an image with an odd resolution.
the image save script apparently does not like odd numbers for width

local bytesleft = linebytes - (bytesperpixel * w )

this should actually be pxleft since the image loop below returns pixels not bytes

tested on 1 bit 2 bit, 16 bit and 32 bit images in sim

Change-Id: Ic186c095c29d318dcfb7d76b83e07c75f1460584
2026-01-21 08:15:56 -05:00
..
audio.lua plugin api: Add audio_pre_ff_rewind to plugin's API 2025-12-29 19:58:26 +05:00
blit.lua Clean up rocklib_img 2018-10-09 01:02:25 +02:00
color.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
create_kbd_layout.lua lua -- temp loader 2021-05-06 21:36:55 -04:00
dbgettags.lua Allow first level folders in plugin menu 2024-05-05 14:01:43 -04:00
draw.lua lua add rlimg.lua example script split large includes to separate files 2019-08-04 16:57:02 +02:00
draw_floodfill.lua lua add rlimg.lua example script split large includes to separate files 2019-08-04 16:57:02 +02:00
draw_num.lua lua use lcd_drawline to draw lines inside rliimages 2024-04-18 13:11:51 -04:00
draw_poly.lua lua extend stars demo plugin 2024-04-28 01:03:16 -04:00
draw_text.lua lua use lcd_drawline to draw lines inside rliimages 2024-04-18 13:11:51 -04:00
filebrowse.lua Allow first level folders in plugin menu 2024-05-05 14:01:43 -04:00
files.lua lua move strip_extension and create_numbered_filename out of main binary 2019-09-28 03:15:15 +02:00
fileviewers.lua Allow first level folders in plugin menu 2024-05-05 14:01:43 -04:00
image.lua lua add rlimg.lua example script split large includes to separate files 2019-08-04 16:57:02 +02:00
image_save.lua FS#13718 - The image_save library (rocklua) can't correctly save an image with an odd resolution. 2026-01-21 08:15:56 -05:00
lcd.lua Fix red rocklib_img 32-24 bit targets 2018-10-08 19:59:50 -04:00
math_ex.lua Rocklua -- Extend / Fix rliImage 2018-07-23 05:13:32 +02:00
menubuttons.lua lua -- temp loader 2021-05-06 21:36:55 -04:00
menucoresettings.lua lua add a way to filter settings on read 2021-05-19 23:29:10 -04:00
pcm.lua pcm: Further cleanup of unused bits of the PCM ACPI: 2020-11-12 15:59:09 +00:00
playlist.lua playlist: Remove playlist_add() 2023-07-02 12:14:33 -04:00
poly_points.lua lua optimize poly_draw add draw_number, poly_points modules 2019-08-26 22:17:33 -05:00
print.lua lua add submenu module + cleanup 2021-04-28 04:37:16 +00:00
printmenus.lua lua add submenu module + cleanup 2021-04-28 04:37:16 +00:00
printsubmenu.lua lua submenus add a way to dynamically add items 2021-04-30 13:38:54 +00:00
printtable.lua lua use lcd_drawline to draw lines inside rliimages 2024-04-18 13:11:51 -04:00
rbcompat.lua Lua optimize combine and rework similar functions 2018-11-02 18:00:06 +01:00
rbsettings.lua lua add a way to filter settings on read 2021-05-19 23:29:10 -04:00
sound.lua lua add sound_current, consolidate sound_ functions 2019-07-25 10:17:40 -05:00
strftime.lua lua plugin remove strfrtime in favor of strfrtm.lua 2026-01-08 21:39:54 -05:00
temploader.lua lua -- temp loader 2021-05-06 21:36:55 -04:00
timer.lua Rocklua -- Extend / Fix rliImage 2018-07-23 05:13:32 +02:00