All about Bitmap Images

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2020
  • In this video, we explore how a computer stores a bitmap image.

ความคิดเห็น • 16

  • @bobatrix6704
    @bobatrix6704 ปีที่แล้ว +15

    the reason white is 1 and black is 0 is because pixels are normally lights, so when white is displayed the light is lit, but is not lit when the colour black is displayed

  • @reold
    @reold 2 ปีที่แล้ว +5

    This is gold for me, am trying to make a video player for an oled display who's resolution is just 128x64 pixels.

    • @CSTeacher
      @CSTeacher  2 ปีที่แล้ว +1

      Thank you for the feedback, most appreciated.

  • @abadi007xbox
    @abadi007xbox ปีที่แล้ว +1

    thank you, that was helpful ♥

    • @CSTeacher
      @CSTeacher  ปีที่แล้ว

      You're so welcome!

  • @Subhan-jt1jh
    @Subhan-jt1jh 3 หลายเดือนก่อน

  • @RabStalianY2K
    @RabStalianY2K 6 หลายเดือนก่อน

    My answer to the question:
    White in RGB is (255, 255, 255) and Black is (0, 0, 0) if we take the average we get 1 for white and 0 for black

  • @Ahmed-js6gk
    @Ahmed-js6gk ปีที่แล้ว

    I couldn't figure out why 0 for black and 1 for white ...please explain

    • @CSTeacher
      @CSTeacher  ปีที่แล้ว

      It is because black is the absence of colour, hence 0.

  • @doughankins3996
    @doughankins3996 ปีที่แล้ว

    Thank you
    That was very straightforward and clear.
    I wanted to ask why 3 bits is not 9, but 4 bits is 16. All number but 3 are raised to the power of 2. Is that correct?

    • @maximilianhonig2049
      @maximilianhonig2049 ปีที่แล้ว

      Indexing starts from zero i.e. for 4 bits:
      1*2^0 + 1*2^1 + 1*2*2 + 1*2^3 = 15
      In binary:
      1111
      We take 2 to the power of the digit we’re talking about (starting from zero).
      The 1’s represent 4 “1” boys if you will.

    • @CSTeacher
      @CSTeacher  ปีที่แล้ว

      Thank you for the feedback. The reason why 3 bits is not 9 is that it is not 3^2 but 2^3, so not 9 but 8.

  • @MaesterSilva
    @MaesterSilva ปีที่แล้ว

    Just one question. The positions:
    Is 0,0 at top or bottom?

    • @noxtol8778
      @noxtol8778 ปีที่แล้ว

      At the left top corner

    • @Worldwide_Productions
      @Worldwide_Productions ปีที่แล้ว

      In math it's on the bottom left, but most of the time in computers it's the top left.

  • @MaesterSilva
    @MaesterSilva ปีที่แล้ว

    Also how may I create a file from scratch? (C++)