Issue decoding webp file on Kindle 3 (Keyboard)
Device
Kindle
KOReader version
2025.05
Model and firmware version
Kindle Keyboard (3) (3.4.3)
Issue description
I have written a plugin that fetches an image, and renders it (book cover). When running the plugin on a Kindle Keyboard, I get an issue about an Illegal Instruction
In my plugin, I am using the RenderImage:scaleBlitBuffer(image, width, height, true) command.
Steps to reproduce
- Go to '...'
- Click on '...'
- Scroll down to '...'
- See error
Log
Additional information
No response
Is that with the Kindle legacy build?
Yes, that is using the Kindle legacy build
Does opening webp images from the file manager exhibit the same issue?
The issue might be we always compile with WEBP_ENABLE_SIMD.
Just tested it, opening a webp from file manager results in the same issue.
The issue might be we always compile with
WEBP_ENABLE_SIMD.
Oh, that would certainly explain it, lol ;D.
@naleo: can you replace koreader/libs/libwebp.so.7 with libwebp_no_simd.zip and try again?
Yes, that appears to fix the issue.
Great! Thanks for testing.