Again, I did not say asap for such reason. I completely understand that my urgency is mine alone. I also understand that people who arehere are not required to answer me right away when I say 'I need...
Type: Posts; User: Y717
Again, I did not say asap for such reason. I completely understand that my urgency is mine alone. I also understand that people who arehere are not required to answer me right away when I say 'I need...
Yes, that's the 256 colors that grey-scale uses, right?
Which should be in my color table (That's what i understood)
so i set the number of colors to 256
and then after that, i wrote 0x00 to 0xFF...
I did try using google and I didn't understand it so that's why I asked here.
PS im trying to convert 24bit to 8bit grayscale.
I just didn't understand what they mean by putting 0x00 up to 0xFF....
How do I create a color table for a bmp file? I know I'm supposed to put it after the file header and information header and before the actual image data
But WHAT do I put exactly??
Oh, the printf thing was just out of curiousity what would appear. please ignore it.
for ( irow = 0; irow < (*iheader).height; irow++ ){
idata[irow] = malloc( sizeof(char)*(...
Hi. I don't understand why I can't export this bmp file properly. I just basically got a bmp file name from the user, transferred the data to a double pointer and copied it back to a new file to be...
I see. How do you break a loop on the condition that the user hits the enter key?
is there no way to do this without using a pointer?
Hi. I'm quite new to C and I'm supposed to make a program that asks a user for a paragraph, and the program will print the number of vowels in it. I'm only allowed to use printf and scanf functions....