« Imagick::getReleaseDate
Imagick::getResourceLimit »

Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResource — 指定したリソースのメモリ使用状況を返す

説明

public static function Imagick::getResource(int $type): int

指定したリソースのメモリ使用状況をメガバイト単位で返します。

パラメータ

type

リソース型定数 の一覧を参照ください。

戻り値

指定したリソースのメモリ使用状況をメガバイト単位で返します。

エラー / 例外

エラー時に ImagickException をスローします。

関連キーワード:
リソース   Imagick   メモリ   状況   getResource   imagick   type   メガバイト   単位   getReleaseDate   getResourceLimit   static   定数   ImagickException
関連する関数・ページ:
imagick.getresourcelimit   imagick.clear   imagick.current   imagick.setresourcelimit   shmop.resources   imagick.construct