Description
How to implement jpg format decoder?
I have find a open source TJpgDec http://elm-chan.org/fsw/tjpgd/00index.html, But dont know how to use it on lvgl.
Another question, Does LVGL seem to not support image scaling? Let’s say I scale 800x800 or 800x600 to a fixed 96x96.
What MCU/Processor/Board and compiler are you using?
esp32
What do you want to achieve?
- jpg decoder
- image scale
Thanks!
             
            
              
              
              
            
           
          
            
            
              LittlevGL does not support scaling images. You will have to create them at the size you want.
             
            
              
              
              
            
           
          
            
            
              Hi, what about JPG decoder feature?
             
            
              
              
              
            
           
          
            
            
              LittlevGL doesn’t have built-in JPG decoding but it has an image decoder interface to attach external libraries. Take a look at this part of documentation: https://docs.littlevgl.com/en/html/overview/image.html#image-decoder
As reference here is the integration of a PNG library: