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

search for in the

Imagick::getImageProperty> <Imagick::getImageProfiles
Last updated: Fri, 30 Jan 2009

view this page in

Imagick::getImageProperties

(No version information available, might be only in CVS)

Imagick::getImageProperties画像のプロパティを返す

説明

array Imagick::getImageProperties ([ string $pattern [, bool $only_names ]] )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

関連付けられているプロパティのうち、パターンにマッチするものをすべて返します。 二番目の引数を TRUE にすると、プロパティの名前だけを返します。 このメソッドは、ImageMagick 6.3.5-9 以降を使用して Imagick をコンパイルした場合にのみ存在します。

パラメータ

pattern

プロパティ名のパターン。デフォルトは "*"。

only_names

プロパティ名のみを返すかどうか。

返り値

画像のプロパティあるいはプロパティ名を含む連想配列を返します。

例1 Imagick::getImageProperties() の使用法

EXIF 情報を抽出します。

<?php

/* オブジェクトを作成します */
$im = new imagick("/path/to/example.jpg");

/* EXIF 情報を取得します */
$exifArray $im->getImageProperties("exif:*");

/* exif のプロパティをループします */
foreach ($exifArray as $name => $property)
{
    echo 
"{$name} => {$property}<br />\n"
}

?>



add a note add a note User Contributed Notes
Imagick::getImageProperties
There are no user contributed notes for this page.

Imagick::getImageProperty> <Imagick::getImageProfiles
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites