how to get pixel infomation from bitmap

how to get pixel infomation from bitmap

BY 29 Jul 2014 Native Application Development

how to get pixel infomation from bitmap


Hi~

I need to get pixel information from bitmap, so I want to read color of each pixel.


At developing native application on Tizen SDK 2.2.1

     // captured screenshot.
    Bitmap* capturedScreen;
    capturedScreen = SystemUtil::CaptureScreenN();

    // save image as jpg file
    Image img;
    r = img.EncodeToFile(*capturedScreen, IMG_FORMAT_JPG, imagePath, true);

 

I tied to find pixel info by using Bitmap API but I can’t it.

How can I get it?

Written by