Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "File.h"
- int main() {
- std::string inputFilePath = "input/car.tga";
- std::string outputFilePath = "output/cartest.tga";
- // Create an instance of the File class
- File file(inputFilePath);
- // Print the header information
- File::Header header = file.getHeader();
- std::cout << "Header Information:" << std::endl;
- std::cout << "Width: " << header.width << std::endl;
- std::cout << "Height: " << header.height << std::endl;
- // Write the modified file to a new file
- file.WriteFile(outputFilePath);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement