spliceImageメソッド

ImagickクラスspliceImageメソッド

spliceImage

 状態:-  閲覧数:2,622  投稿日:2014-03-28  更新日:2014-03-28  
無地画像作成
・座標を始点に、指定された幅と高さの「無地長方形画像」を作成

構文
bool Imagick::spliceImage ( int $width , int $height , int $x , int $y )

引数
・第1引数 … width幅
・第2引数 … height高さ
・第3引数 … x座標
・第4引数 … y座標
※・0を指定すると画像に合わせたサイズとなる

返り値
・成功した場合に TRUE を返す

コード例

 閲覧数:914 投稿日:2014-03-29 更新日:2014-03-29 

一覧


画像の両端を暗くする


コメント投稿(ログインが必要)



週間人気ページランキング / 12-28 → 1-3
順位 ページタイトル抜粋 アクセス数
1 PHPで定数を定義する方法は2種類ある / 配列定数の定義 4
2 foreach文 | 制御構造 3
3 and | 演算子 2
3 インターフェイス | クラスとオブジェクト 2
3 Notice(エラーメッセージ) カテゴリー 2
3 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 2
3 Warning: strlen() expects parameter 1 to be string, array given in ○○.php on line △△ | Warning(エラーメッセージ) 2
3 エラー | エラーメッセージ 2
4 ob_start | 出力バッファリング制御(関数) 1
4 Parse error: syntax error, unexpected T_DOUBLE_ARROW in △△ on line □□ | Parse error(エラーメッセージ) 1
4 Parse error: syntax error, unexpected 'new' (T_NEW) | Parse error(エラーメッセージ) 1
4 session_set_save_handler() | セッション 1
4 http_build_query | URLs(関数) 1
4 クラス | クラスとオブジェクト 1
4 ErrorExceptionクラス | 例外処理(制御構造) 1
4 ( ! ) Warning: Declaration of xxxx should be compatible with | エラーメッセージ 1
4 Deprecated: Assigning the return value of new by reference is deprecated | Deprecated(エラーメッセージ) 1
4 エラー出力レベル設定 | エラー設定(エラーメッセージ) 1
4 ( ! ) Fatal error: Uncaught Abraham\TwitterOAuth\TwitterOAuthException: timed out before SSL handshake | Fatal error(エラーメッセージ) 1
4 Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1030 Got error 139 from storage engine' | Fatal error(エラーメッセージ) 1
2026/1/4 1:02 更新