Support and General Use > Theming and Appearance Customization

Need help with gradient in background image.


Hello, I am working on a 1080x1920 cabbiev2 theme that I will include in a patch I am working on.

I have created a 1080x1920 backdrop image, with a gradient similar to the ones already present in the backdrop folder,
using inkscape.  I then export a png image which I then convert to bmp using gimp as 24 bit image.

The image displays correctly on the sdl app, but some colors are messed up when displaying it in an android phone.

Looking at the android sources, I found this:

--- Code: ---public void surfaceChanged(SurfaceHolder holder, int format, int width, int height)
        btm = Bitmap.createBitmap(width, height, Bitmap.Config.RGB_565);
--- End code ---

The surface bitmap is configured as a rgb_565 image, Is that the reason why the image is displayed incorrectly?

Can someone help me to create a correct image or is it possible to configure the surface bitmap as rgb8888 in the android port?


[0] Message Index

Go to full version