Page 1 of 1

MTV format incorrect?

Posted: Wed Oct 09, 2013 11:47 pm
by jason_s
MTV files written by XnView 2.05 aren't read correctly by Netpbm's mtvtoppm utility. Typically, the colors are messed up.

It happens because XnView ends the header line with 0x0a 0x00, while mtvtoppm expects just 0x0a. I think XnView is the one that gets it wrong. References: Format documentation, MTV source code.