Project: Pixelate Images in Terminal 😎

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024
  • We've learnt a lot until now. We know how to write classes, how to implement proper move semantics for them as well as how to create full projects with CMake. Now it is time to put it all to a test by implementing a project that allows us to load an image from disk, pixelate it and show it to the user in the terminal.
    📚 As always, the script to the project description lives here: github.com/cpp...
    💬 Have any thoughts, start a discussion here: github.com/org...

Комментарии • 15

  • @CodeForYourself
    @CodeForYourself  Год назад +3

    Hey everyone! It took me quite a while to think of a project interesting enough for you guys, while being manageable in its complexity. I think I have a solid contender. That being said, there might be issues that I missed or stuff that is not clear. I am more than willing to adapt to your feedback, so please (please, please!) provide it to me in the discussions page: github.com/orgs/cpp-for-yourself/discussions
    Thanks and happy coding!

  • @kuijaye
    @kuijaye Год назад +1

    Wow, great! Let's do it. Thank you!

  • @__hannibaalbarca__
    @__hannibaalbarca__ 11 месяцев назад +1

    Hi, already done

    • @CodeForYourself
      @CodeForYourself  11 месяцев назад +1

      Did you like it? 😉

    • @__hannibaalbarca__
      @__hannibaalbarca__ 5 месяцев назад

      I use another library for bitmap, and code of vt100; i make already library implement more function using only VT100 escape codes.

    • @__hannibaalbarca__
      @__hannibaalbarca__ 5 месяцев назад +1

      Now i m en implementing library to manage console (windows first, after Linux and MAC not yet), i follow SFML graphic library implementation désigne .

    • @CodeForYourself
      @CodeForYourself  5 месяцев назад

      That makes sense. What library do you use?

  • @erkamkocaer2097
    @erkamkocaer2097 6 месяцев назад

    Now I'm trying to draw a 100x100 of the same cat image into the terminal but it gets too big in the terminal. How can I solve this? I cannot even draw original 360x400 in the terminal.

    • @CodeForYourself
      @CodeForYourself  6 месяцев назад

      Well, terminal does have a limited number of digits for us to draw in. What is the biggest image that you actually can draw? Can you draw a very small image?

    • @erkamkocaer2097
      @erkamkocaer2097 6 месяцев назад

      I can draw small images likes 40x40. I did not understand how to arrange the terminal like yours to show original image perfect size on terminal. @@CodeForYourself

    • @erkamkocaer2097
      @erkamkocaer2097 6 месяцев назад

      I can draw 40x40 . But I did not understand how I can draw bigger sizes like yours in the video@@CodeForYourself

    • @CodeForYourself
      @CodeForYourself  6 месяцев назад

      I don’t really remember which image size I print in the terminal at 0:21 but I know that I pick it by looking at how many characters fit in my terminal vertically. How many fit into yours? Reducing font size might help too if you want to see a higher “pixel” count. Does it make any sense? Or do I still misunderstand your question?

    • @erkamkocaer2097
      @erkamkocaer2097 6 месяцев назад

      Okey, thanks for help. @@CodeForYourself