What is the simplest RGB image format?

后端 未结 4 1275
逝去的感伤
逝去的感伤 2020-12-14 00:26

I am working in C on a physics experiment, Young\'s interference experiment and i made a program who prints to file a huge bunch of pixels :

for         


        
4条回答
  •  离开以前
    2020-12-14 01:22

    The recently created farbfeld format is quite minimal, though there is not much software supporting it (at least so far).

    Bytes                  │ Description
    8                      │ "farbfeld" magic value
    4                      │ 32-Bit BE unsigned integer (width)
    4                      │ 32-Bit BE unsigned integer (height)
    (2+2+2+2)*width*height │ 4*16-Bit BE unsigned integers [RGBA] / pixel, row-major
    

提交回复
热议问题