The image formats PNG, JPEG and PDF are supported. You can load an image with
which returns an image object:
There is not much more to say about images. You can get an internal name with
which can then be used in a Page content stream. Only images that are part of pages are written to the resulting PDF file.