Access image data in Pixel?

I used to image library for reading image fila(.bmp, .jpg…)

Accesing the image data → img.access.direct.data
but Ican’t receive any pixel information;

I have to process in pixel for example FFT or appliying Gaussian blur…

is img.access.direct.data array or what is type of?

The format is a bytes in lines. The line length is in the image structure. Each line has a fixed number of pixels. The line can be longer than the pixel data. The pixel format (bytes per pixel) depends on the type of image, and the bit depth. Some formats have the RGB values spanning bytes. Look at the description of the different types.

OK, I loaded items and Converted to YCbCr.
thank you