开发者

Android Image png color not true

I'm using pngs created from Photoshop (ie gradients, buttons etc...) . They are blue in color but show up in Android with more purple tint to them. I trie开发者_C百科d putting the images in the raw folder no no avail & I tried:

@Override
    public void onAttachedToWindow() 
    {
        super.onAttachedToWindow();
        Window window = getWindow();
        // Eliminates color banding
        window.setFormat(PixelFormat.RGBA_8888);

        window.setDither(true);
     }

This gets rid of banding in the gradients, but still does not show the true color of what I created on Photoshop. Is there any way to get it close?


Just a thought, but is it possible your desktop monitor isn't correctly calibrated? It seems much more likely that color calibration on Android is accurate given that the device makers have control over their screens.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