Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
EnTerr
Level 8

TGA or TIFF files for roBitmap?

Can roBitmap be created from a TGA or TIFF format file? 
RTFM is mum on the supported formats, so maybe it already can?

I'll admit this is related to the "Convert roByteArray -> roBitmap" topic, in that i am trying to create image from "raw RGBA". And coincidently TGA format has uncompressed 24/32-bit modes that fit the bill. And so does TIFF, although i haven't looked at the exact bit-packing yet.

I cannot make a strong business case for adding "de novo" support for these somewhat exotic nowadays formats (i checked and it's been asked once before) - but if in the underlying library it's easy to enable that, then please consider?
0 Kudos
3 Replies
squirreltown
Level 8

Re: TGA or TIFF files for roBitmap?

"EnTerr" wrote:
Can roBitmap be created from a TGA or TIFF format file? 

Just tried  24bit TGA and uncompressed tiff, annnnd...nope.
Kinetics Screensavers
0 Kudos
EnTerr
Level 8

Re: TGA or TIFF files for roBitmap?

"squirreltown" wrote:
Just tried  24bit TGA and uncompressed tiff, annnnd...nope.

What if you cheat and rename the .tga and .tiff to .png or .jpg? There is a small chance that'll do. 
Or 32bit ones. (I should probably try that myself, huh Smiley Happy)
0 Kudos
squirreltown
Level 8

Re: TGA or TIFF files for roBitmap?

EnTerr:
What if you cheat and rename the .tga and .tiff to .png or .jpg? 

Yea, i tried that but no can do. Even the most likely suspect ( tiff w/ jpg compression) didn't work.
Kinetics Screensavers
0 Kudos