图片格式 ppm to bmp c++

#include 
#include 
#include 
#include 
#include 
using namespace std;

int main(int argc, char * argv[])
{


    char* pFilename="54.ppm";
	ifstream ifile;//input ppm file
	ofstream ofile;//output bmp file
	ifile.open(pFilename,ios::binary);
	if (!ifile) {
		cout<<"open error!"<>FileType>>Width>>Height>>Count;//get the para of the ppm file

	cout<=1 ;j--){
		//cout<<"begin"<

你可能感兴趣的:(机器视觉,byte,include,ios,string,c++,file)