Dear all,

I am working with image processing applications on GPU. I previously used OpenCV as an interface to read an image make it to foalt and then used it via OpenCL commands. But, now I want to use OpenCL commands like image 2d_t data type and read_imagef() functions to load an image and use it in my program for further operations. Is it possible to do so. If so kindly give me a small example. I want to load a JPEG image and make it into float. Later I want to convert it to JPEG form float. Kindly help me in this regard.

Thanks in advance.

Kind regards.