Graphics drawImage - possible to use images from the image browser?

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
3 Likes