Lines Matching full:image
41 /* write image data and close file */ in PetscDrawImageSavePPM()
94 /* setup PNG image metadata */ in PetscDrawImageSavePNG()
99 /* write PNG image header and data */ in PetscDrawImageSavePNG()
161 PetscCallGIF("Writing image descriptor", EGifPutImageDesc(GifFile, 0, 0, Width, Height, 0, NULL)); in PetscDrawImageSaveGIF()
162 …for (Row = 0; Row < Height; Row++) PetscCallGIF("Writing image pixels", EGifPutLine(GifFile, (GifP… in PetscDrawImageSaveGIF()
180 char image[PETSC_MAX_PATH_LEN]; in PetscDrawMovieSaveGIF() local
191 PetscCall(PetscSNPrintf(image, sizeof(image), pattern, (int)i)); in PetscDrawMovieSaveGIF()
192 /* open and read image file */ in PetscDrawMovieSaveGIF()
193 if ((GifImage = DGifOpenFileName(image, NULL)) == NULL) SETERRGIF("Opening input", image); in PetscDrawMovieSaveGIF()
194 if (DGifSlurp(GifImage) != GIF_OK) SETERRGIF("Reading input", image); in PetscDrawMovieSaveGIF()
200 /* loop over all frames in image */ in PetscDrawMovieSaveGIF()
207 …Height, GifFrame->Interlace, FrameColorMap) != GIF_OK) SETERRGIF("Writing image descriptor,", movi… in PetscDrawMovieSaveGIF()
209 …its + Row * GifFrame->Width, GifFrame->Width) != GIF_OK) SETERRGIF("Writing image pixels,", movie); in PetscDrawMovieSaveGIF()
212 if (DGifCloseFile(GifImage, NULL) != GIF_OK) SETERRGIF("Closing input", image); in PetscDrawMovieSaveGIF()
338 …SETERRQ(PETSC_COMM_SELF, PETSC_ERR_SUP, "Image extension %s not supported, use .ppm or see PetscDr… in PetscDrawImageCheckFormat()
362 SETERRQ(PETSC_COMM_SELF, PETSC_ERR_SUP, "Image extension %s not supported, use .ppm", ext); in PetscDrawImageSave()