Are you trying to read the image pixels in web version of the game or native version?
If in web version, you can get the image url from the cc.Texture2D object. Create a new Image object with this url and draw this image on a temporary HTML Canvas. You can then read the image data by calling context.getImageData() method.
See [Solved] How to get image data in Native?