yoyaのメモ

2016/05/22(Sun) ImageMagick-6.9.4-4差分

[]ImageMagick-6.9.4-4差分

ImageMagick-6.9.4-3差分 - yoyaのメモの続き

The latest release of ImageMagick is version 6.9.4-4

まとめ

  • east /west gravity文字列配置の修正。(6.9.4-3 でも中途半端に入ってる)
    • (ソースコード差分は height と descent なので north / south に影響しそうで要確認)

差分

ChangeLog の分

magick/annotate.c
391c391
<           (number_lines-1.0)*height)/2.0+metrics.descent/2.0;
---
>           (number_lines-1.0)*height)/2.0;
406c406
<           (number_lines-1.0)*height)/2.0+metrics.descent/2.0;
---
>           (number_lines-1.0)*height)/2.0;
420c420
<           (number_lines-1.0)*height)/2.0+metrics.descent/2.0;
---
>           (number_lines-1.0)*height)/2.0;

ChangeLogにない差分

3716d3717
<       cache_info->type=UndefinedCache;
3725d3725
<       cache_info->type=UndefinedCache;
3786,3787d3785
<               if (status == MagickFalse)
<                 cache_info->type=UndefinedCache;
3809,3810d3806
<   if (status == MagickFalse)
<     cache_info->type=UndefinedCache;

ChangeLog

2016-05-21 7.0.1-6 Cristy <quetzlzacatenango@image...>
  * Release ImageMagick version 7.0.1-6, GIT revision 18241:d4f277c:20160521.

2016-05-20 7.0.1-6 Cristy <quetzlzacatenango@image...>
  * Fixed proper placement of text annotation for east / west gravity.

2016/05/19(Thu) ImageMagick-6.9.4-3差分

[]ImageMagick-6.9.4-3差分

ImageMagick-6.9.4-2差分 - yoyaのメモの続き

The latest release of ImageMagick is version 6.9.4-3

まとめ

  • annotate の高さ計算に metrics.decent が入った

差分

ChangeLog の分

ChangeLogにない差分

<       number_planes_filled*sizeof(*pixels));
---
>       MagickMax(number_planes_filled,4)*sizeof(*pixels));
<     pixel_info_length=image->columns*image->rows*number_planes_filled;
---
>     pixel_info_length=image->columns*image->rows*
>       MagickMax(number_planes_filled,4);
  • magick/annotate.c
    • annotate の高さ計算に metrics.decent が入った
406c406
<           (number_lines-1.0)*height)/2.0;
---
>           (number_lines-1.0)*height)/2.0+metrics.descent/2.0;
(旧)
      status=AcquireMagickResource(MapResource,cache_info->length);
      if ((status == MagickFalse) && (cache_info->type != MapCache) &&
          (cache_info->type != MemoryCache))
        cache_info->type=DiskCache;
      else
(新)
      status=AcquireMagickResource(MapResource,cache_info->length);
      if ((status == MagickFalse) && (cache_info->type != MapCache) &&
          (cache_info->type != MemoryCache))
        {
          status=MagickTrue;
          cache_info->type=DiskCache;
        }
      else

ChangeLog

2016-05-15  6.9.4-3 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 6.9.4-3, GIT revision 10789:f7c2e89:20160518.

