Search Results

Search: Posts Made By: anchit87
Forum: Programming 03-01-2010
16,882
Posted By anchit87
Here is the function. It does not write the...
Here is the function. It does not write the entire image.

// imgdata is the image data to be written into a pgm image file

int writePgm( char* Filename, unsigned char* imgdata, int width, int...
Forum: Programming 02-28-2010
16,882
Posted By anchit87
Writing files using O_DIRECT in C
I am trying to write .pgm images using the O_DIRECT flag in open().
I have a char* buffer which has the image data.

I know that I have to align the buffers and have done that using...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy