Unwanted shadow

Hello friends
My problem is the unwanted shadow on the screen and even the shadow of the previous image that was deleted in the new image. What do you think is the problem? The display has a 24-bit connection.

Does it happen on the simulator? Is it a hardware issue, perhaps? I don’t see why the library would send different colors after the image is removed.

I did not simulate, but it worked well with version 6 of the same device.
Could there be a problem with the frequency and settings of the display?

It could be, although if it worked in version 6, it sounds more like a library issue. However, it could also be a hardware issue exacerbated by the different color set.

Hi guys
I found the problem. Noise on the vcom pin caused shadows and lines. By adding a capacitor, the problem was generally solved.