Comments (7)
I know what's the problem, should be fixed now.
from arduino_gfx.
from arduino_gfx.
GC9A01, do you find the same issue?
from arduino_gfx.
I noticed that if I set the rotation first then display a jpg, and then play a gif; the gif will playback properly in the set orientation.
However, if only the gif is played in the program there is nothing on the screen if I try to set the rotation
from arduino_gfx.
from arduino_gfx.
Yes the setAddrWindow comes after the rotation
from arduino_gfx.
Fixed this problem with a weird hack. Here is my rotation function
void set_rotation(uint16_t rotation)
{
switch(rotation)
{
case 0:
gfx->setRotation(0);
gfx->draw16bitBeRGBBitmap(0, 0, {0x00}, 1, 1);
break;
case 90:
gfx->setRotation(2);
gfx->draw16bitBeRGBBitmap(0, 0, {0x00}, 1, 1);
break;
case 180:
gfx->setRotation(1);
gfx->draw16bitBeRGBBitmap(0, 0, {0x00}, 1, 1);
break;
case 270:
gfx->setRotation(3);
gfx->draw16bitBeRGBBitmap(0, 0, {0x00}, 1, 1);
break;
}
}
After changing the rotation if the display is fed even a single pixel immediately and then a gif is played the gif plays in the desired orientation. In my case this pixel is blank and will show up in a non-visible part of my circular display so all is good for me now.
from arduino_gfx.
Related Issues (20)
- When I use GC9107, colors are inverted. HOT 2
- Support for LilyGo T-Display S3 Long? HOT 4
- JC8048W550 ST7262 no display with V1.4.6 HOT 8
- Add support for TZT 1.9 Inch IPS 170x320 ST7789
- No image display from flash or SD (esp32S3-8048S070) HOT 7
- ILI9488 with Arduino UNO R3 HOT 7
- undefined reference to `Arduino_GFX::setFont(unsigned char const*)' HOT 1
- vscode+platformio ESP32S3 error HOT 3
- ESP32 V3.0.0 is out but didn't work with Arduino GFX HOT 3
- Error when compiling "PDQgraphicstest" for ESP32_8048S043 HOT 7
- Problem with jpeg_dec_parse_header() HOT 6
- using XL9535 IOs HOT 2
- T-QT Pro text and back colors not working HOT 4
- Problems with using setRotation HOT 4
- Is NV3023A supported? HOT 4
- WEA2012 miss D/C and TE pin define HOT 1
- GFX display not working with T-Display S3 AMOLED HOT 15
- Data Bus Class add bl618/bl616 HOT 1
- Pico tailor-made 8bit parallel not working, only slow software parallel with NT35510 HOT 1
- How to configure a three wire SPI without a DC line HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino_gfx.