Lines Matching full:image

19 …of the file, if .ext then uses name of draw object plus .ext using .ext to determine the image type
23 . -draw_save_final_image [optional filename] - saves the final image displayed in a window
24 …ave_single_file - saves each new image in the same file, normally each new ima…
29 You should call this BEFORE creating your image and calling `PetscDrawSave()`.
30 …The supported image types are .png, .gif, .jpg, and .ppm (PETSc chooses the default in that order).
48 /* determine save filename and image extension */ in PetscDrawSetSave()
72 …PetscCall(PetscInfo(NULL, "Will save image to file %s%s\n", draw->savefilename, draw->saveimageext… in PetscDrawSetSave()
94 …You should call this AFTER calling `PetscDrawSetSave()` and BEFORE creating your image with `Petsc…
115 PetscDrawSetSaveFinalImage - Saves the final image produced in a `PetscDraw` into a file
129 You should call this BEFORE creating your image and calling `PetscDrawSave()`.
131 The supported image types are .png, .gif, and .ppm (PETSc chooses the default in that order).
161 PetscDrawSave - Saves a drawn image
224 /* this call is collective, only the first process gets the image data */ in PetscDrawSave()
292 PetscImageList image = SAWs_images; in PetscImageListDestroy() local
295 while (image) { in PetscImageListDestroy()
296 PetscImageList next = image->next; in PetscImageListDestroy()
297 PetscCall(PetscFree(image->filename)); in PetscImageListDestroy()
298 PetscCall(PetscFree(image->ext)); in PetscImageListDestroy()
299 PetscCall(PetscFree(image)); in PetscImageListDestroy()
300 image = next; in PetscImageListDestroy()
307 PetscImageList image, oimage = SAWs_images; in PetscImageListAdd() local
325 PetscCall(PetscNew(&image)); in PetscImageListAdd()
326 oimage->next = image; in PetscImageListAdd()
329 PetscCall(PetscNew(&image)); in PetscImageListAdd()
330 SAWs_images = image; in PetscImageListAdd()
332 PetscCall(PetscStrallocpy(filename, &image->filename)); in PetscImageListAdd()
333 PetscCall(PetscStrallocpy(ext, &image->ext)); in PetscImageListAdd()
334 image->count = count; in PetscImageListAdd()
340 PetscImageList image; in PetscDrawSave_SAWs() local
347 image = SAWs_images; in PetscDrawSave_SAWs()
348 while (image) { in PetscDrawSave_SAWs()
349 const char *name = image->filename; in PetscDrawSave_SAWs()
350 const char *ext = image->ext; in PetscDrawSave_SAWs()
354 …f(body + len, 4086 - len, "<img src=\"%s/%s_%d%s\" alt=\"None\">", name, name, image->count, ext)); in PetscDrawSave_SAWs()
357 image = image->next; in PetscDrawSave_SAWs()