Background images showing problems on wp7

In my WP7 application, I have problems with poor background image processing. It seems that images are displayed using 8-bit colors, and overall looks ugly. They are .png. Here is a screenshot of how it looks in the application: screenshot

Does anyone know what causes this and how can it be fixed?

+6
source share
2 answers

Have you tried to enable 32-bit color?

To do this, open your WMAppManifest.xml and in the application element add BitsPerPixel = "32"

<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1"> <App BitsPerPixel="32" xmlns="" ProductID="{25aef417- 

Not sure if this will solve the problem, but the fact of using a .png image and having only 16-bit color can be related.

+5
source

DO NOT "enable 32-bit color." Many devices only have a 16-bit LCD, so they will still have problems - you just won’t know about them.

If you really need smooth gradients, use predefined backgrounds, for example. http://nerdplusart.com/photoshop-action-for-windows-phone-7-dithering However, it still does not flow with Windows Phone.

The real solution is to change the design to solid, primary colors. This is the choice that the user has made as the buyer of the WP device, and you must respect him.

0
source

Source: https://habr.com/ru/post/914115/


All Articles