ImageMagick-6.8.6-8 差分

ImageMagick-6.8.6-7 差分 - yoyaのメモの続き

The latest release of ImageMagick is version 6.8.6-8.

まとめ

  • ピクセルを変換する機能が沢山追加されました。特に mogrify の引数が結構増えてます。
  • Windows で WebP が使えるようになったみたいです。
  • メモリ周りとログ周りで異常系が改善されてます。(ログ周りは大量に変わっているのでデグレードしてないか心配ですが)
  • GIF は縦8pixel未満だとインターレース出来ないので、非インターレース化にする修正が入りました。

差分

  if (image->rows < 8)
    interlace=NoInterlace;
ChangeLog にない分

不具合修正系

  • enhance コマンドの LevelImage(主にコントラストを上げる時に使う) の最後で ClampImage(pixelの負の値を0にかさ上げ)を呼んでる。
  • memory.c
    • ヒープメモリが取れない時に、MapBlob で anonymous memory からマプを試みるが、失敗しても MagickTrue を mapped に入れていた件の修正。
  • TIFF で表示位置に負の値が入っていた場合のエラー表示を追加。
    • 以前は負の値でもフィールドにそのまま入る可能性があった。今回からは弾く。(page.x != 0 の条件を page.x > 0 にしてる)
  • validate のイプシロン(比較する際に誤差範囲だと判断する閾値) が 100倍荒くなった。
< #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 Lemstra 
Added 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).