0

tga RLE compression broken?

Hello,

I'm having an issue trying to convert some files to tga with RLE compression. The result is the same if I use -codec RLE, -codec RAW or if I ommit the -codec arg.

 

C:\..\rvio.exe "P:\foo.exr" -outsrgb -outrgb -codec RLE -o "P:\foo.tga"

C:\..\rvio.exe "P:\foo.exr" -outsrgb -outrgb -codec RAW -o "P:\foo.tga"

C:\..\rvio.exe "P:\foo.exr" -outsrgb -outrgb -o "P:\foo.tga"

 

All of the previous commands return a 12 MB (12 289 KB) file, which corresponds to a 2k tga file with no compression.

I tested a 2k pure white exr file, and the result is always the same (12 289 KB) when in fact should be 129 KB with RLE compression.

 

Am I using the -codec arg in a wrong way? or is RLE compression just broken?

 

Tested this with RV-3.12.19, both 64 and 32 bits on a windows 7 machine.

 

Thanks in advance for any pointers,

Orlando.

4 comments

  • 0
    Avatar
    Jon Morley

    Hi Orlando,

    First of all I want to say that I looked into this a bit and found that our primary targa writer does not currently support RLE encoding even though it advertises it in the docs and help. I am investigating why that is and will update this thread when I know more. For now you should know, as you have already proven, that all write paths through the targa writer produce the same RAW output. Thank you for the heads up.

    Thanks,
    Jon

  • 0
    Avatar
    Orlando Esponda

    Thanks for looking into it Jon, looking forward to hearing from you.

  • 0
    Avatar
    Jon Morley

    Hi Orlando,

    I wanted to let you know that in the next release (4.0.9) "-codec RLE" will be supported.

    Thanks,
    Jon

  • 0
    Avatar
    Orlando Esponda

    Cool, now I just need to check our maintenance status.

     

    Thank you Jon.

Please sign in to leave a comment.