Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 297
Registered: ‎10-30-2010
My Device: PlayBook
My Carrier: other

Image API loading PNG?

Is it possible to load PNG images using Image API?

 

Does it only support lossy formats like JPG? Man Embarassed.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Image API loading PNG?

Worked fine for some PNG files here.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Highlighted
Developer
Posts: 101
Registered: ‎02-25-2011
My Device: Playbook, q5, z10
My Carrier: TM

Re: Image API loading PNG?

it is possible to load png using bbutil_load_texture.

but there is sometimes a problem with transparency.

________________
mappau Dev Team
blackberry@mappau.com
twitter: mappau