php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
im.php
Go to the documentation of this file.
1<?php
2
3$im = imagecreatefromgif('zip://' . dirname(__FILE__) . '/test_im.zip#pear_item.gif');
4imagepng($im, 'a.png');
5
6$z = new ZipArchive();
7$z->open(dirname(__FILE__) . '/test_im.zip');
8$im_string = $z->getFromName("pear_item.gif");
10imagepng($im, 'b.png');
$z
Definition addglob.php:3
dirname(string $path, int $levels=1)
imagecreatefromgif(string $filename)
Definition gd.stub.php:555
imagepng(GdImage $image, $file=null, int $quality=-1, int $filters=-1)
Definition gd.stub.php:613
imagecreatefromstring(string $data)
Definition gd.stub.php:547
$im
Definition im.php:3
$im_string
Definition im.php:8