You want the ImageLoader
class. Usage would be something like:
from com.inductiveautomation.ignition.client.images import ImageLoader
myImage = ImageLoader.getInstance().loadImage("path/to/image.png") #java Image class
myImageBytes = ImageLoader.getInstance().loadBytes("path/to/image.png") #byte array of image data