ImageMagick-6.8.6-8 差分
ImageMagick-6.8.6-7 差分 - yoyaのメモの続き
The latest release of ImageMagick is version 6.8.6-8.
まとめ
差分
- Added support for WebP to the Windows distribution
- Properly handle interlaced GIF images with less than 8 rows
- 縦8pixel未満の GIF 画像のインターレースを正しく処理出来るようにした。(非インターレースに切り替えます)
- http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23812
- coders/gif.c (DecodeImage)
if (image->rows < 8) interlace=NoInterlace;
- Ensure image colorspace is sRGB when writing WebP format
- WebP フォーマットを出力する時に、色空間が sRGB 以外(例えば CMYK JPEG 等)の場合に sRGB へ自動で変換するようにした。(-colorspace sRGB 相当の処理)
- http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=23841
- Avoid deadlock with logging subsystem
- ロギングサブシステムでのデッドロックを回避 (多分、hashmap.c で異常系チェックが沢山追加されてる分、あと、大量のデバッグログを消されて、SemaphoreInfo の処理が追加されてるのもきっとそう)
- http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=23849
ChangeLog にない分
不具合修正系
- enhance コマンドの LevelImage(主にコントラストを上げる時に使う) の最後で ClampImage(pixelの負の値を0にかさ上げ)を呼んでる。
- memory.c
- ヒープメモリが取れない時に、MapBlob で anonymous memory からマプを試みるが、失敗しても MagickTrue を mapped に入れていた件の修正。
- TIFF で表示位置に負の値が入っていた場合のエラー表示を追加。
- 以前は負の値でもフィールドにそのまま入る可能性があった。今回からは弾く。(page.x != 0 の条件を page.x > 0 にしてる)
< #define ReferenceEpsilon (QuantumRange*1.0e-4) > #define ReferenceEpsilon (QuantumRange*1.0e-2)
- PerlMagick の quantum.xs で layers == NULL(最適化その他、レイヤー操作をしなかった場合) で CloneImage する行が追加されてて、挙動変わるかも?
今回追加された部品っぽい関数群。
- Image.cpp に処理関数を沢山追加
adaptiveResize, adaptiveSharpen, adapticeSharpenChannel
brightnessContrast, brightnessContrastChannel
clamp, clampChannel
clut, clutChannel
contrastStretch, contrastStretchChannel
decipher, deskew, encipher
levelColors, levelColorsChannel
linearStrech, liquidRescale, perceptible, polaroid
whiteThreshold, whiteThreshholdChannel
それを受けたと思われる追加されたコマンド引数
コマンド | 引数 |
---|---|
animate, display | -matte, -scenes, -support |
compare | -synchronize, -taint |
composite, convert, montage | -matte, -support |
identify | -list, -matte |
import, jpeg | -support |
mogrify | -help, -layers, -affinity, -cdl, -decipher, -encipher, -features, -flatten, -function, -matte, -morphology, -path |
ChangeLog
2013-08-04 6.8.6-8 Dirk LemstraAdded support for WebP to the Windows distribution (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=1;t=23856). 2013-07-31 6.8.6-8 Cristy Properly handle interlaced GIF images with less than 8 rows (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3;t=23812). Ensure image colorspace is sRGB when writing WebP format (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=1;t=23841). Avoid deadlock with logging subsystem (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=2;t=23849).