2016-05-15  6.9.4-3 Cristy  <quetzlzacatenango@image...>
  * Fix pixel cache on disk regression (reference
    https://github.com/ImageMagick/ImageMagick/issues/202).

2016/05/17(Tue) ImageMagick-6.9.4-2差分

[]ImageMagick-6.9.4-2差分

ImageMagick-6.9.4-1差分 - yoyaのメモの続き

The latest release of ImageMagick is version 6.9.4-2

まとめ

差分

ChangeLog の分

ChangeLogにない差分


ChangeLog

2016-05-15  6.9.4-2 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 6.9.4-2, GIT revision 10778:52dae14:20160516.

2016-05-10  6.9.4-2 Cristy  <quetzlzacatenango@image...>
  * Quote passwords when passed to a delegate program.
  * Can read geo-related EXIF metdata once-again (reference
    https://github.com/ImageMagick/ImageMagick/issues/198).
  * Sanitize all delegate emedded formatting characters.
  * Don't sync pixel cache in AcquireAuthenticCacheView() (bug report from
    Hanno B&#246;ck).

2016/05/10(Tue) ImageMagick-6.9.4-1差分

[]ImageMagick-6.9.4-1差分

ImageMagick-6.9.4-0差分 - yoyaのメモの続き

The latest release of ImageMagick is version 6.9.4-1

まとめ

差分

ChangeLog の分

* https delegate を削除

ChangeLogにない差分

  • Makefile.in から以下の行を削除
2557d2556
< AutotraceDecodeDelegate = @AutotraceDecodeDelegate@
2561d2559
< BZIPDelegate = @BZIPDelegate@
2585d2582
< CatDelegate = @CatDelegate@
2611d2607
< EchoDelegate = @EchoDelegate@
2744d2739
< MANDelegate = @MANDelegate@
2799d2793
< PGPDecodeDelegate = @PGPDecodeDelegate@
2805d2798
< POVDelegate = @POVDelegate@
2818d2810
< RLEEncodeDelegate = @RLEEncodeDelegate@
2825d2816
< SCANDecodeDelegate = @SCANDecodeDelegate@
2843d2833
< TXTDelegate = @TXTDelegate@
2862d2851
< WMFDecodeDelegate = @WMFDecodeDelegate@
2886d2874
< ZipDelegate = @ZipDelegate@
  • coders/mat.c
    • コピペで持ってきたっぽいエラー文言を正しく修正
519c519
<     (void) LogMagickEvent(CoderEvent,GetMagickModule(),"Cannot create file stream for PS image");
---
>     (void) LogMagickEvent(CoderEvent,GetMagickModule(),"Cannot create file stream for decompressed image");
  • config/delegates.xml
    • 定義を削除
<   <delegate decode="autotrace" stealth="True" command="&quot;@ConvertDelegate@&quot; &quot;%i&quot; &quot;pnm:%u&quot;\n&quot;@AutotraceDecodeDelegate@&quot; -input-format pnm -output-format svg -output-file &quot;%o&quot; &quot;%u&quot;"/>
    • mv を @MVDelegate@ に変更
<   <delegate decode="bpg" command="&quot;@BPGDecodeDelegate@&quot; -b 16 -o &quot;%o.png&quot; &quot;%i&quot;; mv &quot;%o.png&quot; &quot;%o&quot;"/>
---
>   <delegate decode="bpg" command="&quot;@BPGDecodeDelegate@&quot; -b 16 -o &quot;%o.png&quot; &quot;%i&quot;; @MVDelegate@ &quot;%o.png&quot; &quot;%o&quot;"/>
  • configure (configure.ac も同様)
    • 以下の行を削除
< ZipDelegate
695d693
< WMFDecodeDelegate
699d696
< TXTDelegate
701d697
< SCANDecodeDelegate
704d699
< RLEEncodeDelegate
706,707d700
< POVDelegate
< PGPDecodeDelegate
714d706
< MANDelegate
726d717
< EchoDelegate
732d722
< CatDelegate
734d723
< BZIPDelegate
738d726
< AutotraceDecodeDelegate
34599d34586
< AutotraceDecodeDelegateDefault='autotrace'
34603d34589
< BZIPDelegateDefault='bzip2'
34605d34590
< CatDelegateDefault='cat'
34610d34594
< EchoDelegateDefault='echo'
34624d34607
< MANDelegateDefault='groff'
34630,34631d34612
< PGPDecodeDelegateDefault='pgpv'
< POVDelegateDefault='povray'
34639d34619
< RLEEncodeDelegateDefault='rawtorle'
34642d34621
< SCANDecodeDelegateDefault='scanimage'
34644d34622
< TXTDelegateDefault='enscript'
34648d34625
< WMFDecodeDelegateDefault='wmf2eps'
34651d34627

ChangeLog

2016-05-09  6.9.4-1 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 6.9.4-1, GIT revision 10755:d540dda:20160509.

2016-05-07  6.9.4-1 Cristy  <quetzlzacatenango@image...>
  * Remove https delegate.

2016/05/09(Mon) ImageMagick-6.9.4-0差分

[]ImageMagick-6.9.4-0差分

ImageMagick-6.9.3-10差分 - yoyaのメモの続き

The latest release of ImageMagick is version 6.9.4-0

尚、今回も 7 系が同時リリースされた > ImageMagick-7.0.1-2

まとめ



差分

ChangeLog の分

  • magick/draw.c/DrawStrokePolygon() のバッファオーバーフローをチェック
  • ラベルでなく画像のファイル名を delegate タイトルで示すよう差し替え
  • Fix GetNextToken() off by one error.
  • 内部 ephemeral coder サポートを削除

ChangeLogにない差分

  • AUTHORS.txt
    • 追加
> Hanno B<C3><B6>ck
>      Contributed numerous fuzzed-images that revealed program flaws in
>      ImageMagick.  Additional checks were added to guard against nefarious
>      image files.

< GnuplotDecodeDelegate = @GnuplotDecodeDelegate@

||<


(調査中)

ChangeLog

2016-05-05  6.9.4-0 Cristy  <quetzlzacatenango@image...>
  * Release ImageMagick version 6.9.4-0, GIT revision 10741:5746147:20160507.

2016-05-04  6.9.4-0 Cristy  <quetzlzacatenango@image...>
  * Check for buffer overflow in magick/draw.c/DrawStrokePolygon().
  * Replace show delegate title with image filename rather than label.
  * Fix GetNextToken() off by one error.
  * Remove support for internal ephemeral coder.