Browse Source

disable debug

pull/2/head
Odilitime 5 years ago
parent
commit
fb586bb2f8
  1. 4
      src/pnm.cpp

4
src/pnm.cpp

@ -22,7 +22,7 @@ RGBAPNMObject * readPPM(const char* fileName) { @@ -22,7 +22,7 @@ RGBAPNMObject * readPPM(const char* fileName) {
res = fscanf(fr, "%9s", fileType);
data->magicNum=fileType;
std::cout << "fileType:" << fileType << std::endl;
//std::cout << "fileType:" << fileType << std::endl;
unsigned char bits = 0;
@ -36,7 +36,7 @@ RGBAPNMObject * readPPM(const char* fileName) { @@ -36,7 +36,7 @@ RGBAPNMObject * readPPM(const char* fileName) {
} else if (strncmp(fileType, "P8" , 2) == 0) {
bits = 32; // PPM
}
std::cout << "bits:" << bits << std::endl;
//std::cout << "bits:" << bits << std::endl;
// read the rest of header
unsigned int width, height;

Loading…
Cancel
Save