int width,height;
void main ()
{
unsigned char* arr1;
visual();
arr1 = (unsigned char*)malloc(sizeof(unsigned char)*width*height);
arr1 = openfile(file, width, height);
writefile(arr1,width,height);
}
void visual()
{
printf("Input the file name:");
scanf("%s",&file);
printf("The width is\n");
scanf("%d",width);
printf("The height is\n");
scanf("%d",height);
}