Set ’32 bits per pixel’ for your WP app

In this post I will explain how to make your app look nicer by making it use 32 bits per pixel.

Default setting is 16 bits per pixel, and like you can imagine some images (e.g. gradients) will look terrible when using this setting.

In image below you can see difference between 16 and 32 bits per pixel:

Difference between 16 and 32 bits per pixel

WMAppManifest.xml

To set this option we need to edit WMAppManifest.xml. Actually, all we have to do is to add BitsPerPixel=”32″ , like in code below:


<App xmlns="" ProductID="{5d09ffd9-e7ee-451k-a5e5-971895d9ck3e}" Title="32BitsPerPixel" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal"
Author="Nedim Laletovic" Description="Making our apps look nicer." Publisher="nediml"  BitsPerPixel="32">

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s