ImageMagick-6.9.8-0差分
ImageMagick-6.9.7-10差分 - yoyaのメモの続き
The latest release of ImageMagick is version 6.9.8-0
- 7 系同時リリースは ImageMagick-7.0.5-2
差分
- throttle (CPUスロット) policy をちゃんと扱う
- https://github.com/ImageMagick/ImageMagick/issues/393
- magick/resource.c
- https://github.com/ImageMagick/ImageMagick/issues/393
1360a1361,1363 > else > if (resource_info.thread_limit == 0) > resource_info.thread_limit=1; 1368c1371 < resource_info.throttle_limit=MagickMin(limit,StringToSizeType(value, --- > resource_info.throttle_limit=MagickMax(limit,StringToSizeType(value, 1370,1373d1372 < if (resource_info.throttle_limit > GetOpenMPMaximumThreads()) < resource_info.throttle_limit=GetOpenMPMaximumThreads(); < else if (resource_info.thread_limit == 0) < resource_info.thread_limit=1; 1381c1380 < resource_info.time_limit=MagickMin(limit,StringToSizeType(value,100.0)); --- > resource_info.time_limit=MagickMax(limit,StringToSizeType(value,100.0));
- PDF の -authenticate オプションをサポート
- coders/pdf.c
- PDF の authenticate オプション対応
63a64 > #include "magick/magick-type.h" 738a740,749 > option=GetImageOption(image_info,"authenticate"); > if (option != (char *) NULL) > { > char > passphrase[MagickPathExtent]; > > (void) FormatLocaleString(passphrase,MagickPathExtent, > "'-sPDFPassword=%s' ",option); > (void) ConcatenateMagickString(options,passphrase,MagickPathExtent); > }
ChangeLog にない差分
- Magick++/lib/Image.cpp
- Magick::Image::attribute (string), (string,string) と同名関数で (string, char*) を追加
2029a2030,2035 > void Magick::Image::attribute(const std::string name_,const char *value_) > { > modifyImage(); > SetImageProperty(image(),name_.c_str(),value_); > } >
3223a3234 > coders/pgx.c \ 3352a3364 > @WITH_MODULES_TRUE@ coders/pgx.la \
-
- magick/magic.c
156c156,157< { "PGX", 0, MagicPattern("\050\107\020\115\046") },
-
- -
> { "PGX", 0, MagicPattern("PG ML") },
> { "PGX", 0, MagicPattern("PG LM") },
magick/static.c
269a270
> (void) RegisterPGXImage();
460a462
> UnregisterPGXImage();
diff -rb ImageMagick-6.9.7-10/magick/static.h ImageMagick-6.9.8-0/magick/static.h
125a126
> RegisterPGXImage(void),
290a292
> UnregisterPGXImage(void),
- coders/rle.c
336a337 > (void) ResetMagickMemory(pixels,0,pixel_info_length);
- magick/colorspace.c
- CIE XYZ の計算に PerceptibleReciprocal を入れた( x がほぼ0の時に無限大にならないように)
163a164 > gamma, 169,170c170,172 < *low_x=X/(X+Y+Z); < *low_y=Y/(X+Y+Z); --- > gamma=PerceptibleReciprocal(X+Y+Z); > *low_x=gamma*X; > *low_y=gamma*Y; 1521a1524 > gamma, 1526c1529,1530 < X=cap_Y/low_y*low_x; --- > gamma=PerceptibleReciprocal(low_y); > X=gamma*cap_Y*low_x; 1528c1532 < Z=cap_Y/low_y*(1.0-low_x-low_y); --- > Z=gamma*cap_Y*(1.0-low_x-low_y);
ChangeLog
* Release ImageMagick version 6.9.7-0, GIT revision 11408:da91a7c:20170311. 2017-03-06 6.9.8-0 Cristy <quetzlzacatenango@image...> * Respect throttle policy (reference https://github.com/ImageMagick/ImageMagick/issues/393). * Support the -authenticate option for PDF (reference https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31530).