Bodmer / JPEGDecoder

A JPEG decoder library
Other
220 stars 64 forks source link

Not able to display images on ILI9341 240*320 Tft by using ESP8266 #33

Closed acharyanachiket closed 5 years ago

acharyanachiket commented 5 years ago

All images are messed up

Bodmer commented 5 years ago

If the images look rather psychedelic then it is likely the byte order swap needs to be set in your sketch.

Please identify which example you are trying to run and which graphics library you are using.

acharyanachiket commented 5 years ago

uncommented SWAP_BYTES in user_config.h and also used readSwappedBytes() instead of read() still see the images totally blurred(parallel lines). Tried changing the SPI frequency too. Sketch used is NodeMCU_Jpeg and TFT I use ILI9341 baboonl

acharyanachiket commented 5 years ago

If the images look rather psychedelic then it is likely the byte order swap needs to be set in your sketch.

Please identify which example you are trying to run and which graphics library you are using.

uncommented SWAP_BYTES in user_config.h and also used readSwappedBytes() instead of read() still see the images totally blurred(parallel lines). Tried changing the SPI frequency too. Sketch used is NodeMCU_Jpeg and TFT I use ILI9341. I amtrying to display BaboonP image here bodmer

Bodmer commented 5 years ago

This turned out to be a change made by the Adafruit setAddrWindow() function parameters.

I have updated the library examples for Adafruit_GFX so you should find it is working now.

Thanks for reporting this.