Black gradient on splash screen. Windows Phone 7 Mango screen.

I wonder if anyone knew how to maintain a nice smooth gradient in the splash screen? I tried both .jpg and downloaded direct xaml as a logo management resource, and I embedded it in the viewport. In the emulator, it looks great! Although on the phone he still has something that looks sloppy at him, and that does not make my cool logo look fair, like a great screensaver. Any ideas?

+4
source share
1 answer

This is called grouping and occurs on phones by default because they are set to 16bbp. You can manually change it to 32bpp by setting the yor WMAppManifest.xml file to this:

 <?xml version="1.0" encoding="utf-8"?> <Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1"> <App xmlns="" BitsPerPixel="32" ... 

( Source )

However, setting this value to 32bpp may have negative performance in your application. If you just need a gradient for your screen saver, you better smooth the image in advance. Although this will not give you the perfect gradient, it will reduce the effect of the stripes. Essentially, setting the 32bpp settings above allows the smoothing algorithm to affect the rendering (which is one of the reasons that a performance hit can happen). If you use Photoshop, you can use this dithering script , but pretty much any art application will have a way to add noise to the image.

+9
source

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


All Articles