downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

CairoImageSurface::getData> <CairoImageSurface::createForData
[edit] Last updated: Fri, 24 May 2013

view this page in

CairoImageSurface::createFromPng

(PECL cairo >= 0.1.0)

CairoImageSurface::createFromPngCrea una nueva CairoImageSurface desde un archivo de imagen png

Descripción

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

Crea una nueva CairoImageSurface desde un archivo de imagen png

Este método debería ser llamado estático

Parámetros

file

Ruta al archivo de imagen PNG

Valores devueltos

Objeto CairoImageSurface

Ejemplos

Ejemplo #1 Ejemplo de CairoImageSurface::createFromPng()

<?php

$superficie 
CairoImageSurface::createFromPng('/ruta/al/archivo/imagen.png');

?>

El resultado del ejemplo sería algo similar a:

...

Ver también



add a note add a note User Contributed Notes CairoImageSurface::createFromPng - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites