hey all!
Can somebody provide a link so i can educate myself on how to manipulate
image files in c, Jpeg for example as my searches dont seem to provide any
usefull results
hey all!
Can somebody provide a link so i can educate myself on how to manipulate
image files in c, Jpeg for example as my searches dont seem to provide any
usefull results
Try www.google.com
Then put into the search field something like, oh I don't know, jpeg file structure???
sorry!!
That was a bad question.
What i mean is i already know the way a jpeg file works....roughly, but i dont know how to open the file in c.
I'm sure this question makes me look an idiot but nevertheless i dont know the answear so if you could shower me with your wisdom i'd be gratefull
>> but i dont know how to open the file in c.
Can't you just use a FILE pointer to open it, and access the file through that? Afterall, it's a file I don't know if there are any standard functions around for playing with images specifically.
FILE *fp = fopen("image.jpg","rb");
Read a byte at a time, and use your knowledge of the file format to deal with it.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Sorry kid, I don't have enough to go around.Originally Posted by the bassinvader
Oh right!!!
So i have to open it using binary!?!
not done anything using that before. What fun lies ahead
thanx one and all!!
you can stop showering now