PHP: PDF_open_memory_image - Manual

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

search for in the

PDF_open_pdi_page PDF_open_jpeg

Last updated: Fri, 26 Jan 2007

view this page in

# PDF_open_memory_image

(PHP 3 >= 3.0.10, PHP 4, PECL)

PDF_open_memory_image -- Open image created with PHP's image functions [not supported]

## Описание

int PDF_open_memory_image ( resource p, resource image )

This function is not supported by PDFlib GmbH.

add a note User Contributed Notes
PDF_open_memory_image
leela at leela dot ws
19-Nov-2002 10:36
`note that in PHP 4.2.2 and PDF_lib 4.0.1 this function does not support more than 256 colors (only GD 1.x it seems).
WORKS:
$im = ImageCreate(100, 100);
$pim = pdf_open_memory_image($pdf, $im);
DOES NOT WORK:
$im = ImageCreateTrueColor(100, 100);
$pim = pdf_open_memory_image($pdf, $im);
DOES NOT WORK:
$im = ImageCreateFromJPEG("file.jpg");
$pim = pdf_open_memory_image($pdf, $im);`
bob at nijman dot de
02-Aug-2001 06:13
`I'm running PHP Version 4.0.6 on Win2000 and I also get a:
Warning: pdf_open_memory_image() is not supported in this PHP build`
christian at wenz dot org
02-May-2001 03:10
`not implemented in 4.0.5-Win32 yet, too - although Rasmus himself promised so in the Win32 mailing list ;-) scnr
so maybe in 4.0.6 ...`
christian at wenz dot org
18-Apr-2001 02:05
`under the Win32 platform, the function is _not_ implemented on PHP < 4.0.5 !`
add a note
PDF_open_pdi_page PDF_open_jpeg

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST