The cpdf_import_jpeg() function opens an image stored in the file with the name file_name. The format of the image has to be jpeg. The image is placed on the current page at position (x_coor, y_coor). The image is rotated by angle degrees. gsave should be non-zero to allow this function to operate correctly.
O parâmetro opcional mode determina a unidade de tamanho. Se é 0 ou omitida, o valor padrão de unidade especificado para a página é utilizada. Caso contrário, as coordenadas são medidas em postscript points independentemente da unidade atual
See also cpdf_place_inline_image().