↑HOME
Imagick::appendImages 画像群を追加する
(PECL imagick 2.0.0)
PHPとImagemagick(Imagick)を使って写真・画像を加工編集
説明
Imagick Imagick::appendImages ( bool $stack )
画像群を、ひとつの大きな画像に追加します。
パラメータ
stack
積み込む方向 (上から下、あるいは下から上)。
返り値
成功した場合に Imagick インスタンスを返します。 エラー時に ImagickException をスローします。
例
例1 Imagick::appendImages() の例
<?php
/* 新しい imagick オブジェクトを作成します */
$im = new Imagick();
/* 赤、緑、そして青の画像を作成します */
$im->newImage(100, 50, "red");
$im->newImage(100, 50, "green");
$im->newImage(100, 50, "blue");
/* それらをひとつの画像に追加します */
$im->resetIterator();
$combined = $im->appendImages(true);
/* 画像を出力します */
$combined->setImageFormat("png");
header("Content-Type: image/png");
echo $combined;
?>
‑adaptive‑blur ‑adaptive‑resize ‑adaptive‑sharpen ‑adjoin ‑affine ‑alpha ‑annotate ‑antialias ‑append ‑attenuate ‑authenticate ‑auto‑gamma ‑auto‑level ‑auto‑orient ‑backdrop ‑background ‑bench ‑bias ‑blackpoint‑compensation ‑black‑threshold ‑blend ‑blue‑primary ‑blue‑shift ‑blur ‑border ‑bordercolor ‑borderwidth ‑brightness‑contrast ‑cache ‑caption ‑cdl ‑channel ‑charcoal ‑chop ‑clamp ‑clip ‑clip‑mask ‑clip‑path ‑clone ‑clut ‑coalesce ‑colorize ‑colormap ‑color‑matrix ‑colors ‑colorspace ‑combine ‑comment ‑compose ‑composite ‑compress ‑contrast ‑contrast‑stretch ‑convolve ‑crop ‑cycle ‑debug ‑decipher ‑deconstruct ‑define ‑delay ‑delete ‑density ‑depth ‑descend ‑deskew ‑despeckle ‑direction ‑displace ‑display ‑dispose ‑dissimilarity‑threshold ‑dissolve ‑distort ‑dither ‑draw ‑edge ‑emboss ‑encipher ‑encoding ‑endian ‑enhance ‑equalize ‑evaluate ‑evaluate‑sequence ‑extent ‑extract ‑family ‑features ‑fft ‑fill ‑filter ‑flatten ‑flip ‑floodfill ‑flop ‑font ‑foreground ‑format ‑format[identify] ‑frame ‑frame[import] ‑function ‑fuzz ‑fx ‑gamma ‑gaussian‑blur ‑geometry ‑gravity ‑green‑primary ‑hald‑clut ‑help ‑highlight‑color ‑iconGeometry ‑iconic ‑identify ‑ift ‑immutable ‑implode ‑insert ‑intent ‑interlace ‑interpolate ‑interline‑spacing ‑interword‑spacing ‑kerning ‑label ‑lat ‑layers ‑level ‑level‑colors ‑limit ‑linear‑stretch ‑linewidth ‑liquid‑rescale ‑list ‑log ‑loop ‑lowlight‑color ‑magnify ‑map ‑map[stream] ‑mask ‑mattecolor ‑median ‑metric ‑mode ‑modulate ‑monitor ‑monochrome ‑morph ‑morphology ‑mosaic ‑motion‑blur ‑name ‑negate ‑noise ‑normalize ‑opaque ‑ordered‑dither ‑orient ‑page ‑paint ‑path ‑pause[animate] ‑pause[import] ‑pen ‑ping ‑pointsize ‑polaroid ‑posterize ‑precision ‑preview ‑print ‑process ‑profile ‑quality ‑quantize ‑quiet ‑radial‑blur ‑raise ‑random‑threshold ‑red‑primary ‑regard‑warnings ‑region ‑remap ‑remote ‑render ‑repage ‑resample ‑resize ‑respect‑parentheses ‑reverse ‑roll ‑rotate ‑sample ‑sampling‑factor ‑scale ‑scene ‑screen ‑seed ‑segment ‑selective‑blur ‑separate ‑sepia‑tone ‑set ‑shade ‑shadow ‑shared‑memory ‑sharpen ‑shave ‑shear ‑sigmoidal‑contrast ‑silent ‑size ‑sketch ‑snaps ‑solarize ‑sparse‑color ‑splice ‑spread ‑stegano ‑stereo ‑stretch ‑strip ‑stroke ‑strokewidth ‑style ‑subimage‑search ‑swap ‑swirl ‑taint ‑text‑font ‑texture ‑threshold ‑thumbnail ‑tile ‑tile‑offset ‑tint ‑title ‑transform ‑transparent ‑transparent‑color ‑transpose ‑transverse ‑treedepth ‑trim ‑type ‑undercolor ‑unique‑colors ‑units ‑unsharp ‑update ‑verbose ‑version ‑view ‑vignette ‑virtual‑pixel ‑visual ‑watermark ‑wave ‑weight ‑white‑point ‑white‑threshold ‑window ‑window‑group ‑write
libjpeg62
libbz2
libtiff4
libwmf
libz
libpng12
libx11
libxt
libxext
libxml2
libfreetype6
liblcms1
libexif
libltdl3
libjpeg62-dev
libbz2-dev
libtiff4-dev
libwmf-dev
libz-dev
libpng12-dev
libx11-dev
libxt-dev
libxext-dev
libxml2-dev
libfreetype6-dev
liblcms1-dev
libexif-dev
libltdl3-dev
ImageMagick(イメージマジック)のコマンド
display : イメージの表示、及び編集する
import : 表示されているウインドウをイメージファイルにする
animate : 指定されたイメージのシーケンスをアニメーション化する
montage : イメージをモンタージュ写真のように合成する
convert : 入力されたイメージを指定されたフォーマットに出力する
mogrify : イメージの拡大・回転をする
identify : 指定されたイメージに関する情報を出力する
主な画像ファイル形式
* BMP (Windowsビットマップ)
* DPX
* FlashPix
* GIF
* HD Photo
* JPEG
* JPEG 2000
* JPEG XR
* MAG
* OpenEXR
* PICT
* PNG
* RAW画像
* TGA
* TIFF
* XBM (X11ビットマップ)
* アニメーションgif
ベクターイメージ
* DXF
* EPS
* HP-GL
* SVG
* Windows メタファイル
写真エフェクト処理のいろいろ
フェードイン
フェードアウト
クロスフェード
ワイプ
ビューチェンジ
↑HOME