Bodmer / JPEGDecoder

A JPEG decoder library
Other
220 stars 64 forks source link

Distorted JPEG Image #50

Closed lcfelippe closed 3 years ago

lcfelippe commented 4 years ago

Hi @Bodmer,

I´m trying to load some Jpeg images using the JPEG Decoder, Adafruit ILI9341 and Adafruit GFX Libraries. All images appears distorted at the right side. What could be wrong?

Hardware: ESP32 + ILI9341

thanks.

Regards,

lcfelippe.

Bodmer commented 4 years ago

Check you are using the latest sketch code.

How many pixels wide is the image you wish to render, and how many pixels wide is the screen?

lcfelippe commented 4 years ago

Screen 320x240, the icon have 50x50 pixels

Bodmer commented 3 years ago

I suspect you are using old example code. Use the latest version examples as the starting point for your code or ensure the image width and height are an exact multiple of 8.