Why use PPM

  • Videogamer555
    30th Sep 2012 Member 0 Permalink
    instead of BMP for raw bitmap saves of screen recording? Is PPM easier to code for than BMP somehow? I'm not asking you to change the PPM saving to BMP. I'm asking you add in BMP functionality, and allow an option menu for screenrecording, where you can select which raw recording file type you want to use. Converting a couple thousand frames from PPM to BMP in image converter software can take quite a while. Saving directly as BMP would be better for my use. Thanks in advance.
  • boxmein
    30th Sep 2012 Former Staff 0 Permalink
    @Videogamer555 (View Post)
    To use an image file format, you have to have something coding the format.
    Someone wrote TPT++ handling code for PNG recently, that's why it was added.
    PPM is made just by adding a file header and then bytes depicting colour values all over the place, this is why it's used here.
    BMP is a Windows-specific file format. PPM is better because more programs can handle it on Linux and other OSes aside from Windows.
    Also, you can easily use PPM in programs like ffmpeg to generate videos.
  • ief015
    30th Sep 2012 Former Staff 0 Permalink

    @boxmein (View Post)

     BMP isn't a windows specific file format, it can be encoded/decoded with any system. The format is open, you can even find how it's formatted on Wikipedia.