Forum Discussion

EnTerr's avatar
EnTerr
Roku Guru
9 years ago

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?

3 Replies

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

    Just tried  24bit TGA and uncompressed tiff, annnnd...nope.
  • "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 :))
  • 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.