PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

CairoImageSurface::createFromPng - Creates a new CairoImageSurface form a png image file | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

CairoImageSurface::createFromPng

(PECL cairo >= 0.1.0)

CairoImageSurface::createFromPngCreates a new CairoImageSurface form a png image file

説明

public static CairoImageSurface CairoImageSurface::createFromPng ( string $file )

Creates a new CairoImageSurface form a png image file

This method should be called static

パラメータ

file

Path to PNG image file

返り値

CairoImageSurface object

例1 CairoImageSurface::createFromPng() example

<?php

$surface 
CairoImageSurface::createFromPng('/path/to/image/file.png');

?>

上の例の出力は、 たとえば以下のようになります。

...

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「CairoImageSurface::createFromPng - Creates a new CairoImageSurface form a png image file」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | CairoImageSurface::createFromPng - Creates a new CairoImageSurface form a png image file」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: