How to Make Pictures in C (bitmap images)

Поділитися
Вставка
  • Опубліковано 12 вер 2024
  • Code:
    github.com/Eme...

КОМЕНТАРІ • 14

  • @WingedCataphract
    @WingedCataphract Рік тому +7

    This video is very underrated. The best bmp guide I have ever seen

  • @oliverkanter2224
    @oliverkanter2224 5 місяців тому +2

    i searched for so long for exactly this kind of tutorial and you just pop up on my recommendation THANK YOU btw I love your Miku 💙

  • @TekCroach
    @TekCroach 2 місяці тому

    @15:28, the order of bits... it is called big-endian. multi-byte numbers may have endian-ness. In little-endian, you keep the natural bit order as it is. If it uses the big-endian scheme, you have to re-order the bits. Separate/break the bits into 8-bit chunks (if you use the hex digit format, then into 2-hex-digit chunks), and then reverse the order. So, 4A53FF3C ==> 4A 53 FF 3C ==> 3C FF 53 4A; and 90DC4200 ==> 0042DC90 = 42DC90; and so on.

  • @duymanhnguyen8302
    @duymanhnguyen8302 2 місяці тому

    thks for very detail explaination. But i think one should change that the header file isn't always 54. We have two types of headers, one is bitmap file header, another is DIB header. Normally, bitmap file header is always 14 bytes. You can see totally offset to pixel data is line "36 00 00 00", it means exactly 54 bytes for header. and the next line "28 00 00 00", it means DIB header is 40 bytes. Total header = offset to pixel data = bitmap file header + DIB header = 14 + 40 =54.
    My comment is just help someone confuse where you did get the number "54". But anyway, your explaination is very helpful. thanks a lot.

  • @junkokonno
    @junkokonno 10 місяців тому +6

    That's a big miku

  • @nicedev8189
    @nicedev8189 Місяць тому

    Amazing!

  • @lou5828
    @lou5828 Рік тому

    thanks for this video, the best explaination i've seen so far

  • @user-lo4ie2ed3b
    @user-lo4ie2ed3b Рік тому

    well explained, thanks!

  • @jayvardhansinghchoudhary9830
    @jayvardhansinghchoudhary9830 Рік тому +1

    thx mate.

  • @cornerriffs4855
    @cornerriffs4855 7 місяців тому

    ty bb

  • @estebangarciagonzalez8360
    @estebangarciagonzalez8360 10 місяців тому

    muy interesante y si solo quieres leer el archivo bmp e imprimirlo en pantalla de preferencia en 256 colores gracias, sera que puedes ayudarme con un codigo simple

  • @NiKiTjA_OFF
    @NiKiTjA_OFF Рік тому

    Which programm do you use to see the image in hex?

    • @nicholas3895
      @nicholas3895 2 місяці тому

      You can use any hex editor