*****NOTE
I made a mistake in calculating the amount of padding, which has been fixed in the latest commit here: https://github.com/michaelg29/yt-chal...
I also added two accessor methods for the width and height, and I fixed an implicit conversion issue. The latter was that when calling setPixel with double values, it caused a stack overflow because it kept calling the same method, as it calculated the same values that resulted in doubles once again.
*****
In this challenge, we look to creating BMP Images, or Bitmap Images using C++. We create a class for an image that allows us to read, write, and perform several operations on these images (scaling, etc).
Transformations:
• Scaling
• Rotating
• Reflecting
• Cropping
• BMP Header File: https://github.com/michaelg29/yt-chal...
• BMP Image: https://raw.githubusercontent.com/mic...
• BMP File Structure: https://en.wikipedia.org/wiki/BMP_fil...
• BMP Header Info: https://web.archive.org/web/200809121...
• Website: https://michaelg29.github.io/
• Twitter: / michaelgrieco10
• Discord: / discord
• This Github Repo: https://github.com/michaelg29/yt-chal...
• This Playlist: • Programming Challenges
Listened to the album, Excursions, by C418 (c418.org).