Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 4 of 4) sorted by relevance

/imagick/tests/
H A D022-writeimagefileformat.phpt23 $fp = fopen (PNG_FILE, "w+");
26 $im->writeImageFile ($fp);
28 fclose ($fp);
36 $fp = fopen (PNG_FILE, "w+");
39 $im->writeImageFile ($fp);
41 fclose ($fp);
48 $fp = fopen (PNG_FILE, "w+");
50 $im->writeImageFile ($fp, 'png');
52 fclose ($fp);
H A Dbug59378.phpt12 $fp = fopen("php://memory", 'r+');
13 $imagick->writeImageFile($fp);
14 rewind($fp);
15 $memoryBlob = stream_get_contents($fp);
16 fclose($fp);
/imagick/
H A Dimagick_file.c205 FILE *fp; in php_imagick_read_image_using_php_streams() local
221 php_stream_cast(stream, PHP_STREAM_AS_STDIO|PHP_STREAM_CAST_INTERNAL, (void*)&fp, 0) == FAILURE) { in php_imagick_read_image_using_php_streams()
231 status = MagickReadImageFile(intern->magick_wand, fp); in php_imagick_read_image_using_php_streams()
233 status = MagickPingImageFile(intern->magick_wand, fp); in php_imagick_read_image_using_php_streams()
315 FILE *fp; in php_imagick_stream_handler() local
322 …php_stream_cast(stream, PHP_STREAM_AS_STDIO | PHP_STREAM_CAST_INTERNAL, (void*)&fp, 0) == FAILURE)… in php_imagick_stream_handler()
336 status = MagickWriteImageFile(intern->magick_wand, fp); in php_imagick_stream_handler()
340 status = MagickWriteImagesFile(intern->magick_wand, fp); in php_imagick_stream_handler()
344 status = MagickReadImageFile(intern->magick_wand, fp); in php_imagick_stream_handler()
348 status = MagickPingImageFile(intern->magick_wand, fp); in php_imagick_stream_handler()
H A Dimagick_helpers.c28 FILE *fp; in php_imagick_progress_monitor() local
39 fp = fopen(intern->progress_monitor_name, "a+"); in php_imagick_progress_monitor()
41 if (!fp) { in php_imagick_progress_monitor()
45 fprintf(fp, "text: %s, offset: %lld, span: %lld\n", text, offset, span); in php_imagick_progress_monitor()
46 fclose(fp); in php_imagick_progress_monitor()

Completed in 14 milliseconds