PHP. Руководство по PHP. 2005
imagecreatefromxpm
imagecreatefromxpm
Description
resource imagecreatefromxpm (string filename)imagecreatefromxpm() returns an image identifier representing the image obtained from the given filename.
Замечание: Эта функция доступна только в том
случае, если PHP был скомпилирован со встроенной библиотекой GD.