语言

Menu
Sites
Language
alpha channel/alpha blending

Hi guys. In Android I can make sure an image to be handled at 32bit by setting alpha channel to it. Is there a similar way in Tizen? Or are all images treated as 16bit RGB565 or 24bit RGB888?

Thanks,

Brian

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

1 回复
Ram Sahu
Hi Brian, In Tizen, you can use namespace(Osp::Graphics) which have blending functionality only for the Bitmap and Canvas. Which supports alpha channel. Image can be handle at 32 bit by using alpha channel. In Tizen there is Color class which provides an alpha channel with a blending functionality.It is used to generate different color combinations. There is method(HasAlphaChannels( const Osp::Base::ByteBuffer & srcImageBuf ) const) to check whether the specific image has alpha channels or not.