Question: i need to create an image in ppm format in C++. The ppm file format is a simple image format that contains data about a
i need to create an image in ppm format in C++. The ppm file format is a simple image format that contains data about a pixel color using three colors (RGB). It will restrict each color to be a value from 0 to 255. For example, we represent the colors red as 255 0 0, blue as 0 255 0, green as 0 0 255, and grey as 127 127 127. A pie chart will be created by setting pixel colors to represents the percentage of energy consumption per state which is another data analyizing code i wrote before, so if anyone can write a program that creates a pie chart i can modifiy it to implement the information i have
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
