ImageMagick-7.0.8-30差分
ImageMagick-7.0.8-30差分
http://www.imagemagick.org/script/download.php
The latest release of ImageMagick is version 7.0.8-30
6 系同時リリースは ImageMagick-6.9.10-30
まとめ
- -define trim:percent-background=~ を追加 (7.0.8-29 で trim:blend として実装してたもの)
気になる事
- -define trim:percent-background=0% を例にしてるが、内部で 100 で割ってるのでまずいような? 0だと結果変わらないし、単純に % が無視されるかもしれないが。strtod_l がどう動くのか。
差分
- Support define to remove additional background from an image during a trim, e.g. -define trim:percent-background=0% -trim.
- MagickCore/attribute.c
136,138c136,139 < static double GetEdgeBlendFactor(const Image *image,const CacheView *image_vie w, < const GravityType gravity,const size_t width,const size_t height, < const ssize_t x_offset,const ssize_t y_offset,ExceptionInfo *exception) --- > static double GetEdgeBackgroundFactor(const Image *image, > const CacheView *image_view,const GravityType gravity,const size_t width, > const size_t height,const ssize_t x_offset,const ssize_t y_offset, > ExceptionInfo *exception) 229c230 < static inline double GetMinBlendFactor(const EdgeInfo *edge) --- > static inline double GetMinEdgeBackgroundFactor(const EdgeInfo *edge) (沢山省略) 346,347c358,359 < bounds.x=(ssize_t) count.left; < bounds.y=(ssize_t) count.top; --- > bounds.x=(ssize_t) vertex.left; > bounds.y=(ssize_t) vertex.top; 348a361,363 > { > (void) ThrowMagickException(exception,GetMagickModule(),OptionWarning, > "GeometryDoesNotContainImage","`%s'",image->filename); 349a365 > }
ChangeLog にない差分
(無し)
ChangeLog
> 2019-03-03 7.0.8-30 Cristy <quetzlzacatenango@image...> > * Release ImageMagick version 7.0.8-30, GIT revision ... > > 2019-03-03 7.0.8-30 Cristy <quetzlzacatenango@image...> > * Support define to remove additional background from an image during a > trim, e.g. -fuzz 5% -define trim:percent-background=0% -trim.