[-]
[+]
|
Changed |
_service:tar_git:ImageMagick.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://gitlab.com/nephros/harbour-imagemagick</param>
<param name="branch">obs</param>
- <param name="revision">7.1.0.13+obs1.1</param>
+ <param name="revision">7.1.0.19+obs1.1</param>
<param name="debian">N</param>
<param name="dumb">N</param>
</service>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/ChangeLog
^
|
@@ -1,3 +1,53 @@
+2021-12-22 7.1.0-19 <quetzlzacatenango@image...>
+ * Release ImageMagick version 7.1.0-19 GIT revision 19456:d7f1b2b9b:20211222
+
+2021-12-22 7.1.0-19 <quetzlzacatenango@image...>
+ * support -integral option.
+ * possible DoS for certain SVG constructs (reference
+ https://github.com/ImageMagick/ImageMagick/issues/4626).
+
+2021-12-18 7.1.0-18 <quetzlzacatenango@image...>
+ * Release ImageMagick version 7.1.0-18 GIT revision 19447:6c7d62f7d:20211218
+
+2021-12-11 7.1.0-18 <quetzlzacatenango@image...>
+ * support face index for font collections, e.g. msgothic.ttc[1].
+
+2021-12-11 7.1.0-18 Dirk Lemstra <dirk@lem.....org>
+ * Improved adjustment of page offset when resizing an image.
+
+2021-12-04 7.1.0-17 <quetzlzacatenango@image...>
+ * Release ImageMagick version 7.1.0-17 GIT revision 19425:e66261ffe:20211204
+
+2021-11-27 7.1.0-17 <quetzlzacatenango@image...>
+ * set threads to 1 when using ASAN to avoid false positive memory leaks.
+
+2021-11-21 7.1.0-16 <quetzlzacatenango@image...>
+ * Release ImageMagick version 7.1.0-16 GIT revision 19398:7dc99d829:20211121
+
+2021-11-21 7.1.0-16 Dirk Lemstra <dirk@lem.....org>
+ * Fixed an OpenCL build problem.
+
+2021-11-20 7.1.0-15 <quetzlzacatenango@image...>
+ * Release ImageMagick version 7.1.0-15 GIT revision 19380:8098f3335:20211120
+
+2021-11-20 7.1.0-15 Dirk Lemstra <dirk@lem.....org>
+ * Added support for reading extra channels in a PSD file (reference
+ https://github.com/ImageMagick/ImageMagick/issues/4499).
+
+2021-11-15 7.1.0-15 <quetzlzacatenango@image...>
+ * Fix alpha channel calculation of arithmetic divide compose operator.
+
+2021-11-13 7.1.0-14 <quetzlzacatenango@image...>
+ * Release ImageMagick version 7.1.0-14 GIT revision 19349:2ba5cdf42:20211114
+
+2021-11-13 7.1.0-14 <quetzlzacatenango@image...>
+ * Support '#' modifier to aspect ratio geometry (e.g., 3:2#).
+
+2021-11-11 7.1.0-14 Dirk Lemstra <dirk@lem.....org>
+ * The profile of a PSD file will no longer be copied to all the images, only
+ the first returned image will contain the profile. To re-enable the old
+ behavior add -define psd:replicate-profile=true.
+
2021-10-28 7.1.0-13 <quetzlzacatenango@image...>
* Release ImageMagick version 7.1.0-13 GIT revision 19325:987f36b50:20211028
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/accelerate.c
^
|
@@ -64,7 +64,6 @@
#include "MagickCore/opencl-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/prepress.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum-private.h"
@@ -3980,8 +3979,6 @@
support;
int
- cacheRangeStart,
- cacheRangeEnd,
numCachedPixels,
resizeFilterType,
resizeWindowType;
@@ -4038,10 +4035,7 @@
RestoreMSCWarning
{
/* calculate the local memory size needed per workgroup */
- cacheRangeStart=(int) (((0 + 0.5)/xFactor+MagickEpsilon)-support+0.5);
- cacheRangeEnd=(int) ((((pixelPerWorkgroup-1) + 0.5)/xFactor+
- MagickEpsilon)+support+0.5);
- numCachedPixels=cacheRangeEnd-cacheRangeStart+1;
+ numCachedPixels=(int) ceil((pixelPerWorkgroup-1)/xFactor+2*support);
imageCacheLocalMemorySize=numCachedPixels*sizeof(CLQuantum)*
number_channels;
totalLocalMemorySize=imageCacheLocalMemorySize;
@@ -4164,8 +4158,6 @@
support;
int
- cacheRangeStart,
- cacheRangeEnd,
numCachedPixels,
resizeFilterType,
resizeWindowType;
@@ -4222,10 +4214,7 @@
RestoreMSCWarning
{
/* calculate the local memory size needed per workgroup */
- cacheRangeStart=(int) (((0 + 0.5)/yFactor+MagickEpsilon)-support+0.5);
- cacheRangeEnd=(int) ((((pixelPerWorkgroup-1) + 0.5)/yFactor+
- MagickEpsilon)+support+0.5);
- numCachedPixels=cacheRangeEnd-cacheRangeStart+1;
+ numCachedPixels=(int)ceil((pixelPerWorkgroup-1)/yFactor+2*support);
imageCacheLocalMemorySize=numCachedPixels*sizeof(CLQuantum)*
number_channels;
totalLocalMemorySize=imageCacheLocalMemorySize;
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/annotate.c
^
|
@@ -1382,6 +1382,9 @@
FT_Library
library;
+ FT_Long
+ face_index;
+
FT_Matrix
affine;
@@ -1443,6 +1446,7 @@
if (ft_status != 0)
ThrowBinaryException(TypeError,"UnableToInitializeFreetypeLibrary",
image->filename);
+ face_index=(FT_Long) draw_info->face;
args.flags=FT_OPEN_PATHNAME;
if (draw_info->font == (char *) NULL)
args.pathname=ConstantString("helvetica");
@@ -1450,9 +1454,19 @@
if (*draw_info->font != '@')
args.pathname=ConstantString(draw_info->font);
else
- args.pathname=ConstantString(draw_info->font+1);
+ {
+ /*
+ Extract face index, e.g. @msgothic[1].
+ */
+ ImageInfo *image_info=AcquireImageInfo();
+ (void) strcpy(image_info->filename,draw_info->font+1);
+ (void) SetImageInfo(image_info,0,exception);
+ face_index=(FT_Long) image_info->scene;
+ args.pathname=ConstantString(image_info->filename);
+ image_info=DestroyImageInfo(image_info);
+ }
face=(FT_Face) NULL;
- ft_status=FT_Open_Face(library,&args,(long) draw_info->face,&face);
+ ft_status=FT_Open_Face(library,&args,face_index,&face);
if (ft_status != 0)
{
(void) FT_Done_FreeType(library);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/blob.c
^
|
@@ -2729,15 +2729,9 @@
MagickBooleanType
status;
- ssize_t
- i;
-
size_t
quantum;
- ssize_t
- count;
-
struct stat
file_stats;
@@ -2811,9 +2805,9 @@
ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed",
image->filename);
}
- for (i=0; ; i+=count)
+ for ( ; ; )
{
- count=read(file,buffer,quantum);
+ ssize_t count = read(file,buffer,quantum);
if (count <= 0)
{
count=0;
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/cache.c
^
|
@@ -1133,7 +1133,8 @@
nexus_info=(NexusInfo **) RelinquishAlignedMemory(nexus_info);
return(nexus_info);
}
-
+
+
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
@@ -2930,8 +2931,7 @@
EdgeX(x_offset,cache_info->columns),
EdgeY(y_offset,cache_info->rows),1UL,1UL,virtual_nexus,
exception);
- r=GetVirtualMetacontentFromNexus(cache_info,
- nexus_info->virtual_nexus);
+ r=GetVirtualMetacontentFromNexus(cache_info,virtual_nexus);
break;
}
case RandomVirtualPixelMethod:
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/channel.c
^
|
@@ -53,7 +53,6 @@
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/colorspace.c
^
|
@@ -62,7 +62,6 @@
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
@@ -1520,7 +1519,7 @@
if (type == UndefinedType)
return(MagickFalse);
image->colorspace=GRAYColorspace;
- if (SyncImagePixelCache((Image *) image,exception) == MagickFalse)
+ if (SyncImagePixelCache(image,exception) == MagickFalse)
return(MagickFalse);
image->type=type;
return(MagickTrue);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/composite-private.h
^
|
@@ -23,7 +23,6 @@
#include "MagickCore/image.h"
#include "MagickCore/image-private.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/composite.c
^
|
@@ -548,6 +548,7 @@
MagickBooleanType
clamp,
+ compose_sync,
status;
MagickOffsetType
@@ -594,6 +595,10 @@
value=GetImageArtifact(image,"compose:clamp");
if (value != (const char *) NULL)
clamp=IsStringTrue(value);
+ compose_sync=MagickTrue;
+ value=GetImageArtifact(image,"compose:sync");
+ if (value != (const char *) NULL)
+ compose_sync=IsStringTrue(value);
SetGeometryInfo(&geometry_info);
percent_luma=100.0;
percent_chroma=100.0;
@@ -1400,10 +1405,6 @@
switch (compose)
{
case BumpmapCompositeOp:
- {
- alpha=GetPixelIntensity(source_image,p)*Sa;
- break;
- }
case ColorBurnCompositeOp:
case ColorDodgeCompositeOp:
case DarkenCompositeOp:
@@ -1562,6 +1563,11 @@
pixel=QuantumRange*Da;
break;
}
+ case BumpmapCompositeOp:
+ {
+ pixel=GetPixelIntensity(source_image,p)*Da;
+ break;
+ }
case ChangeMaskCompositeOp:
{
if (IsFuzzyEquivalencePixel(source_image,p,image,q) != MagickFalse)
@@ -1620,6 +1626,12 @@
}
case DarkenIntensityCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=GetPixelIntensity(source_image,p) <
+ GetPixelIntensity(image,q) ? Sa : Da;
+ break;
+ }
pixel=Sa*GetPixelIntensity(source_image,p) <
Da*GetPixelIntensity(image,q) ? Sa : Da;
break;
@@ -1645,6 +1657,12 @@
}
case LightenIntensityCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=GetPixelIntensity(source_image,p) >
+ GetPixelIntensity(image,q) ? Sa : Da;
+ break;
+ }
pixel=Sa*GetPixelIntensity(source_image,p) >
Da*GetPixelIntensity(image,q) ? Sa : Da;
break;
@@ -1656,7 +1674,12 @@
}
case MultiplyCompositeOp:
{
- pixel=QuantumRange*Sa*Da;
+ if (compose_sync == MagickFalse)
+ {
+ pixel=QuantumRange*Sa*Da;
+ break;
+ }
+ pixel=QuantumRange*alpha;
break;
}
case NegateCompositeOp:
@@ -1874,6 +1897,11 @@
OR a greyscale version of a binary 'Or'
OR the 'Intersection' of pixel sets.
*/
+ if (compose_sync == MagickFalse)
+ {
+ pixel=MagickMin(Sc,Dc);
+ break;
+ }
if ((Sca*Da) < (Dca*Sa))
{
pixel=QuantumRange*(Sca+Dca*(1.0-Sa));
@@ -1884,12 +1912,23 @@
}
case DarkenIntensityCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=GetPixelIntensity(source_image,p) <
+ GetPixelIntensity(image,q) ? Sc : Dc;
+ break;
+ }
pixel=Sa*GetPixelIntensity(source_image,p) <
Da*GetPixelIntensity(image,q) ? Sc : Dc;
break;
}
case DifferenceCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=fabs((double) Sc-Dc);
+ break;
+ }
pixel=QuantumRange*gamma*(Sca+Dca-2.0*MagickMin(Sca*Da,Dca*Sa));
break;
}
@@ -1901,6 +1940,11 @@
}
case DivideDstCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=QuantumRange*(Sc/PerceptibleReciprocal(Dc));
+ break;
+ }
if ((fabs((double) Sca) < MagickEpsilon) &&
(fabs((double) Dca) < MagickEpsilon))
{
@@ -1917,6 +1961,11 @@
}
case DivideSrcCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=QuantumRange*(Dc/PerceptibleReciprocal(Sc));
+ break;
+ }
if ((fabs((double) Dca) < MagickEpsilon) &&
(fabs((double) Sca) < MagickEpsilon))
{
@@ -2055,6 +2104,11 @@
}
case LightenCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=MagickMax(Sc,Dc);
+ break;
+ }
if ((Sca*Da) > (Dca*Sa))
{
pixel=QuantumRange*(Sca+Dca*(1.0-Sa));
@@ -2070,6 +2124,12 @@
OR a greyscale version of a binary 'And'
OR the 'Union' of pixel sets.
*/
+ if (compose_sync == MagickFalse)
+ {
+ pixel=GetPixelIntensity(source_image,p) >
+ GetPixelIntensity(image,q) ? Sc : Dc;
+ break;
+ }
pixel=Sa*GetPixelIntensity(source_image,p) >
Da*GetPixelIntensity(image,q) ? Sc : Dc;
break;
@@ -2121,6 +2181,12 @@
Dca' = A*Sca*Dca + B*Sca*Da + C*Dca*Sa + D*Sa*Da + Sca*(1.0-Da) +
Dca*(1.0-Sa)
*/
+ if (compose_sync == MagickFalse)
+ {
+ pixel=geometry_info.rho*Sc*Dc+geometry_info.sigma*Sc+
+ geometry_info.xi*Dc+geometry_info.psi;
+ break;
+ }
pixel=QuantumRange*gamma*(geometry_info.rho*Sca*Dca+
geometry_info.sigma*Sca*Da+geometry_info.xi*Dca*Sa+
geometry_info.psi*Sa*Da+Sca*(1.0-Da)+Dca*(1.0-Sa));
@@ -2128,6 +2194,11 @@
}
case MinusDstCompositeOp:
{
+ if (compose_sync == MagickFalse)
+ {
+ pixel=Dc-Sc;
+ break;
+ }
pixel=gamma*(Sa*Sc+Da*Dc-2.0*Da*Dc*Sa);
break;
}
@@ -2138,6 +2209,11 @@
f(Sc,Dc) = Sc - Dc
*/
+ if (compose_sync == MagickFalse)
+ {
+ pixel=Sc-Dc;
+ break;
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/constitute.c
^
|
@@ -694,50 +694,54 @@
(void) GetImageProperty(next,"icc:*",exception);
(void) GetImageProperty(next,"iptc:*",exception);
(void) GetImageProperty(next,"xmp:*",exception);
- value=GetImageProperty(next,"exif:Orientation",exception);
- if (value == (char *) NULL)
- value=GetImageProperty(next,"tiff:Orientation",exception);
- if (value != (char *) NULL)
+ option=GetImageOption(image_info,"exif:sync-image");
+ if (IsStringFalse(option) == MagickFalse)
{
- next->orientation=(OrientationType) StringToLong(value);
- (void) DeleteImageProperty(next,"tiff:Orientation");
- (void) DeleteImageProperty(next,"exif:Orientation");
- }
- value=GetImageProperty(next,"exif:XResolution",exception);
- if (value != (char *) NULL)
- {
- geometry_info.rho=next->resolution.x;
- geometry_info.sigma=1.0;
- flags=ParseGeometry(value,&geometry_info);
- if (geometry_info.sigma != 0)
- next->resolution.x=geometry_info.rho/geometry_info.sigma;
- if (strchr(value,',') != (char *) NULL)
- next->resolution.x=geometry_info.rho+geometry_info.sigma/1000.0;
- (void) DeleteImageProperty(next,"exif:XResolution");
- }
- value=GetImageProperty(next,"exif:YResolution",exception);
- if (value != (char *) NULL)
- {
- geometry_info.rho=next->resolution.y;
- geometry_info.sigma=1.0;
- flags=ParseGeometry(value,&geometry_info);
- if (geometry_info.sigma != 0)
- next->resolution.y=geometry_info.rho/geometry_info.sigma;
- if (strchr(value,',') != (char *) NULL)
- next->resolution.y=geometry_info.rho+geometry_info.sigma/1000.0;
- (void) DeleteImageProperty(next,"exif:YResolution");
- }
- value=GetImageProperty(next,"exif:ResolutionUnit",exception);
- if (value == (char *) NULL)
- value=GetImageProperty(next,"tiff:ResolutionUnit",exception);
- if (value != (char *) NULL)
- {
- option_type=ParseCommandOption(MagickResolutionOptions,MagickFalse,
- value);
- if (option_type >= 0)
- next->units=(ResolutionType) option_type;
- (void) DeleteImageProperty(next,"exif:ResolutionUnit");
- (void) DeleteImageProperty(next,"tiff:ResolutionUnit");
+ value=GetImageProperty(next,"exif:Orientation",exception);
+ if (value == (char *) NULL)
+ value=GetImageProperty(next,"tiff:Orientation",exception);
+ if (value != (char *) NULL)
+ {
+ next->orientation=(OrientationType) StringToLong(value);
+ (void) DeleteImageProperty(next,"tiff:Orientation");
+ (void) DeleteImageProperty(next,"exif:Orientation");
+ }
+ value=GetImageProperty(next,"exif:XResolution",exception);
+ if (value != (char *) NULL)
+ {
+ geometry_info.rho=next->resolution.x;
+ geometry_info.sigma=1.0;
+ flags=ParseGeometry(value,&geometry_info);
+ if (geometry_info.sigma != 0)
+ next->resolution.x=geometry_info.rho/geometry_info.sigma;
+ if (strchr(value,',') != (char *) NULL)
+ next->resolution.x=geometry_info.rho+geometry_info.sigma/1000.0;
+ (void) DeleteImageProperty(next,"exif:XResolution");
+ }
+ value=GetImageProperty(next,"exif:YResolution",exception);
+ if (value != (char *) NULL)
+ {
+ geometry_info.rho=next->resolution.y;
+ geometry_info.sigma=1.0;
+ flags=ParseGeometry(value,&geometry_info);
+ if (geometry_info.sigma != 0)
+ next->resolution.y=geometry_info.rho/geometry_info.sigma;
+ if (strchr(value,',') != (char *) NULL)
+ next->resolution.y=geometry_info.rho+geometry_info.sigma/1000.0;
+ (void) DeleteImageProperty(next,"exif:YResolution");
+ }
+ value=GetImageProperty(next,"exif:ResolutionUnit",exception);
+ if (value == (char *) NULL)
+ value=GetImageProperty(next,"tiff:ResolutionUnit",exception);
+ if (value != (char *) NULL)
+ {
+ option_type=ParseCommandOption(MagickResolutionOptions,MagickFalse,
+ value);
+ if (option_type >= 0)
+ next->units=(ResolutionType) option_type;
+ (void) DeleteImageProperty(next,"exif:ResolutionUnit");
+ (void) DeleteImageProperty(next,"tiff:ResolutionUnit");
+ }
}
if (next->page.width == 0)
next->page.width=next->columns;
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/delegate.c
^
|
@@ -153,8 +153,8 @@
" <delegate decode=\"xps:cmyk\" stealth=\"True\" command=\""gxps" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=bmpsep8" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"\"/>"
" <delegate decode=\"xps:color\" stealth=\"True\" command=\""gxps" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=ppmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"\"/>"
" <delegate decode=\"xps:mono\" stealth=\"True\" command=\""gxps" -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pbmraw" -dTextAlphaBits=%u -dGraphicsAlphaBits=%u "-r%s" %s "-sOutputFile=%s" "%s"\"/>"
- " <delegate decode=\"mpeg:decode\" command=\""ffmpeg" -v -1 -i "%i" -vframes %S -vcodec pam -an -f rawvideo -y "%u.pam" 2> "%u"\"/>"
- " <delegate encode=\"mpeg:encode\" stealth=\"True\" command=\""ffmpeg" -v -1 -i "%M%%d.jpg" -plays %I "%u.%m" 2> "%u"\"/>"
+ " <delegate decode=\"video:decode\" command=\""ffmpeg" -nostdin -loglevel error -i "%s" -vcodec pam -an -f rawvideo -y %s "%s"\"/>"
+ " <delegate encode=\"video:encode\" stealth=\"True\" command=\""ffmpeg" -nostdin -loglevel error -i "%s%%d.pam" %s "%s.%s"\"/>"
"</delegatemap>";

/*
@@ -2218,6 +2218,8 @@
(void) SubstituteString((char **) &commands,"&","&");
(void) SubstituteString((char **) &commands,">",">");
(void) SubstituteString((char **) &commands,"<","<");
+ if (delegate_info->commands != (char *) NULL)
+ delegate_info->commands=DestroyString(delegate_info->commands);
delegate_info->commands=commands;
break;
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/distort.c
^
|
@@ -61,7 +61,6 @@
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/resample.h"
#include "MagickCore/resample-private.h"
#include "MagickCore/registry.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/draw.c
^
|
@@ -74,7 +74,6 @@
#include "MagickCore/option.h"
#include "MagickCore/paint.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/property.h"
#include "MagickCore/resample.h"
#include "MagickCore/resample-private.h"
@@ -5536,7 +5535,7 @@
{
(void) CopyMagickString(clone_info->filename,primitive_info->text,
MagickPathExtent);
- status&=SetImageInfo(clone_info,0,exception);
+ status&=SetImageInfo(clone_info,1,exception);
(void) CopyMagickString(clone_info->filename,primitive_info->text,
MagickPathExtent);
if (clone_info->size != (char *) NULL)
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/effect.c
^
|
@@ -72,7 +72,6 @@
#include "MagickCore/morphology-private.h"
#include "MagickCore/paint.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
@@ -4331,7 +4330,7 @@
if (status == MagickFalse)
continue;
p=GetCacheViewVirtualPixels(image_view,0,y,image->columns,1,exception);
- q=QueueCacheViewAuthenticPixels(unsharp_view,0,y,unsharp_image->columns,1,
+ q=GetCacheViewAuthenticPixels(unsharp_view,0,y,unsharp_image->columns,1,
exception);
if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL))
{
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/feature.c
^
|
@@ -1733,17 +1733,17 @@
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Use HoughLineImage() in conjunction with any binary edge extracted image (we
-% recommand Canny) to identify lines in the image. The algorithm accumulates
-% counts for every white pixel for every possible orientation (for angles from
-% 0 to 179 in 1 degree increments) and distance from the center of the image to
-% the corner (in 1 px increments) and stores the counts in an accumulator
-% matrix of angle vs distance. The size of the accumulator is 180x(diagonal/2).
-% Next it searches this space for peaks in counts and converts the locations
-% of the peaks to slope and intercept in the normal x,y input image space. Use
-% the slope/intercepts to find the endpoints clipped to the bounds of the
-% image. The lines are then drawn. The counts are a measure of the length of
-% the lines.
+% HoughLineImage() can be used in conjunction with any binary edge extracted
+% image (we recommend Canny) to identify lines in the image. The algorithm
+% accumulates counts for every white pixel for every possible orientation (for
+% angles from 0 to 179 in 1 degree increments) and distance from the center of
+% the image to the corner (in 1 px increments) and stores the counts in an
+% accumulator matrix of angle vs distance. The size of the accumulator is
+% 180x(diagonal/2). Next it searches this space for peaks in counts and
+% converts the locations of the peaks to slope and intercept in the normal
+% x,y input image space. Use the slope/intercepts to find the endpoints
+% clipped to the bounds of the image. The lines are then drawn. The counts
+% are a measure of the length of the lines.
%
% The format of the HoughLineImage method is:
%
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/fourier.c
^
|
@@ -56,7 +56,6 @@
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/resource_.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/fx.c
^
|
@@ -2200,7 +2200,7 @@
{
alpha=FxEvaluateSubexpression(fx_info,channel,x,y,expression+3,
depth+1,beta,exception);
- FxReturn((alpha/(*beta*(alpha-1.0)+1.0)));
+ FxReturn(alpha*PerceptibleReciprocal(*beta*(alpha-1.0)+1.0));
}
break;
}
@@ -2665,6 +2665,9 @@
alpha=InterpretSiPrefixValue(expression,&q);
if (q == expression)
alpha=FxGetSymbol(fx_info,channel,x,y,expression,depth+1,exception);
+ if (*q == ')')
+ (void) ThrowMagickException(exception,GetMagickModule(),OptionError,
+ "UnbalancedParenthesis","`%s'",expression);
FxReturn(alpha);
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/gem.c
^
|
@@ -50,7 +50,6 @@
#include "MagickCore/log.h"
#include "MagickCore/memory_.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/random_.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/geometry.c
^
|
@@ -154,6 +154,12 @@
(void) CopyMagickString(p,p+1,MagickPathExtent);
break;
}
+ case '#':
+ {
+ flags|=MaximumValue;
+ (void) CopyMagickString(p,p+1,MagickPathExtent);
+ break;
+ }
case '^':
{
flags|=MinimumValue;
@@ -936,6 +942,12 @@
(void) CopyMagickString(p,p+1,MagickPathExtent);
break;
}
+ case '#':
+ {
+ flags|=MaximumValue;
+ (void) CopyMagickString(p,p+1,MagickPathExtent);
+ break;
+ }
case '^':
{
flags|=MinimumValue;
@@ -1305,18 +1317,24 @@
(void) ParseGeometry(geometry,&geometry_info);
geometry_ratio=geometry_info.rho;
image_ratio=(double) image->columns/image->rows;
- if (geometry_ratio >= image_ratio)
+ region_info->width=image->columns;
+ region_info->height=image->rows;
+ if ((flags & MaximumValue) != 0)
{
- region_info->width=image->columns;
- region_info->height=(size_t) floor((double) (image->rows*image_ratio/
- geometry_ratio)+0.5);
+ if (geometry_ratio < image_ratio)
+ region_info->height=(size_t) floor((double) (image->rows*
+ image_ratio/geometry_ratio)+0.5);
+ else
+ region_info->width=(size_t) floor((double) (image->columns*
+ geometry_ratio/image_ratio)+0.5);
}
else
- {
+ if (geometry_ratio >= image_ratio)
+ region_info->height=(size_t) floor((double) (image->rows*image_ratio/
+ geometry_ratio)+0.5);
+ else
region_info->width=(size_t) floor((double) (image->columns*
geometry_ratio/image_ratio)+0.5);
- region_info->height=image->rows;
- }
}
/*
Adjust offset according to gravity setting.
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/geometry.h
^
|
@@ -46,18 +46,19 @@
#undef YNegative
YNegative = 0x0040,
ChiNegative = 0x0080,
- PercentValue = 0x1000, /* '%' percentage of something */
- AspectValue = 0x2000, /* '!' resize no-aspect - special use flag */
- NormalizeValue = 0x2000, /* '!' ScaleKernelValue() in morphology.c */
- LessValue = 0x4000, /* '<' resize smaller - special use flag */
- GreaterValue = 0x8000, /* '>' resize larger - spacial use flag */
- MinimumValue = 0x10000, /* '^' special handling needed */
+ PercentValue = 0x1000, /* '%' percentage of something */
+ AspectValue = 0x2000, /* '!' resize no-aspect - special use flag */
+ NormalizeValue = 0x2000, /* '!' ScaleKernelValue() in morphology.c */
+ LessValue = 0x4000, /* '<' resize smaller - special use flag */
+ GreaterValue = 0x8000, /* '>' resize larger - spacial use flag */
+ MinimumValue = 0x10000, /* '^' special handling needed */
CorrelateNormalizeValue = 0x10000, /* '^' see ScaleKernelValue() */
- AreaValue = 0x20000, /* '@' resize to area - special use flag */
- DecimalValue = 0x40000, /* '.' floating point numbers found */
- SeparatorValue = 0x80000, /* 'x' separator found */
- AspectRatioValue = 0x100000, /* '~' special handling needed */
- AlphaValue = 0x200000, /* '/' alpha */
+ AreaValue = 0x20000, /* '@' resize to area - special use flag */
+ DecimalValue = 0x40000, /* '.' floating point numbers found */
+ SeparatorValue = 0x80000, /* 'x' separator found */
+ AspectRatioValue = 0x100000, /* '~' special handling needed */
+ AlphaValue = 0x200000, /* '/' alpha */
+ MaximumValue = 0x400000, /* '#' special handling needed */
#undef AllValues
AllValues = 0x7fffffff
} GeometryFlags;
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/image.c
^
|
@@ -787,12 +787,13 @@
MagickExport Image *CloneImage(const Image *image,const size_t columns,
const size_t rows,const MagickBooleanType detach,ExceptionInfo *exception)
{
+ double
+ scale_x,
+ scale_y;
+
Image
*clone_image;
- double
- scale;
-
size_t
length;
@@ -886,21 +887,23 @@
clone_image->cache=ReferencePixelCache(image->cache);
return(clone_image);
}
- scale=1.0;
+ scale_x=1.0;
+ scale_y=1.0;
if (image->columns != 0)
- scale=(double) columns/(double) image->columns;
- clone_image->page.width=(size_t) CastDoubleToLong(floor(scale*
- image->page.width+0.5));
- clone_image->page.x=CastDoubleToLong(ceil(scale*image->page.x-0.5));
- clone_image->tile_offset.x=CastDoubleToLong(ceil(scale*
- image->tile_offset.x-0.5));
- scale=1.0;
+ scale_x=(double) columns/(double) image->columns;
if (image->rows != 0)
- scale=(double) rows/(double) image->rows;
- clone_image->page.height=(size_t) CastDoubleToLong(floor(scale*
+ scale_y=(double) rows/(double) image->rows;
+ clone_image->page.width=(size_t) CastDoubleToLong(floor(scale_x*
+ image->page.width+0.5));
+ clone_image->page.height=(size_t) CastDoubleToLong(floor(scale_y*
image->page.height+0.5));
- clone_image->page.y=CastDoubleToLong(ceil(scale*image->page.y-0.5));
- clone_image->tile_offset.y=CastDoubleToLong(ceil(scale*
+ if (MagickAbsoluteValue(scale_x-scale_y) < 2.0)
+ scale_x=scale_y=MagickMin(scale_x,scale_y);
+ clone_image->page.x=CastDoubleToLong(ceil(scale_x*image->page.x-0.5));
+ clone_image->tile_offset.x=CastDoubleToLong(ceil(scale_x*
+ image->tile_offset.x-0.5));
+ clone_image->page.y=CastDoubleToLong(ceil(scale_y*image->page.y-0.5));
+ clone_image->tile_offset.y=CastDoubleToLong(ceil(scale_y*
image->tile_offset.y-0.5));
clone_image->cache=ClonePixelCache(image->cache);
if (SetImageExtent(clone_image,columns,rows,exception) == MagickFalse)
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/magick.c
^
|
@@ -1474,6 +1474,11 @@
/*
Initialize the Magick environment.
*/
+#if defined(__has_feature)
+#if __has_feature(address_sanitizer)
+ (void) putenv("MAGICK_THREAD_LIMIT=1");
+#endif
+#endif
InitializeMagickMutex();
LockMagickMutex();
if (magickcore_instantiated != MagickFalse)
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/matrix.c
^
|
@@ -50,7 +50,6 @@
#include "MagickCore/matrix-private.h"
#include "MagickCore/memory_.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/thread-private.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/morphology.c
^
|
@@ -71,7 +71,6 @@
#include "MagickCore/morphology-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/prepress.h"
#include "MagickCore/quantize.h"
#include "MagickCore/resource_.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/nt-base.h
^
|
@@ -192,6 +192,9 @@
#if !defined(popen)
# define popen _popen
#endif
+#if !defined(putenv)
+# define putenv _putenv
+#endif
#if !defined(fprintf_l)
#define fprintf_l _fprintf_s_l
#endif
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/opencl.c
^
|
@@ -96,10 +96,6 @@
#include <dlfcn.h>
#endif
-#ifdef MAGICKCORE_HAVE_OPENCL_CL_H
-#define MAGICKCORE_OPENCL_MACOSX 1
-#endif
-
/*
Define declarations.
*/
@@ -2500,7 +2496,7 @@
static MagickBooleanType BindOpenCLFunctions()
{
-#ifdef MAGICKCORE_OPENCL_MACOSX
+#ifdef MAGICKCORE_HAVE_OPENCL_CL_H
#define BIND(X) openCL_library->X= &X;
#else
(void) memset(openCL_library,0,sizeof(MagickLibrary));
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/option.c
^
|
@@ -69,6 +69,7 @@
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
+#include "MagickCore/registry.h"
#include "MagickCore/resample.h"
#include "MagickCore/resource_.h"
#include "MagickCore/splay-tree.h"
@@ -366,6 +367,7 @@
{ " gaussian-blur", 0, UndefinedOptionFlag, MagickFalse },
{ " grayscale", 0, UndefinedOptionFlag, MagickFalse },
{ " implode", 0, UndefinedOptionFlag, MagickFalse },
+ { " integral", 0, UndefinedOptionFlag, MagickFalse },
{ " kmeans", 0, UndefinedOptionFlag, MagickFalse },
{ " lat", 0, UndefinedOptionFlag, MagickFalse },
{ " level", 0, UndefinedOptionFlag, MagickFalse },
@@ -846,6 +848,8 @@
{ "-insert", 1L, ListOperatorFlag | FireOptionFlag, MagickFalse },
{ "+illuminant", 1L, ImageInfoOptionFlag, MagickFalse },
{ "-illuminant", 1L, ImageInfoOptionFlag, MagickFalse },
+ { "+integral", 0L, SimpleOperatorFlag, MagickFalse },
+ { "-integral", 0L, SimpleOperatorFlag, MagickFalse },
{ "+intensity", 0L, ImageInfoOptionFlag, MagickFalse },
{ "-intensity", 1L, ImageInfoOptionFlag, MagickFalse },
{ "+intent", 0L, ImageInfoOptionFlag, MagickFalse },
@@ -2722,10 +2726,26 @@
*/
MagickExport MagickBooleanType IsCommandOption(const char *option)
{
+ char
+ *value;
+
+ ExceptionInfo
+ *exception;
+
+ MagickBooleanType
+ pedantic;
+
assert(option != (const char *) NULL);
if ((*option != '-') && (*option != '+'))
return(MagickFalse);
- if (IsPathAccessible(option) != MagickFalse)
+ exception=AcquireExceptionInfo();
+ value=(char *) GetImageRegistry(StringRegistryType,"option:pedantic",
+ exception);
+ exception=DestroyExceptionInfo(exception);
+ pedantic=IsStringTrue(value);
+ if (value != (char *) NULL)
+ value=DestroyString(value);
+ if ((pedantic == MagickFalse) && (IsPathAccessible(option) != MagickFalse))
return(MagickFalse);
if (strlen(option) == 1)
return(((*option == '{') || (*option == '}') || (*option == '[') ||
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/pixel-private.h
^
|
@@ -22,6 +22,10 @@
extern "C" {
#endif
+#ifndef StartMetaPixelChannel
+ #define StartMetaPixelChannel (CompositeMaskPixelChannel+1)
+#endif
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/pixel.c
^
|
@@ -4337,9 +4337,6 @@
trait;
ssize_t
- i;
-
- ssize_t
n;
assert(image != (Image *) NULL);
@@ -4365,11 +4362,6 @@
}
if (image->colorspace == CMYKColorspace)
SetPixelChannelAttributes(image,BlackPixelChannel,trait,n++);
- for (i=0; i < (ssize_t) image->number_meta_channels; i++)
- {
- SetPixelChannelAttributes(image,(PixelChannel) n,UpdatePixelTrait,n);
- n++;
- }
if (image->alpha_trait != UndefinedPixelTrait)
SetPixelChannelAttributes(image,AlphaPixelChannel,CopyPixelTrait,n++);
if (image->storage_class == PseudoClass)
@@ -4381,6 +4373,23 @@
if ((image->channels & CompositeMaskChannel) != 0)
SetPixelChannelAttributes(image,CompositeMaskPixelChannel,CopyPixelTrait,
n++);
+ if (image->number_meta_channels > 0)
+ {
+ PixelChannel
+ meta_channel;
+
+ ssize_t
+ i;
+
+ meta_channel=StartMetaPixelChannel;
+ for (i=0; i < (ssize_t) image->number_meta_channels; i++)
+ {
+ assert(meta_channel < MaxPixelChannels);
+ SetPixelChannelAttributes(image,meta_channel++,UpdatePixelTrait,n);
+ n++;
+ }
+ }
+ assert(n < MaxPixelChannels);
image->number_channels=(size_t) n;
(void) SetPixelChannelMask(image,image->channel_mask);
}
@@ -6353,7 +6362,8 @@
MagickExport MagickBooleanType SetPixelMetaChannels(Image *image,
const size_t number_meta_channels,ExceptionInfo *exception)
{
- image->number_meta_channels=number_meta_channels;
+ image->number_meta_channels=MagickMin(number_meta_channels,MaxPixelChannels
+ -(size_t) StartMetaPixelChannel);
InitializePixelChannelMap(image);
return(SyncImagePixelCache(image,exception));
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/profile.c
^
|
@@ -2160,69 +2160,8 @@
(void) memcpy(p,buffer,2);
}
-static MagickBooleanType Sync8BimProfile(Image *image,StringInfo *profile)
-{
- size_t
- length;
-
- ssize_t
- count;
-
- unsigned char
- *p;
-
- unsigned short
- id;
-
- length=GetStringInfoLength(profile);
- p=GetStringInfoDatum(profile);
- while (length != 0)
- {
- if (ReadProfileByte(&p,&length) != 0x38)
- continue;
- if (ReadProfileByte(&p,&length) != 0x42)
- continue;
- if (ReadProfileByte(&p,&length) != 0x49)
- continue;
- if (ReadProfileByte(&p,&length) != 0x4D)
- continue;
- if (length < 7)
- return(MagickFalse);
- id=ReadProfileMSBShort(&p,&length);
- count=(ssize_t) ReadProfileByte(&p,&length);
- if ((count >= (ssize_t) length) || (count < 0))
- return(MagickFalse);
- p+=count;
- length-=count;
- if ((*p & 0x01) == 0)
- (void) ReadProfileByte(&p,&length);
- count=(ssize_t) ReadProfileMSBLong(&p,&length);
- if ((count > (ssize_t) length) || (count < 0))
- return(MagickFalse);
- if ((id == 0x3ED) && (count == 16))
- {
- if (image->units == PixelsPerCentimeterResolution)
- WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
- image->resolution.x*2.54*65536.0),p);
- else
- WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
- image->resolution.x*65536.0),p);
- WriteProfileShort(MSBEndian,(unsigned short) image->units,p+4);
- if (image->units == PixelsPerCentimeterResolution)
- WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
- image->resolution.y*2.54*65536.0),p+8);
- else
- WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
- image->resolution.y*65536.0),p+8);
- WriteProfileShort(MSBEndian,(unsigned short) image->units,p+12);
- }
- p+=count;
- length-=count;
- }
- return(MagickTrue);
-}
-
-MagickBooleanType SyncExifProfile(Image *image,StringInfo *profile)
+static MagickBooleanType SyncExifProfile(const Image *image,unsigned char *exif,
+ size_t length)
{
#define MaxDirectoryStack 16
#define EXIF_DELIMITER "\n"
@@ -2247,7 +2186,6 @@
size_t
entry,
- length,
number_entries;
SplayTreeInfo
@@ -2262,14 +2200,8 @@
format_bytes[] = {0, 1, 1, 2, 4, 8, 1, 1, 2, 4, 8, 4, 8};
unsigned char
- *directory,
- *exif;
+ *directory;
- /*
- Set EXIF resolution tag.
- */
- length=GetStringInfoLength(profile);
- exif=GetStringInfoDatum(profile);
if (length < 16)
return(MagickFalse);
id=(ssize_t) ReadProfileShort(LSBEndian,exif);
@@ -2407,7 +2339,7 @@
{
if (number_bytes == 4)
{
- (void) WriteProfileLong(endian,(size_t) (image->units+1),p);
+ (void) WriteProfileLong(endian,((size_t) image->units)+1,p);
break;
}
(void) WriteProfileShort(endian,(unsigned short) (image->units+1),p);
@@ -2448,6 +2380,71 @@
return(MagickTrue);
}
+static MagickBooleanType Sync8BimProfile(const Image *image,
+ const StringInfo *profile)
+{
+ size_t
+ length;
+
+ ssize_t
+ count;
+
+ unsigned char
+ *p;
+
+ unsigned short
+ id;
+
+ length=GetStringInfoLength(profile);
+ p=GetStringInfoDatum(profile);
+ while (length != 0)
+ {
+ if (ReadProfileByte(&p,&length) != 0x38)
+ continue;
+ if (ReadProfileByte(&p,&length) != 0x42)
+ continue;
+ if (ReadProfileByte(&p,&length) != 0x49)
+ continue;
+ if (ReadProfileByte(&p,&length) != 0x4D)
+ continue;
+ if (length < 7)
+ return(MagickFalse);
+ id=ReadProfileMSBShort(&p,&length);
+ count=(ssize_t) ReadProfileByte(&p,&length);
+ if ((count >= (ssize_t) length) || (count < 0))
+ return(MagickFalse);
+ p+=count;
+ length-=count;
+ if ((*p & 0x01) == 0)
+ (void) ReadProfileByte(&p,&length);
+ count=(ssize_t) ReadProfileMSBLong(&p,&length);
+ if ((count > (ssize_t) length) || (count < 0))
+ return(MagickFalse);
+ if ((id == 0x3ED) && (count == 16))
+ {
+ if (image->units == PixelsPerCentimeterResolution)
+ WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
+ image->resolution.x*2.54*65536.0),p);
+ else
+ WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
+ image->resolution.x*65536.0),p);
+ WriteProfileShort(MSBEndian,(unsigned short) image->units,p+4);
+ if (image->units == PixelsPerCentimeterResolution)
+ WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
+ image->resolution.y*2.54*65536.0),p+8);
+ else
+ WriteProfileLong(MSBEndian,(unsigned int) CastDoubleToLong(
+ image->resolution.y*65536.0),p+8);
+ WriteProfileShort(MSBEndian,(unsigned short) image->units,p+12);
+ }
+ if (id == 0x0422)
+ (void) SyncExifProfile(image,p,count);
+ p+=count;
+ length-=count;
+ }
+ return(MagickTrue);
+}
+
MagickPrivate MagickBooleanType SyncImageProfiles(Image *image)
{
MagickBooleanType
@@ -2463,7 +2460,8 @@
status=MagickFalse;
profile=(StringInfo *) GetImageProfile(image,"EXIF");
if (profile != (StringInfo *) NULL)
- if (SyncExifProfile(image,profile) == MagickFalse)
+ if (SyncExifProfile(image,GetStringInfoDatum(profile),
+ GetStringInfoLength(profile)) == MagickFalse)
status=MagickFalse;
return(status);
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/quantize.c
^
|
@@ -196,7 +196,6 @@
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/quantum-import.c
^
|
@@ -62,7 +62,6 @@
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/resource_.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/resize.c
^
|
@@ -65,7 +65,6 @@
#include "MagickCore/nt-base-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/resample.h"
#include "MagickCore/resample-private.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/segment.c
^
|
@@ -97,7 +97,6 @@
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/stream.c
^
|
@@ -717,6 +717,8 @@
cache_info->mapped=MagickFalse;
cache_info->pixels=(Quantum *) MagickAssumeAligned(
AcquireAlignedMemory(1,(size_t) cache_info->length));
+ if (cache_info->pixels != (Quantum *) NULL)
+ (void) memset(cache_info->pixels,0,(size_t) cache_info->length);
}
else
{
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/studio.h
^
|
@@ -139,13 +139,12 @@
# include <arm/limits.h>
#endif
-#if defined(MAGICKCORE__OPENCL)
#if defined(MAGICKCORE_HAVE_CL_CL_H)
# include <CL/cl.h>
+# define MAGICKCORE_OPENCL_SUPPORT 1
#endif
#if defined(MAGICKCORE_HAVE_OPENCL_CL_H)
# include <OpenCL/cl.h>
-#endif
# define MAGICKCORE_OPENCL_SUPPORT 1
#endif
@@ -305,9 +304,6 @@
# define SetNotifyHandlers \
SetErrorHandler(NTErrorHandler); \
SetWarningHandler(NTWarningHandler)
-# if !defined(MAGICKCORE_HAVE_TIFFCONF_H)
-# define HAVE_TIFFCONF_H
-# endif
# endif
#endif
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/thread-private.h
^
|
@@ -50,20 +50,25 @@
static inline int GetMagickNumberThreads(const Image *source,
const Image *destination,const size_t chunk,int multithreaded)
{
+ const CacheType
+ destination_type = (const CacheType) GetImagePixelCacheType(destination),
+ source_type = (const CacheType) GetImagePixelCacheType(source);
+
+ int
+ number_threads;
+
/*
- Number of threads bounded by the amount of work and any thread resource
- limit. The limit is 2 if the pixel cache type is not memory or
- memory-mapped.
+ Return number of threads dependent on cache type and work load.
*/
if (multithreaded == 0)
return(1);
- if (((GetImagePixelCacheType(source) != MemoryCache) &&
- (GetImagePixelCacheType(source) != MapCache)) ||
- ((GetImagePixelCacheType(destination) != MemoryCache) &&
- (GetImagePixelCacheType(destination) != MapCache)))
- return((int) MagickMax(MagickMin(GetMagickResourceLimit(ThreadResource),2),1));
- return((int) MagickMax(MagickMin((ssize_t) GetMagickResourceLimit(
- ThreadResource),(ssize_t) (chunk)/64),1));
+ if (((source_type != MemoryCache) && (source_type != MapCache)) ||
+ ((destination_type != MemoryCache) && (destination_type != MapCache)))
+ number_threads=(int) MagickMin(GetMagickResourceLimit(ThreadResource),2);
+ else
+ number_threads=(int) MagickMin((ssize_t)
+ GetMagickResourceLimit(ThreadResource),(ssize_t) (chunk)/64);
+ return(MagickMax(number_threads,1));
}
static inline MagickThreadType GetMagickThreadId(void)
@@ -142,7 +147,7 @@
#if defined(MAGICKCORE_OPENMP_SUPPORT)
omp_set_num_threads(threads);
#else
- (void) threads;
+ magick_unreferenced(threads);
#endif
}
@@ -151,7 +156,7 @@
#if defined(MAGICKCORE_OPENMP_SUPPORT)
omp_set_nested(value);
#else
- (void) value;
+ magick_unreferenced(value);
#endif
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/threshold.c
^
|
@@ -70,7 +70,6 @@
#include "MagickCore/montage.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/vision.c
^
|
@@ -68,7 +68,6 @@
#include "MagickCore/opencl-private.h"
#include "MagickCore/paint.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum.h"
#include "MagickCore/resource_.h"
@@ -1621,3 +1620,146 @@
*objects=object;
return(component_image);
}
+
+/*
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% %
+% %
+% I n t e g r a l I m a g e %
+% %
+% %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% IntegralImage() returns the sum of values (pixel values) in the image.
+%
+% The format of the IntegralImage method is:
+%
+% Image *IntegralImage(const Image *image,ExceptionInfo *exception)
+%
+% A description of each parameter follows:
+%
+% o image: the image.
+%
+% o exception: return any errors or warnings in this structure.
+%
+*/
+MagickExport Image *IntegralImage(const Image *image,ExceptionInfo *exception)
+{
+#define IntegralImageTag "Integral/Image"
+
+ CacheView
+ *image_view,
+ *integral_view;
+
+ Image
+ *integral_image;
+
+ MagickBooleanType
+ status;
+
+ MagickOffsetType
+ progress;
+
+ ssize_t
+ y;
+
+ /*
+ Initialize integral image.
+ */
+ assert(image != (const Image *) NULL);
+ assert(image->signature == MagickCoreSignature);
+ if (image->debug != MagickFalse)
+ (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
+ assert(exception != (ExceptionInfo *) NULL);
+ assert(exception->signature == MagickCoreSignature);
+ integral_image=CloneImage(image,0,0,MagickTrue,exception);
+ if (integral_image == (Image *) NULL)
+ return((Image *) NULL);
+ if (SetImageStorageClass(integral_image,DirectClass,exception) == MagickFalse)
+ {
+ integral_image=DestroyImage(integral_image);
+ return((Image *) NULL);
+ }
+ /*
+ Calculate the sum of values (pixel values) in the image.
+ */
+ status=MagickTrue;
+ progress=0;
+ image_view=AcquireVirtualCacheView(integral_image,exception);
+ integral_view=AcquireAuthenticCacheView(integral_image,exception);
+ for (y=0; y < (ssize_t) integral_image->rows; y++)
+ {
+ const Quantum
+ *magick_restrict p;
+
+ MagickBooleanType
+ sync;
+
+ Quantum
+ *magick_restrict q;
+
+ ssize_t
+ x;
+
+ if (status == MagickFalse)
+ continue;
+ p=GetCacheViewVirtualPixels(integral_view,0,y-1,integral_image->columns,1,
+ exception);
+ q=GetCacheViewAuthenticPixels(integral_view,0,y,integral_image->columns,1,
+ exception);
+ if ((p == (const Quantum *) NULL) || (p == (Quantum *) NULL))
+ {
+ status=MagickFalse;
+ continue;
+ }
+ for (x=0; x < (ssize_t) integral_image->columns; x++)
+ {
+ ssize_t
+ i;
+
+ for (i=0; i < (ssize_t) GetPixelChannels(integral_image); i++)
+ {
+ double
+ sum;
+
+ PixelTrait traits = GetPixelChannelTraits(integral_image,
+ (PixelChannel) i);
+ if (traits == UndefinedPixelTrait)
+ continue;
+ if ((traits & CopyPixelTrait) != 0)
+ continue;
+ sum=(double) q[i];
+ if (x > 0)
+ sum+=(q-GetPixelChannels(integral_image))[i];
+ if (y > 0)
+ sum+=p[i];
+ if ((x > 0) && (y > 0))
+ sum-=(p-GetPixelChannels(integral_image))[i];
+ q[i]=ClampToQuantum(sum);
+ }
+ p+=GetPixelChannels(integral_image);
+ q+=GetPixelChannels(integral_image);
+ }
+ sync=SyncCacheViewAuthenticPixels(integral_view,exception);
+ if (sync == MagickFalse)
+ status=MagickFalse;
+ if (image->progress_monitor != (MagickProgressMonitor) NULL)
+ {
+ MagickBooleanType
+ proceed;
+
+ progress++;
+ proceed=SetImageProgress(integral_image,IntegralImageTag,progress,
+ integral_image->rows);
+ if (proceed == MagickFalse)
+ status=MagickFalse;
+ }
+ }
+ integral_view=DestroyCacheView(integral_view);
+ image_view=DestroyCacheView(image_view);
+ if (status == MagickFalse)
+ integral_image=DestroyImage(integral_image);
+ return(integral_image);
+}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/vision.h
^
|
@@ -51,7 +51,8 @@
extern MagickExport Image
*ConnectedComponentsImage(const Image *,const size_t,CCObjectInfo **,
- ExceptionInfo *);
+ ExceptionInfo *),
+ *IntegralImage(const Image *,ExceptionInfo *);
#if defined(__cplusplus) || defined(c_plusplus)
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/visual-effects.c
^
|
@@ -612,7 +612,7 @@
*/
status=MagickTrue;
progress=0;
- image_view=AcquireVirtualCacheView(colorize_image,exception);
+ image_view=AcquireAuthenticCacheView(colorize_image,exception);
#if defined(MAGICKCORE_OPENMP_SUPPORT)
#pragma omp parallel for schedule(static) shared(progress,status) \
magick_number_threads(colorize_image,colorize_image,colorize_image->rows,1)
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickCore/widget.c
^
|
@@ -4231,9 +4231,6 @@
x,
y;
- ssize_t
- i;
-
static char
glob_pattern[MagickPathExtent] = "*",
format[MagickPathExtent] = "miff";
@@ -4244,6 +4241,14 @@
Status
status;
+ size_t
+ delay,
+ files,
+ state;
+
+ ssize_t
+ i;
+
unsigned int
anomaly,
height,
@@ -4251,11 +4256,6 @@
visible_files,
width;
- size_t
- delay,
- files,
- state;
-
XEvent
event;
@@ -4377,7 +4377,6 @@
visible_files=0;
anomaly=(LocaleCompare(action,"Composite") == 0) ||
(LocaleCompare(action,"Open") == 0) || (LocaleCompare(action,"Map") == 0);
- *reply='\0';
delay=SuspendTime << 2;
state=UpdateConfigurationState;
do
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickWand/convert.c
^
|
@@ -221,6 +221,9 @@
" -identify identify the format and characteristics of the image\n"
" -ift implements the inverse discrete Fourier transform (DFT)\n"
" -implode amount implode image pixels about the center\n"
+ " -integral calculate the sum of values (pixel values) in the image\n"
+ " -interpolative-resize geometry\n"
+ " resize image using interpolation\n"
" -kmeans geometry K means color reduction\n"
" -kuwahara geometry edge preserving noise reduction filter\n"
" -lat geometry local adaptive thresholding\n"
@@ -1861,6 +1864,8 @@
ThrowConvertInvalidArgumentException(option,argv[i]);
break;
}
+ if (LocaleCompare("integral",option+1) == 0)
+ break;
if (LocaleCompare("intensity",option+1) == 0)
{
ssize_t
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickWand/magick-image.c
^
|
@@ -1430,7 +1430,8 @@
%
% o height: the height of the tile divisions to use in vertical direction.
%
-% o number_bins: number of bins for histogram ("dynamic range").
+% o number_bins: number of bins for histogram ("dynamic range"). Although
+% parameter is currently a double, it is cast to size_t internally.
%
% o clip_limit: contrast limit for localised changes in contrast. A limit
% less than 1 results in standard non-contrast limited AHE.
@@ -1858,18 +1859,18 @@
% MagickColorThresholdImage() forces all pixels in the color range to white
% otherwise black.
%
-% The format of the MagickWhiteThresholdImage method is:
+% The format of the MagickColorThresholdImage method is:
%
-% MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand,
+% MagickBooleanType MagickColorThresholdImage(MagickWand *wand,
% const PixelWand *start_color,const PixelWand *stop_color)
%
% A description of each parameter follows:
%
% o wand: the magick wand.
%
-% o start-color: the start color pixel wand.
+% o start_color: the start color pixel wand.
%
-% o stop-color: the stop color pixel wand.
+% o stop_color: the stop color pixel wand.
%
*/
WandExport MagickBooleanType MagickColorThresholdImage(MagickWand *wand,
@@ -6366,17 +6367,17 @@
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Use MagickHoughLineImage() in conjunction with any binary edge extracted
-% image (we recommand Canny) to identify lines in the image. The algorithm
-% accumulates counts for every white pixel for every possible orientation (for
-% angles from 0 to 179 in 1 degree increments) and distance from the center of
-% the image to the corner (in 1 px increments) and stores the counts in an
-% accumulator matrix of angle vs distance. The size of the accumulator is
-% 180x(diagonal/2). Next it searches this space for peaks in counts and
-% converts the locations of the peaks to slope and intercept in the normal x,y
-% input image space. Use the slope/intercepts to find the endpoints clipped to
-% the bounds of the image. The lines are then drawn. The counts are a measure
-% of the length of the lines.
+% MagickHoughLineImage() can be used in conjunction with any binary edge
+% extracted image (we recommend Canny) to identify lines in the image. The
+% algorithm accumulates counts for every white pixel for every possible
+% orientation (for angles from 0 to 179 in 1 degree increments) and distance
+% from the center of the image to the corner (in 1 px increments) and stores
+% the counts in an accumulator matrix of angle vs distance. The size of the
+% accumulator is 180x(diagonal/2). Next it searches this space for peaks in
+% counts and converts the locations of the peaks to slope and intercept in the
+% normal x,y input image space. Use the slope/intercepts to find the endpoints
+% clipped to the bounds of the image. The lines are then drawn. The counts are
+% a measure of the length of the lines.
%
% The format of the MagickHoughLineImage method is:
%
@@ -6762,7 +6763,7 @@
% MagickKmeansImage() applies k-means color reduction to an image. This is a
% colorspace clustering or segmentation technique.
%
-% The format of the MagickKuwaharaImage method is:
+% The format of the MagickKmeansImage method is:
%
% MagickBooleanType MagickKmeansImage(MagickWand *wand,
% const size_t number_colors, const size_t max_iterations,
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickWand/magick-image.h
^
|
@@ -93,7 +93,7 @@
MagickAutoLevelImage(MagickWand *),
MagickAutoOrientImage(MagickWand *),
MagickAutoThresholdImage(MagickWand *,const AutoThresholdMethod),
- MagickBilateralImage(MagickWand *,const double,const double,const double,
+ MagickBilateralBlurImage(MagickWand *,const double,const double,const double,
const double),
MagickBlackThresholdImage(MagickWand *,const PixelWand *),
MagickBlueShiftImage(MagickWand *,const double),
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickWand/mogrify.c
^
|
@@ -1941,6 +1941,12 @@
interpolate_method,exception);
break;
}
+ if (LocaleCompare("integral",option+1) == 0)
+ {
+ (void) SyncImageSettings(mogrify_info,*image,exception);
+ mogrify_image=IntegralImage(*image,exception);
+ break;
+ }
if (LocaleCompare("interline-spacing",option+1) == 0)
{
if (*option == '+')
@@ -3638,6 +3644,7 @@
" -identify identify the format and characteristics of the image\n"
" -ift implements the inverse discrete Fourier transform (DFT)\n"
" -implode amount implode image pixels about the center\n"
+ " -integral calculate the sum of values (pixel values) in the image\n"
" -interpolative-resize geometry\n"
" resize image using interpolation\n"
" -kmeans geometry K means color reduction\n"
@@ -5305,6 +5312,8 @@
"UnrecognizedPixelIntensityMethod",argv[i]);
break;
}
+ if (LocaleCompare("integral",option+1) == 0)
+ break;
if (LocaleCompare("intent",option+1) == 0)
{
ssize_t
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickWand/operation.c
^
|
@@ -62,7 +62,6 @@
#include "MagickCore/composite-private.h"
#include "MagickCore/image-private.h"
#include "MagickCore/monitor-private.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/string-private.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/timer-private.h"
@@ -2580,6 +2579,11 @@
_exception);
break;
}
+ if (LocaleCompare("integral",option+1) == 0)
+ {
+ new_image=IntegralImage(_image,_exception);
+ break;
+ }
if (LocaleCompare("interpolative-resize",option+1) == 0)
{
/* FUTURE: New to IMv7
@@ -2588,7 +2592,7 @@
CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
(void) ParseRegionGeometry(_image,arg1,&geometry,_exception);
new_image=InterpolativeResizeImage(_image,geometry.width,
- geometry.height,_image->interpolate,_exception);
+ geometry.height,_image->interpolate,_exception);
break;
}
CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option);
@@ -2894,8 +2898,8 @@
CLIWandExceptArgBreak(OptionError,"InvalidArgument",option,arg1);
if ((flags & SigmaValue) == 0)
geometry_info.sigma=1.0;
- new_image=MotionBlurImage(_image,geometry_info.rho,geometry_info.sigma,
- geometry_info.xi,_exception);
+ new_image=MotionBlurImage(_image,geometry_info.rho,
+ geometry_info.sigma,geometry_info.xi,_exception);
break;
}
CLIWandExceptionBreak(OptionError,"UnrecognizedOption",option);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/MagickWand/studio.h
^
|
@@ -1,12 +1,12 @@
/*
Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
-
+
You may not use this file except in compliance with the License. You may
obtain a copy of the License at
-
+
https://imagemagick.org/script/license.php
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,7 +26,7 @@
# define MAGICKWAND_WINDOWS_SUPPORT
#else
# define MAGICKWAND_POSIX_SUPPORT
-#endif
+#endif
#define MAGICKWAND_IMPLEMENTATION 1
@@ -129,13 +129,12 @@
# include <arm/limits.h>
#endif
-#if defined(MAGICKCORE__OPENCL)
#if defined(MAGICKCORE_HAVE_CL_CL_H)
# include <CL/cl.h>
+# define MAGICKCORE_OPENCL_SUPPORT 1
#endif
#if defined(MAGICKCORE_HAVE_OPENCL_CL_H)
# include <OpenCL/cl.h>
-#endif
# define MAGICKCORE_OPENCL_SUPPORT 1
#endif
@@ -270,9 +269,6 @@
# define SetNotifyHandlers \
SetErrorHandler(NTErrorHandler); \
SetWarningHandler(NTWarningHandler)
-# if !defined(MAGICKCORE_HAVE_TIFFCONF_H)
-# define HAVE_TIFFCONF_H
-# endif
# endif
#endif
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/PerlMagick/Magick.xs
^
|
@@ -585,6 +585,7 @@
{"intensity-sigma", RealReference}, {"spatial-sigma", RealReference},
{"channel", MagickChannelOptions} } },
{ "SortPixels", { { (const char *) NULL, NullReference } } },
+ { "Integral", { { (const char *) NULL, NullReference } } },
};
static SplayTreeInfo
@@ -7695,6 +7696,8 @@
BilateralBlurImage = 306
SortPixels = 307
SortPixelsImage = 308
+ Integral = 309
+ IntegralImage = 310
MogrifyRegion = 666
PPCODE:
{
@@ -11633,6 +11636,11 @@
(void) SortImagePixels(image,exception);
break;
}
+ case 155: /* Integral */
+ {
+ image=IntegralImage(image,exception);
+ break;
+ }
}
if (next != (Image *) NULL)
(void) CatchImageException(next);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/PerlMagick/quantum/quantum.xs.in
^
|
@@ -585,6 +585,7 @@
{"intensity-sigma", RealReference}, {"spatial-sigma", RealReference},
{"channel", MagickChannelOptions} } },
{ "SortPixels", { { (const char *) NULL, NullReference } } },
+ { "Integral", { { (const char *) NULL, NullReference } } },
};
static SplayTreeInfo
@@ -7694,6 +7695,8 @@
BilateralBlurImage = 306
SortPixels = 307
SortPixelsImage = 308
+ Integral = 309
+ IntegralImage = 310
MogrifyRegion = 666
PPCODE:
{
@@ -11639,6 +11642,11 @@
(void) SortImagePixels(image,exception);
break;
}
+ case 155: /* Integral */
+ {
+ image=IntegralImage(image,exception);
+ break;
+ }
}
if (next != (Image *) NULL)
(void) CatchImageException(next);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/bmp.c
^
|
@@ -623,8 +623,10 @@
bmp_info.offset_bits=ReadBlobLSBLong(image);
bmp_info.size=ReadBlobLSBLong(image);
if (image->debug != MagickFalse)
- (void) LogMagickEvent(CoderEvent,GetMagickModule()," BMP size: %u",
- bmp_info.size);
+ (void) LogMagickEvent(CoderEvent,GetMagickModule(),
+ " BMP header size: %u",bmp_info.size);
+ if (bmp_info.size > 124)
+ ThrowReaderException(CorruptImageError,"ImproperImageHeader");
profile_data=0;
profile_size=0;
if (bmp_info.size == 12)
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/cin.c
^
|
@@ -410,7 +410,6 @@
*q;
size_t
- extent,
length;
ssize_t
@@ -753,15 +752,13 @@
SetQuantumQuantum(quantum_info,32);
SetQuantumPack(quantum_info,MagickFalse);
quantum_type=RGBQuantum;
- extent=GetQuantumExtent(image,quantum_info,quantum_type);
length=GetBytesPerRow(image->columns,3,image->depth,MagickTrue);
if (cin.image.number_channels == 1)
{
quantum_type=GrayQuantum;
length=GetBytesPerRow(image->columns,1,image->depth,MagickTrue);
}
- if (length > extent)
- status=SetQuantumPad(image,quantum_info,length-extent);
+ status=SetQuantumPad(image,quantum_info,0);
pixels=GetQuantumPixels(quantum_info);
for (y=0; y < (ssize_t) image->rows; y++)
{
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/coders-private.h
^
|
@@ -66,4 +66,19 @@
return(IsGrayImageType(type));
}
+static inline MagickBooleanType SetImageCoderGray(Image *image,
+ ExceptionInfo *exception)
+{
+ ImageType
+ type;
+
+ if (IsImageGray(image) != MagickFalse)
+ return(MagickTrue);
+ type=IdentifyImageCoderGrayType(image,exception);
+ if (IsGrayImageType(type) == MagickFalse)
+ return(MagickFalse);
+ image->type=type;
+ return(SetImageColorspace(image,GRAYColorspace,exception));
+}
+
#endif
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/dcm.c
^
|
@@ -3143,17 +3143,17 @@
sequence_depth=0;
stack=NewLinkedList(256);
if (stream_info == (DCMStreamInfo *) NULL)
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
(void) memset(stream_info,0,sizeof(*stream_info));
count=ReadBlob(image,128,(unsigned char *) magick);
if (count != 128)
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
count=ReadBlob(image,4,(unsigned char *) magick);
if ((count != 4) || (LocaleNCompare(magick,"DICM",4) != 0))
{
offset=SeekBlob(image,0L,SEEK_SET);
if (offset < 0)
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
}
/*
Read DCM Medical image.
@@ -3203,7 +3203,7 @@
(void) CopyMagickString(implicit_vr,dicom_info[i].vr,MagickPathExtent);
count=ReadBlob(image,2,(unsigned char *) explicit_vr);
if (count != 2)
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
/*
Check for "explicitness", but meta-file headers always explicit.
*/
@@ -3219,7 +3219,7 @@
{
offset=SeekBlob(image,(MagickOffsetType) -2,SEEK_CUR);
if (offset < 0)
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
quantum=4;
}
else
@@ -3254,7 +3254,7 @@
The sequence's entry and exit points don't line up (tried to
exit one more sequence than we entered).
*/
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
}
if (info.scale != (Quantum *) NULL)
info.scale=(Quantum *) RelinquishMagickMemory(info.scale);
@@ -3269,14 +3269,14 @@
*/
info_copy=(DCMInfo *) AcquireMagickMemory(sizeof(info));
if (info_copy == (DCMInfo *) NULL)
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
(void) memcpy(info_copy,&info,sizeof(info));
info_copy->scale=(Quantum *) AcquireQuantumMemory(
info_copy->scale_size,sizeof(*info_copy->scale));
if (info_copy->scale == (Quantum *) NULL)
{
info_copy=(DCMInfo *) RelinquishMagickMemory(info_copy);
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
}
(void) memcpy(info_copy->scale,info.scale,info_copy->scale_size*
sizeof(*info_copy->scale));
@@ -3382,13 +3382,13 @@
{
if (length > (size_t) GetBlobSize(image))
ThrowDCMException(CorruptImageError,
- "InsufficientImageDataInFile");
+ "InsufficientImageDataInFile")
if (~length >= 1)
data=(unsigned char *) AcquireQuantumMemory(length+1,quantum*
sizeof(*data));
if (data == (unsigned char *) NULL)
ThrowDCMException(ResourceLimitError,
- "MemoryAllocationFailed");
+ "MemoryAllocationFailed")
count=ReadBlob(image,(size_t) quantum*length,data);
if (count != (ssize_t) (quantum*length))
{
@@ -3397,7 +3397,7 @@
"length=%d group=%d\n",(int) count,(int) quantum,(int)
length,(int) group);
ThrowDCMException(CorruptImageError,
- "InsufficientImageDataInFile");
+ "InsufficientImageDataInFile")
}
data[length*quantum]='\0';
}
@@ -3453,7 +3453,7 @@
&subtype);
if (count < 1)
ThrowDCMException(CorruptImageError,
- "ImproperImageHeader");
+ "ImproperImageHeader")
}
switch (type)
{
@@ -3503,7 +3503,7 @@
*/
info.samples_per_pixel=(size_t) datum;
if ((info.samples_per_pixel == 0) || (info.samples_per_pixel > 4))
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
break;
}
case 0x0004:
@@ -3566,7 +3566,7 @@
info.bytes_per_pixel=2;
info.depth=info.bits_allocated;
if ((info.depth == 0) || (info.depth > 32))
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
info.max_value=(1UL << info.bits_allocated)-1;
image->depth=info.depth;
break;
@@ -3582,7 +3582,7 @@
info.bytes_per_pixel=2;
info.depth=info.significant_bits;
if ((info.depth == 0) || (info.depth > 16))
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
info.max_value=(1UL << info.significant_bits)-1;
info.mask=(size_t) GetQuantumRange(info.significant_bits);
image->depth=info.depth;
@@ -3655,7 +3655,7 @@
map.gray=(int *) AcquireQuantumMemory(MagickMax(colors,65536),
sizeof(*map.gray));
if (map.gray == (int *) NULL)
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
(void) memset(map.gray,0,MagickMax(colors,65536)*
sizeof(*map.gray));
for (i=0; i < (ssize_t) colors; i++)
@@ -3682,7 +3682,7 @@
map.red=(int *) AcquireQuantumMemory(MagickMax(colors,65536),
sizeof(*map.red));
if (map.red == (int *) NULL)
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
(void) memset(map.red,0,MagickMax(colors,65536)*
sizeof(*map.red));
p=data;
@@ -3714,7 +3714,7 @@
map.green=(int *) AcquireQuantumMemory(MagickMax(colors,65536),
sizeof(*map.green));
if (map.green == (int *) NULL)
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
(void) memset(map.green,0,MagickMax(colors,65536)*
sizeof(*map.green));
p=data;
@@ -3746,7 +3746,7 @@
map.blue=(int *) AcquireQuantumMemory(MagickMax(colors,65536),
sizeof(*map.blue));
if (map.blue == (int *) NULL)
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
(void) memset(map.blue,0,MagickMax(colors,65536)*
sizeof(*map.blue));
p=data;
@@ -3862,7 +3862,7 @@
break;
}
if ((info.width == 0) || (info.height == 0))
- ThrowDCMException(CorruptImageError,"ImproperImageHeader");
+ ThrowDCMException(CorruptImageError,"ImproperImageHeader")
image->columns=info.width;
image->rows=info.height;
if (info.signed_data == 0xffff)
@@ -3889,7 +3889,7 @@
ReadBlobLSBShort(image));
length=(size_t) ReadBlobLSBLong(image);
if (length > (size_t) GetBlobSize(image))
- ThrowDCMException(CorruptImageError,"InsufficientImageDataInFile");
+ ThrowDCMException(CorruptImageError,"InsufficientImageDataInFile")
stream_info->offset_count=length >> 2;
if (stream_info->offset_count != 0)
{
@@ -3899,7 +3899,7 @@
stream_info->offsets=(ssize_t *) AcquireQuantumMemory(
stream_info->offset_count,sizeof(*stream_info->offsets));
if (stream_info->offsets == (ssize_t *) NULL)
- ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed");
+ ThrowDCMException(ResourceLimitError,"MemoryAllocationFailed")
for (i=0; i < (ssize_t) stream_info->offset_count; i++)
stream_info->offsets[i]=(ssize_t) ReadBlobLSBSignedLong(image);
offset=TellBlob(image);
@@ -3936,7 +3936,7 @@
ReadBlobLSBShort(image);
length=(size_t) ReadBlobLSBLong(image);
if (length > (size_t) GetBlobSize(image))
- ThrowDCMException(CorruptImageError,"InsufficientImageDataInFile");
+ ThrowDCMException(CorruptImageError,"InsufficientImageDataInFile")
if (EOFBlob(image) != MagickFalse)
{
status=MagickFalse;
@@ -3996,10 +3996,11 @@
(void) RelinquishUniqueFileResource(filename);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/dds.c
^
|
@@ -2069,6 +2069,9 @@
{
for (x = 0; x < (ssize_t) image->columns; x += 4)
{
+ size_t
+ area;
+
/* Get 4x4 patch of pixels to write on */
q=QueueAuthenticPixels(image,x,y,MagickMin(4,image->columns-x),
MagickMin(4,image->rows-y),exception);
@@ -2144,7 +2147,9 @@
}
/* Write the pixels */
- for (i=0; i < 16; i++)
+ area=MagickMin(MagickMin(4,image->columns-x)*MagickMin(4,image->rows-y),
+ 16);
+ for (i=0; i < (ssize_t) area; i++)
{
unsigned char
c2;
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/ept.c
^
|
@@ -249,7 +249,12 @@
postscript_data=ReadBlobStream(image,ept_info.postscript_length,
ept_info.postscript,&count);
if (count != (ssize_t) (ept_info.postscript_length))
- ThrowReaderException(CorruptImageError,"InsufficientImageDataInFile");
+ {
+ ept_info.tiff=(unsigned char *) RelinquishMagickMemory(ept_info.tiff);
+ ept_info.postscript=(unsigned char *) RelinquishMagickMemory(
+ ept_info.postscript);
+ ThrowReaderException(CorruptImageError,"InsufficientImageDataInFile");
+ }
(void) CloseBlob(image);
image=DestroyImage(image);
read_info=CloneImageInfo(image_info);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/exr.c
^
|
@@ -247,7 +247,10 @@
}
status=SetImageExtent(image,image->columns,image->rows,exception);
if (status == MagickFalse)
- return(DestroyImageList(image));
+ {
+ (void) ImfCloseInputFile(file);
+ return(DestroyImageList(image));
+ }
ImfHeaderDataWindow(hdr_info,&data_window.min_x,&data_window.min_y,
&data_window.max_x,&data_window.max_y);
columns=((size_t) data_window.max_x-data_window.min_x+1UL);
@@ -289,9 +292,17 @@
continue;
}
(void) memset(scanline,0,columns*sizeof(*scanline));
- ImfInputSetFrameBuffer(file,scanline-data_window.min_x-columns*yy,1,
- columns);
- ImfInputReadPixels(file,yy,yy);
+ if (ImfInputSetFrameBuffer(file,scanline-data_window.min_x-columns*yy,1,
+ columns) == 0)
+ {
+ status=MagickFalse;
+ break;
+ }
+ if (ImfInputReadPixels(file,yy,yy) == 0)
+ {
+ status=MagickFalse;
+ break;
+ }
for (x=0; x < (ssize_t) image->columns; x++)
{
int
@@ -318,6 +329,8 @@
}
scanline=(ImfRgba *) RelinquishMagickMemory(scanline);
(void) ImfCloseInputFile(file);
+ if (status == MagickFalse)
+ ThrowReaderException(CorruptImageError,"UnableToReadImageData");
(void) CloseBlob(image);
return(GetFirstImageInList(image));
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/fits.c
^
|
@@ -308,6 +308,7 @@
fits_info.bits_per_pixel=8;
fits_info.columns=1;
fits_info.rows=1;
+ fits_info.number_axes=1;
fits_info.number_planes=1;
fits_info.min_data=0.0;
fits_info.max_data=0.0;
@@ -399,6 +400,13 @@
comment=DestroyString(comment);
ThrowReaderException(CorruptImageError,"ImproperImageHeader");
}
+ if ((fits_info.columns <= 0) || (fits_info.rows <= 0) ||
+ (fits_info.number_axes <= 0) || (fits_info.number_planes <= 0))
+ {
+ if (comment != (char *) NULL)
+ comment=DestroyString(comment);
+ ThrowReaderException(CorruptImageError,"ImproperImageHeader");
+ }
number_pixels=(MagickSizeType) fits_info.columns*fits_info.rows;
if ((fits_info.simple != MagickFalse) && (fits_info.number_axes >= 1) &&
(fits_info.number_axes <= 4) && (number_pixels != 0))
@@ -625,7 +633,7 @@
return;
length=MagickMin(strlen(data),80);
if (length > (size_t) (FITSBlocksize-offset))
- length=FITSBlocksize-offset;
+ length=(size_t) (FITSBlocksize-offset);
(void) strncpy(buffer+offset,data,length);
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/jp2.c
^
|
@@ -347,6 +347,14 @@
ThrowReaderException(DelegateError,"UnableToDecodeImageFile");
}
jp2_status=OPJ_TRUE;
+ if ((AcquireMagickResource(WidthResource,(size_t) jp2_image->comps[0].w) == MagickFalse) ||
+ (AcquireMagickResource(HeightResource,(size_t) jp2_image->comps[0].h) == MagickFalse))
+ {
+ opj_stream_destroy(jp2_stream);
+ opj_destroy_codec(jp2_codec);
+ opj_image_destroy(jp2_image);
+ ThrowReaderException(DelegateError,"UnableToDecodeImageFile");
+ }
if (image->ping == MagickFalse)
{
if ((image->columns != 0) && (image->rows != 0))
@@ -368,14 +376,6 @@
ThrowReaderException(DelegateError,"UnableToDecodeImageFile");
}
}
- if ((AcquireMagickResource(WidthResource,(size_t) jp2_image->comps[0].w) == MagickFalse) ||
- (AcquireMagickResource(HeightResource,(size_t) jp2_image->comps[0].h) == MagickFalse))
- {
- opj_stream_destroy(jp2_stream);
- opj_destroy_codec(jp2_codec);
- opj_image_destroy(jp2_image);
- ThrowReaderException(DelegateError,"UnableToDecodeImageFile");
- }
if ((image_info->number_scenes != 0) && (image_info->scene != 0))
jp2_status=opj_get_decoded_tile(jp2_codec,jp2_stream,jp2_image,
(unsigned int) image_info->scene-1);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/jpeg.c
^
|
@@ -2005,7 +2005,7 @@
}
}
-static void WriteProfile(j_compress_ptr jpeg_info,Image *image,
+static void WriteProfiles(j_compress_ptr jpeg_info,Image *image,
ExceptionInfo *exception)
{
const char
@@ -2772,7 +2772,7 @@
(unsigned int) MagickMin((size_t) strlen(value+i),65533L));
}
if (image->profiles != (void *) NULL)
- WriteProfile(jpeg_info,image,exception);
+ WriteProfiles(jpeg_info,image,exception);
/*
Convert MIFF to JPEG raster pixels.
*/
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/json.c
^
|
@@ -61,7 +61,6 @@
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/prepress.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum-private.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/jxl.c
^
|
@@ -425,7 +425,7 @@
JxlThreadParallelRunnerDestroy(runner);
JxlDecoderDestroy(decoder);
if (decoder_status == JXL_DEC_ERROR)
- ThrowReaderException(CorruptImageError,"UnableToReadImageData");
+ ThrowReaderException(CorruptImageError,"UnableToReadImageData");
(void) CloseBlob(image);
return(image);
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/mpc.c
^
|
@@ -63,6 +63,7 @@
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
+#include "MagickCore/pixel-private.h"
#include "MagickCore/profile.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum-private.h"
@@ -578,15 +579,6 @@
if (LocaleCompare(keyword,"number-meta-channels") == 0)
{
image->number_meta_channels=StringToUnsignedLong(options);
- if (image->number_meta_channels > MaxPixelChannels)
- {
- if (profiles != (LinkedListInfo *) NULL)
- profiles=DestroyLinkedList(profiles,
- RelinquishMagickMemory);
- options=DestroyString(options);
- ThrowReaderException(CorruptImageError,
- "ImproperImageHeader");
- }
break;
}
break;
@@ -795,7 +787,7 @@
(image->compression == UndefinedCompression) ||
(image->columns == 0) || (image->rows == 0) ||
(image->number_channels > MaxPixelChannels) ||
- (image->number_meta_channels > (MaxPixelChannels-8)) ||
+ (image->number_meta_channels > (MaxPixelChannels-StartMetaPixelChannel)) ||
((image->number_channels+image->number_meta_channels) >= MaxPixelChannels) ||
(image->depth == 0) || (image->depth > 64))
{
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/msl.c
^
|
@@ -7393,19 +7393,21 @@
{
if (LocaleCompare((const char *) tag, "group") == 0 )
{
- if (msl_info->group_info[msl_info->number_groups-1].numImages > 0 )
+ if ((msl_info->number_groups > 0) &&
+ (msl_info->group_info[msl_info->number_groups-1].numImages > 0))
{
ssize_t i = (ssize_t)
(msl_info->group_info[msl_info->number_groups-1].numImages);
- while ( i-- )
+
+ while ((i--) && (msl_info->n > 0))
{
if (msl_info->image[msl_info->n] != (Image *) NULL)
msl_info->image[msl_info->n]=DestroyImage(
msl_info->image[msl_info->n]);
msl_info->attributes[msl_info->n]=DestroyImage(
- msl_info->attributes[msl_info->n]);
+ msl_info->attributes[msl_info->n]);
msl_info->image_info[msl_info->n]=DestroyImageInfo(
- msl_info->image_info[msl_info->n]);
+ msl_info->image_info[msl_info->n]);
msl_info->n--;
}
}
@@ -7418,7 +7420,7 @@
{
if (LocaleCompare((const char *) tag, "image") == 0)
MSLPopImage(msl_info);
- break;
+ break;
}
case 'L':
case 'l':
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/pdf.c
^
|
@@ -203,7 +203,8 @@
version[MagickPathExtent];
int
- c;
+ c,
+ percent_count;
MagickByteBuffer
buffer;
@@ -231,13 +232,12 @@
pdf_info->trimbox=IsStringTrue(GetImageOption(image_info,"pdf:use-trimbox"));
*version='\0';
spotcolor=0;
+ percent_count=0;
(void) memset(&buffer,0,sizeof(buffer));
buffer.image=image;
for (c=ReadMagickByteBuffer(&buffer); c != EOF; c=ReadMagickByteBuffer(&buffer))
{
- switch(c)
- {
- case '%':
+ if (c == '%')
{
if (*version == '\0')
{
@@ -252,18 +252,27 @@
if (c == EOF)
break;
}
- continue;
+ if (++percent_count == 2)
+ percent_count=0;
+ else
+ continue;
}
- case '<':
+ else
{
- ReadGhostScriptXMPProfile(&buffer,&pdf_info->profile);
- continue;
+ percent_count=0;
+ switch(c)
+ {
+ case '<':
+ {
+ ReadGhostScriptXMPProfile(&buffer,&pdf_info->profile);
+ continue;
+ }
+ case '/':
+ break;
+ default:
+ continue;
+ }
}
- case '/':
- break;
- default:
- continue;
- }
if (c == EOF)
break;
if (CompareMagickByteBuffer(&buffer,PDFRotate,strlen(PDFRotate)) != MagickFalse)
@@ -1456,9 +1465,7 @@
version=1.6;
for (next=image; next != (Image *) NULL; next=GetNextImageInList(next))
{
- if ((image_info->type != TrueColorType) &&
- (IdentifyImageCoderGray(next,exception) != MagickFalse))
- SetImageColorspace(next,GRAYColorspace,exception);
+ (void) SetImageCoderGray(next,exception);
icc_profile=GetCompatibleColorProfile(next);
if (icc_profile != (StringInfo *) NULL)
{
@@ -2517,7 +2524,7 @@
number_pixels=(MagickSizeType) tile_image->columns*tile_image->rows;
if ((compression == FaxCompression) ||
(compression == Group4Compression) ||
- (IsImageGray(image) != MagickFalse))
+ (SetImageCoderGray(tile_image,exception) != MagickFalse))
{
switch (compression)
{
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/png.c
^
|
@@ -1416,6 +1416,8 @@
char
msg[MagickPathExtent];
+ if (check < length)
+ (void) memset(data+check,0,length-check);
(void) FormatLocaleString(msg,MagickPathExtent,
"Expected %.20g bytes; found %.20g bytes",(double) length,
(double) check);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/pnm.c
^
|
@@ -266,6 +266,9 @@
char
format;
+ ColorspaceType
+ colorspace;
+
CommentInfo
comment_info;
@@ -336,6 +339,7 @@
if ((count != 1) || (format != 'P'))
ThrowPNMException(CorruptImageError,"ImproperImageHeader");
max_value=1;
+ colorspace=UndefinedColorspace;
quantum_type=UndefinedQuantum;
quantum_scale=1.0;
format=(char) ReadBlobByte(image);
@@ -430,23 +434,23 @@
{
if (LocaleCompare(value,"BLACKANDWHITE") == 0)
{
- (void) SetImageColorspace(image,GRAYColorspace,exception);
+ colorspace=GRAYColorspace;
quantum_type=GrayQuantum;
}
if (LocaleCompare(value,"BLACKANDWHITE_ALPHA") == 0)
{
- (void) SetImageColorspace(image,GRAYColorspace,exception);
+ colorspace=GRAYColorspace;
image->alpha_trait=BlendPixelTrait;
quantum_type=GrayAlphaQuantum;
}
if (LocaleCompare(value,"GRAYSCALE") == 0)
{
+ colorspace=GRAYColorspace;
quantum_type=GrayQuantum;
- (void) SetImageColorspace(image,GRAYColorspace,exception);
}
if (LocaleCompare(value,"GRAYSCALE_ALPHA") == 0)
{
- (void) SetImageColorspace(image,GRAYColorspace,exception);
+ colorspace=GRAYColorspace;
image->alpha_trait=BlendPixelTrait;
quantum_type=GrayAlphaQuantum;
}
@@ -457,12 +461,12 @@
}
if (LocaleCompare(value,"CMYK") == 0)
{
- (void) SetImageColorspace(image,CMYKColorspace,exception);
+ colorspace=CMYKColorspace;
quantum_type=CMYKQuantum;
}
if (LocaleCompare(value,"CMYK_ALPHA") == 0)
{
- (void) SetImageColorspace(image,CMYKColorspace,exception);
+ colorspace=CMYKColorspace;
image->alpha_trait=BlendPixelTrait;
quantum_type=CMYKAQuantum;
}
@@ -490,6 +494,8 @@
comment_info.comment=DestroyString(comment_info.comment); \
return(DestroyImageList(image));
}
+ if (colorspace != UndefinedColorspace)
+ (void) SetImageColorspace(image,colorspace,exception);
(void) ResetImagePixels(image,exception);
/*
Convert PNM pixels to runextent-encoded MIFF packets.
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/psd.c
^
|
@@ -69,6 +69,7 @@
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
+#include "MagickCore/pixel-private.h"
#include "MagickCore/policy.h"
#include "MagickCore/profile.h"
#include "MagickCore/property.h"
@@ -118,8 +119,11 @@
*/
typedef struct _ChannelInfo
{
- short
- type;
+ MagickBooleanType
+ supported;
+
+ PixelChannel
+ channel;
size_t
size;
@@ -422,11 +426,11 @@
for (x=0; x < (ssize_t) image->columns; x++)
{
if (revert == MagickFalse)
- SetPixelAlpha(image,(Quantum) (QuantumScale*(GetPixelAlpha(image,q))*
- opacity),q);
+ SetPixelAlpha(image,ClampToQuantum(QuantumScale*
+ GetPixelAlpha(image,q)*opacity),q);
else if (opacity > 0)
- SetPixelAlpha(image,(Quantum) (QuantumRange*(GetPixelAlpha(image,q)/
- (MagickRealType) opacity)),q);
+ SetPixelAlpha(image,ClampToQuantum((double) QuantumRange*
+ GetPixelAlpha(image,q)/(MagickRealType) opacity),q);
q+=GetPixelChannels(image);
}
if (SyncAuthenticPixels(image,exception) == MagickFalse)
@@ -923,8 +927,8 @@
return(count);
}
-static inline void SetPSDPixel(Image *image,const size_t channels,
- const ssize_t type,const size_t packet_size,const Quantum pixel,Quantum *q,
+static inline void SetPSDPixel(Image *image,const PixelChannel channel,
+ const size_t packet_size,const Quantum pixel,Quantum *q,
ExceptionInfo *exception)
{
if (image->storage_class == PseudoClass)
@@ -932,74 +936,34 @@
PixelInfo
*color;
- Quantum
+ ssize_t
index;
- index=pixel;
- if (packet_size == 1)
- index=(Quantum) ScaleQuantumToChar(index);
- index=(Quantum) ConstrainColormapIndex(image,(ssize_t) index,
- exception);
-
- if (type == 0)
- SetPixelIndex(image,index,q);
- if ((type == 0) && (channels > 1))
- return;
- color=image->colormap+(ssize_t) GetPixelIndex(image,q);
- if (type != 0)
+ if (channel == GrayPixelChannel)
+ {
+ index=(ssize_t) pixel;
+ if (packet_size == 1)
+ index=(ssize_t) ScaleQuantumToChar((Quantum) index);
+ index=ConstrainColormapIndex(image,index,exception);
+ SetPixelIndex(image,(Quantum) index,q);
+ }
+ else
+ {
+ index=(ssize_t) GetPixelIndex(image,q);
+ index=ConstrainColormapIndex(image,index,exception);
+ }
+ color=image->colormap+index;
+ if (channel == AlphaPixelChannel)
color->alpha=(MagickRealType) pixel;
SetPixelViaPixelInfo(image,color,q);
- return;
- }
- switch (type)
- {
- case -1:
- {
- SetPixelAlpha(image,pixel,q);
- break;
- }
- case -2:
- case 0:
- {
- SetPixelRed(image,pixel,q);
- break;
- }
- case -3:
- case 1:
- {
- SetPixelGreen(image,pixel,q);
- break;
- }
- case -4:
- case 2:
- {
- SetPixelBlue(image,pixel,q);
- break;
}
- case 3:
- {
- if (image->colorspace == CMYKColorspace)
- SetPixelBlack(image,pixel,q);
- else
- if (image->alpha_trait != UndefinedPixelTrait)
- SetPixelAlpha(image,pixel,q);
- break;
- }
- case 4:
- {
- if ((IssRGBCompatibleColorspace(image->colorspace) != MagickFalse) &&
- (channels > 3))
- break;
- if (image->alpha_trait != UndefinedPixelTrait)
- SetPixelAlpha(image,pixel,q);
- break;
- }
- }
+ else
+ SetPixelChannel(image,channel,pixel,q);
}
-static MagickBooleanType ReadPSDChannelPixels(Image *image,
- const size_t channels,const ssize_t row,const ssize_t type,
- const unsigned char *pixels,ExceptionInfo *exception)
+static MagickBooleanType ReadPSDChannelPixels(Image *image,const ssize_t row,
+ const PixelChannel channel,const unsigned char *pixels,
+ ExceptionInfo *exception)
{
Quantum
pixel;
@@ -1040,11 +1004,11 @@
nibble;
p=PushFloatPixel(MSBEndian,p,&nibble);
- pixel=ClampToQuantum((MagickRealType) (QuantumRange*nibble));
+ pixel=ClampToQuantum(((MagickRealType) QuantumRange)*nibble);
}
if (image->depth > 1)
{
- SetPSDPixel(image,channels,type,packet_size,pixel,q,exception);
+ SetPSDPixel(image,channel,packet_size,pixel,q,exception);
q+=GetPixelChannels(image);
}
else
@@ -1058,7 +1022,7 @@
number_bits=8;
for (bit = 0; bit < (ssize_t) number_bits; bit++)
{
- SetPSDPixel(image,channels,type,packet_size,(((unsigned char) pixel)
+ SetPSDPixel(image,channel,packet_size,(((unsigned char) pixel)
& (0x01 << (7-bit))) != 0 ? 0 : QuantumRange,q,exception);
q+=GetPixelChannels(image);
x++;
@@ -1071,8 +1035,8 @@
return(SyncAuthenticPixels(image,exception));
}
-static MagickBooleanType ReadPSDChannelRaw(Image *image,const size_t channels,
- const ssize_t type,ExceptionInfo *exception)
+static MagickBooleanType ReadPSDChannelRaw(Image *image,const PixelChannel channel,
+ ExceptionInfo *exception)
{
MagickBooleanType
status;
@@ -1107,7 +1071,7 @@
if (count != (ssize_t) row_size)
break;
- status=ReadPSDChannelPixels(image,channels,y,type,pixels,exception);
+ status=ReadPSDChannelPixels(image,y,channel,pixels,exception);
if (status == MagickFalse)
break;
}
@@ -1139,8 +1103,9 @@
return sizes;
}
-static MagickBooleanType ReadPSDChannelRLE(Image *image,const PSDInfo *psd_info,
- const ssize_t type,MagickOffsetType *sizes,ExceptionInfo *exception)
+static MagickBooleanType ReadPSDChannelRLE(Image *image,
+ const PixelChannel channel,MagickOffsetType *sizes,
+ ExceptionInfo *exception)
{
MagickBooleanType
status;
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/sixel.c
^
|
@@ -62,7 +62,6 @@
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/resize.h"
@@ -190,9 +189,11 @@
else
magic2=(int) (lum+sat-(((ssize_t) lum*sat)+(HLSMAX/2))/HLSMAX);
magic1=2*lum-magic2;
- r=(hue_to_rgb(magic1,magic2,hue+(HLSMAX/3))*RGBMAX+(HLSMAX/2))/HLSMAX;
- g=(hue_to_rgb(magic1,magic2,hue)*RGBMAX+(HLSMAX/2))/HLSMAX;
- b=(hue_to_rgb(magic1,magic2,hue-(HLSMAX/3))*RGBMAX+(HLSMAX/2))/HLSMAX;
+ r=(hue_to_rgb(magic1,magic2,hue+(ssize_t) (HLSMAX/3))*RGBMAX+(HLSMAX/2))/
+ HLSMAX;
+ g=(hue_to_rgb(magic1,magic2,hue)*RGBMAX+(ssize_t) (HLSMAX/2))/HLSMAX;
+ b=(hue_to_rgb(magic1,magic2,hue-(ssize_t) (HLSMAX/3))*RGBMAX+(HLSMAX/2))/
+ HLSMAX;
}
return(SIXEL_RGB(r,g,b));
}
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/svg.c
^
|
@@ -4629,7 +4629,7 @@
*name='\0';
(void) GetNextToken(q,&q,extent,token);
if (*q == '"')
- (void) GetNextToken(q,&q,extent,name);
+ (void) GetNextToken(q,&q,MagickPathExtent,name);
if (LocaleCompare("clip-path",token) == 0)
{
(void) GetNextToken(q,&q,extent,token);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/tiff.c
^
|
@@ -71,7 +71,6 @@
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum.h"
#include "MagickCore/quantum-private.h"
@@ -769,7 +768,7 @@
return(status);
}
-static MagickBooleanType TIFFSetImageProperties(TIFF *tiff,Image *image,
+static void TIFFSetImageProperties(TIFF *tiff,Image *image,
const char *tag,ExceptionInfo *exception)
{
char
@@ -794,7 +793,7 @@
(void) RelinquishUniqueFileResource(filename);
(void) ThrowMagickException(exception,GetMagickModule(),WandError,
"UnableToCreateTemporaryFile","`%s'",filename);
- return(MagickFalse);
+ return;
}
TIFFPrintDirectory(tiff,file,0);
(void) fseek(file,0,SEEK_SET);
@@ -817,15 +816,14 @@
}
(void) fclose(file);
(void) RelinquishUniqueFileResource(filename);
- return(MagickTrue);
}
-static MagickBooleanType TIFFGetEXIFProperties(TIFF *tiff,Image *image,
- ExceptionInfo *exception)
+static void TIFFGetEXIFProperties(TIFF *tiff,Image *image,
+ const ImageInfo* image_info,ExceptionInfo *exception)
{
#if defined(MAGICKCORE_HAVE_TIFFREADEXIFDIRECTORY)
- MagickBooleanType
- status;
+ const char
+ *option;
tdir_t
directory;
@@ -840,31 +838,30 @@
/*
Read EXIF properties.
*/
+ option=GetImageOption(image_info,"tiff:exif-properties");
+ if (IsStringFalse(option) != MagickFalse)
+ return;
offset=0;
if (TIFFGetField(tiff,TIFFTAG_EXIFIFD,&offset) != 1)
- return(MagickFalse);
+ return;
directory=TIFFCurrentDirectory(tiff);
- if (TIFFReadEXIFDirectory(tiff,offset) != 1)
- {
- TIFFSetDirectory(tiff,directory);
- return(MagickFalse);
- }
- status=TIFFSetImageProperties(tiff,image,"exif:",exception);
+ if (TIFFReadEXIFDirectory(tiff,offset) == 1)
+ TIFFSetImageProperties(tiff,image,"exif:",exception);
TIFFSetDirectory(tiff,directory);
- return(status);
#else
- (void) tiff;
- (void) image;
- return(MagickTrue);
+ magick_unreferenced(tiff);
+ magick_unreferenced(image);
+ magick_unreferenced(image_info);
+ magick_unreferenced(exception);
#endif
}
-static MagickBooleanType TIFFGetGPSProperties(TIFF *tiff,Image *image,
- ExceptionInfo *exception)
+static void TIFFGetGPSProperties(TIFF *tiff,Image *image,
+ const ImageInfo* image_info,ExceptionInfo *exception)
{
#if defined(MAGICKCORE_HAVE_TIFFREADGPSDIRECTORY)
- MagickBooleanType
- status;
+ const char
+ *option;
tdir_t
directory;
@@ -879,23 +876,21 @@
/*
Read GPS properties.
*/
+ option=GetImageOption(image_info,"tiff:gps-properties");
+ if (IsStringFalse(option) != MagickFalse)
+ return;
offset=0;
if (TIFFGetField(tiff,TIFFTAG_GPSIFD,&offset) != 1)
- return(MagickFalse);
+ return;
directory=TIFFCurrentDirectory(tiff);
- if (TIFFReadGPSDirectory(tiff,offset) != 1)
- {
- TIFFSetDirectory(tiff,directory);
- return(MagickFalse);
- }
- status=TIFFSetImageProperties(tiff,image,"exif:GPS",exception);
+ if (TIFFReadGPSDirectory(tiff,offset) == 1)
+ TIFFSetImageProperties(tiff,image,"exif:GPS",exception);
TIFFSetDirectory(tiff,directory);
- return(status);
#else
magick_unreferenced(tiff);
magick_unreferenced(image);
+ magick_unreferenced(image_info);
magick_unreferenced(exception);
- return(MagickTrue);
#endif
}
@@ -1203,9 +1198,6 @@
ThrowReaderException(severity,message); \
}
- const char
- *option;
-
float
*chromaticity = (float *) NULL,
x_position,
@@ -1217,7 +1209,7 @@
*image;
int
- tiff_status;
+ tiff_status = 0;
MagickBooleanType
more_frames;
@@ -1274,7 +1266,7 @@
*pixels;
void
- *sans[4] = { NULL, NULL, NULL, NULL };
+ *sans[5] = { NULL, NULL, NULL, NULL, NULL };
/*
Open image.
@@ -1494,12 +1486,8 @@
TIFFClose(tiff);
return(DestroyImageList(image));
}
- option=GetImageOption(image_info,"tiff:exif-properties");
- if (IsStringFalse(option) == MagickFalse) /* enabled by default */
- (void) TIFFGetEXIFProperties(tiff,image,exception);
- option=GetImageOption(image_info,"tiff:gps-properties");
- if (IsStringFalse(option) == MagickFalse) /* enabled by default */
- (void) TIFFGetGPSProperties(tiff,image,exception);
+ TIFFGetEXIFProperties(tiff,image,image_info,exception);
+ TIFFGetGPSProperties(tiff,image,image_info,exception);
if ((TIFFGetFieldDefaulted(tiff,TIFFTAG_XRESOLUTION,&x_resolution,sans) == 1) &&
(TIFFGetFieldDefaulted(tiff,TIFFTAG_YRESOLUTION,&y_resolution,sans) == 1))
{
@@ -2048,7 +2036,9 @@
columns_remaining=image->columns-x;
if ((ssize_t) (x+columns) < (ssize_t) image->columns)
columns_remaining=columns;
- if (TIFFReadTile(tiff,tile_pixels,(uint32) x,(uint32) y,0,i) == -1)
+ tiff_status=TIFFReadTile(tiff,tile_pixels,(uint32) x,(uint32) y,
+ 0,i);
+ if (tiff_status == -1)
break;
p=tile_pixels;
for (row=0; row < rows_remaining; row++)
@@ -2105,9 +2095,9 @@
if (generic_info == (MemoryInfo *) NULL)
ThrowTIFFException(ResourceLimitError,"MemoryAllocationFailed");
p=(uint32 *) GetVirtualMemoryBlob(generic_info);
- status=TIFFReadRGBAImage(tiff,(uint32) image->columns,(uint32)
+ tiff_status=TIFFReadRGBAImage(tiff,(uint32) image->columns,(uint32)
image->rows,(uint32 *) p,0);
- if (status == -1)
+ if (tiff_status == -1)
{
generic_info=RelinquishVirtualMemory(generic_info);
break;
@@ -2158,6 +2148,11 @@
next_tiff_frame:
if (quantum_info != (QuantumInfo *) NULL)
quantum_info=DestroyQuantumInfo(quantum_info);
+ if (tiff_status == -1)
+ {
+ status=MagickFalse;
+ break;
+ }
if (photometric == PHOTOMETRIC_CIELAB)
DecodeLabImage(image,exception);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/txt.c
^
|
@@ -347,7 +347,7 @@
}
(void) AnnotateImage(image,draw_info,exception);
if (texture != (Image *) NULL)
- texture=DestroyImage(texture);
+ texture=DestroyImageList(texture);
draw_info=DestroyDrawInfo(draw_info);
(void) CloseBlob(image);
if (status == MagickFalse)
@@ -614,7 +614,7 @@
} while (LocaleNCompare((char *) text,MagickTXTID,strlen(MagickTXTID)) == 0);
(void) CloseBlob(image);
if (q == (Quantum *) NULL)
- return(DestroyImage(image));
+ return(DestroyImageList(image));
return(GetFirstImageInList(image));
}

|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/viff.c
^
|
@@ -328,7 +328,7 @@
if (EOFBlob(image) != MagickFalse)
ThrowReaderException(CorruptImageError,"UnexpectedEndOfFile");
number_pixels=(MagickSizeType) viff_info.columns*viff_info.rows;
- if (number_pixels > GetBlobSize(image))
+ if (number_pixels > 8*GetBlobSize(image))
ThrowReaderException(CorruptImageError,"InsufficientImageDataInFile");
if (number_pixels != (size_t) number_pixels)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/coders/yaml.c
^
|
@@ -61,7 +61,6 @@
#include "MagickCore/option.h"
#include "MagickCore/pixel.h"
#include "MagickCore/pixel-accessor.h"
-#include "MagickCore/pixel-private.h"
#include "MagickCore/prepress.h"
#include "MagickCore/property.h"
#include "MagickCore/quantum-private.h"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/configure
^
|
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ImageMagick 7.1.0-13.
+# Generated by GNU Autoconf 2.69 for ImageMagick 7.1.0-19.
#
# Report bugs to <https://github.com/ImageMagick/ImageMagick/issues>.
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='ImageMagick'
PACKAGE_TARNAME='ImageMagick'
-PACKAGE_VERSION='7.1.0-13'
-PACKAGE_STRING='ImageMagick 7.1.0-13'
+PACKAGE_VERSION='7.1.0-19'
+PACKAGE_STRING='ImageMagick 7.1.0-19'
PACKAGE_BUGREPORT='https://github.com/ImageMagick/ImageMagick/issues'
PACKAGE_URL='https://imagemagick.org'
@@ -1859,7 +1859,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures ImageMagick 7.1.0-13 to adapt to many kinds of systems.
+\`configure' configures ImageMagick 7.1.0-19 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1935,7 +1935,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of ImageMagick 7.1.0-13:";;
+ short | recursive ) echo "Configuration of ImageMagick 7.1.0-19:";;
esac
cat <<\_ACEOF
@@ -2232,7 +2232,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-ImageMagick configure 7.1.0-13
+ImageMagick configure 7.1.0-19
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -3283,7 +3283,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by ImageMagick $as_me 7.1.0-13, which was
+It was created by ImageMagick $as_me 7.1.0-19, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -4271,7 +4271,7 @@
# Define the identity of the package.
PACKAGE='ImageMagick'
- VERSION='7.1.0-13'
+ VERSION='7.1.0-19'
# Some tools Automake needs.
@@ -4564,11 +4564,11 @@
MAGICK_MICRO_VERSION=0
-MAGICK_PATCHLEVEL_VERSION=13
+MAGICK_PATCHLEVEL_VERSION=19
-MAGICK_VERSION=7.1.0-13
+MAGICK_VERSION=7.1.0-19
-MAGICK_GIT_REVISION=19319:02476ce3c:20211026
+MAGICK_GIT_REVISION=19448:085d99111:20211218
# Substitute library versioning
@@ -4590,15 +4590,15 @@
PACKAGE_BASE_VERSION=7.1.0
-PACKAGE_PATCHLEVEL_VERSION=13
+PACKAGE_PATCHLEVEL_VERSION=19
-PACKAGE_VERSION_ADDENDUM=-13
+PACKAGE_VERSION_ADDENDUM=-19
PACKAGE_LIB_VERSION=0x710
-PACKAGE_LIB_VERSION_NUMBER=7,1,0,13
+PACKAGE_LIB_VERSION_NUMBER=7,1,0,19
-PACKAGE_RELEASE_DATE=2021-10-25
+PACKAGE_RELEASE_DATE=2021-12-18
# Ensure that make can run correctly
@@ -36796,7 +36796,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by ImageMagick $as_me 7.1.0-13, which was
+This file was extended by ImageMagick $as_me 7.1.0-19, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -36863,7 +36863,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-ImageMagick config.status 7.1.0-13
+ImageMagick config.status 7.1.0-19
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/index.html
^
|
@@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Convert, Edit, or Compose Digital Images</title>
+ <title>ImageMagick – Convert, Edit, or Compose Digital Images</title>
<meta name="application-name" content="ImageMagick" />
<meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
<meta name="application-url" content="https://imagemagick.org" />
@@ -93,18 +93,18 @@
<div class="magick-header">
<h1 class="text-center">ImageMagick</h1>
<p class="lead magick-description"><a href="images/wizard.png" title="And Now a Touch of Magick"><img class="img-fluid magick-icon" id="logo" alt="And Now a Touch of Magick" width="265" height="352" src="images/wizard.jpg" /></a>
-Use ImageMagick<sup><a href="http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78333969">®</a></sup> to create, edit, compose, or convert digital images. It can read and write images in a variety of <a href="www/formats.html">formats</a> (over 200) including PNG, JPEG, GIF, HEIC, TIFF, <a href="www/motion-picture.html">DPX</a>, <a href="www/high-dynamic-range.html">EXR</a>, WebP, PDF, and SVG. ImageMagick can resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.</p>
+Use ImageMagick<sup><a href="http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78333969">®</a></sup> to create, edit, compose, or convert digital images. It can read and write images in a variety of <a href="www/formats.html">formats</a> (over 200) including PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, <a href="www/motion-picture.html">DPX</a>, <a href="www/high-dynamic-range.html">EXR</a> and TIFF. ImageMagick can resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.</p>
<p>ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. It is distributed under a derived Apache 2.0 <a href="www/license.html">license</a>.</p>
<p>ImageMagick utilizes multiple computational threads to increase performance and can read, process, or write mega-, giga-, or tera-pixel image sizes.</p>
-<p>The current release is ImageMagick <a href="www/download.html">7.0.10-62</a>. It runs on <a href="www/download.html#unix">Linux</a>, <a href="www/download.html#windows">Windows</a>, <a href="www/download.html#macosx">Mac Os X</a>, <a href="www/download.html#iOS">iOS</a>, <a href="https://github.com/cherryleafroad/Android-ImageMagick7">Android</a> OS, and others.</p>
+<p>The current release is ImageMagick <a href="www/download.html">7.1.0-13</a>. It runs on <a href="www/download.html#linux">Linux</a>, <a href="www/download.html#windows">Windows</a>, <a href="www/download.html#macosx">Mac Os X</a>, <a href="www/download.html#iOS">iOS</a>, <a href="https://github.com/cherryleafroad/Android-ImageMagick7">Android</a> OS, and others.</p>
<p>The authoritative ImageMagick web site is <a href="./">https://imagemagick.org</a>. The authoritative source code repository is <a href="https://github.com/ImageMagick/ImageMagick" target="_blank">https://github.com/ImageMagick/ImageMagick</a>. We continue to maintain the legacy release of ImageMagick, version 6, at <a href="https://legacy.imagemagick.org/" target="_blank">https://legacy.imagemagick.org</a>.</p>
<h2><a class="anchor" id="features"></a>Features and Capabilities</h2>
<p>Here are just a few <a href="./www/examples.html">examples</a> of what ImageMagick can do for you:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td><a href="https://legacy.imagemagick.org/Usage/anim_basics/">Animation</a></td>
@@ -148,7 +148,7 @@
</tr>
<tr>
<td><a href="https://legacy.imagemagick.org/Usage/transform/#vision">Delineate image features</a></td>
- <td><a href="https://legacy.imagemagick.org/https://imagemagick.org/discourse-server/~/viewtopic37d8.html?f=4&t=25405">Canny edge detection</a>, <a href="https://legacy.imagemagick.org/https://imagemagick.org/discourse-server/~/viewtopic37d8.html?f=4&t=25476">Hough lines</a>.</td>
+ <td><a href="http://www.imagemagick.org/Usage/transform/#canny">Canny edge detection</a>, <a href="www/command-line-options.html#hough-line">Hough lines</a>.</td>
</tr>
<tr>
<td><a href="https://legacy.imagemagick.org/Usage/fourier/">Discrete Fourier transform</a></td>
@@ -183,8 +183,12 @@
<td>accurately represent the wide range of intensity levels found in real scenes ranging from the brightest direct sunlight to the deepest darkest shadows.</td>
</tr>
<tr>
- <td><a href="./www/clahe.html">Histogram Equalization</a></td>
- <td>Use adaptive histogram equalization to improve contrast in images.</td>
+ <td><a href="./www/clahe.html">Histogram equalization</a></td>
+ <td>use adaptive histogram equalization to improve contrast in images.</td>
+ </tr>
+ <tr>
+ <td><a href="./www/magick-cache.html">Image cache</a></td>
+ <td>secure methods and tools to cache images, image sequences, video, audio or metadata in a local folder..</td>
</tr>
<tr>
<td><a href="./www/fx.html">Image calculator</a></td>
@@ -284,4 +288,4 @@
<script src="www/assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:32 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/m4/ax_have_opencl.m4
^
|
@@ -7,9 +7,9 @@
# "CL_CPPFLAGS" and "CL_LIBS", respectively. If no usable CL implementation is
# found then "no_cl" is set to "yes" (otherwise it is set to "no").
#
-# If the header <CL/OpenCL.h> is found, "HAVE_CL_OPENCL_H" is defined. If the
-# header <OpenCL/OpenCL.h> is found, HAVE_OPENCL_OPENCL_H is defined. These
-# preprocessor definitions may not be mutually exclusive.
+# If the header <CL/cl.h> is found, "HAVE_CL_CL_H" is defined. If the header
+# <OpenCL/cl.h> is found, HAVE_OPENCL_CL_H is defined. These preprocessor
+# definitions may not be mutually exclusive.
#
# This macro first checks /usr/include and /usr/lib for OpenCL support; if it is not
# found in those locations, then it checks in the standard installation locations
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/m4/version.m4
^
|
@@ -27,7 +27,7 @@
m4_define([magick_major_version], [7])
m4_define([magick_minor_version], [1])
m4_define([magick_micro_version], [0])
-m4_define([magick_patchlevel_version], [13])
+m4_define([magick_patchlevel_version], [19])
m4_define([magick_bugreport],
[https://github.com/ImageMagick/ImageMagick/issues])
m4_define([magick_url], [https://imagemagick.org])
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/utilities/convert.1
^
|
@@ -190,6 +190,9 @@
\-identify identify the format and characteristics of the image
\-ift implements the inverse discrete Fourier transform (DFT)
\-implode amount implode image pixels about the center
+ \-integral calculate the sum of values (pixel values) in the image
+ \-interpolative-resize geometry
+ resize image using interpolation
\-kmeans geometry K means color reduction
\-lat geometry local adaptive thresholding
\-layers method optimize or compare image layers
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/utilities/convert.1.in
^
|
@@ -190,6 +190,9 @@
\-identify identify the format and characteristics of the image
\-ift implements the inverse discrete Fourier transform (DFT)
\-implode amount implode image pixels about the center
+ \-integral calculate the sum of values (pixel values) in the image
+ \-interpolative-resize geometry
+ resize image using interpolation
\-kmeans geometry K means color reduction
\-lat geometry local adaptive thresholding
\-layers method optimize or compare image layers
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/utilities/mogrify.1
^
|
@@ -188,6 +188,7 @@
\-identify identify the format and characteristics of the image
\-ift implements the inverse discrete Fourier transform (DFT)
\-implode amount implode image pixels about the center
+ \-integral calculate the sum of values (pixel values) in the image
\-interpolative-resize geometry
resize image using interpolation
\-kmeans geometry K means color reduction
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/utilities/mogrify.1.in
^
|
@@ -188,6 +188,7 @@
\-identify identify the format and characteristics of the image
\-ift implements the inverse discrete Fourier transform (DFT)
\-implode amount implode image pixels about the center
+ \-integral calculate the sum of values (pixel values) in the image
\-interpolative-resize geometry
resize image using interpolation
\-kmeans geometry K means color reduction
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/ImageMagickObject.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Install the ImageMagickObject COM+ Component</title>
+ <title>ImageMagick – Install the ImageMagickObject COM+ Component</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="install, the, imagemagickobject, com+, component, image processing software" />
@@ -100,43 +100,42 @@
<p>ImageMagick provides a statically-built ImageMagick object as part of its <a href="../www/download.html#windows">Windows installation package</a>. When this package is installed, ImageMagickObject and its sample programs are installed to this path:</p>
-<pre class="highlight"><code> c:\Program Files\ImageMagick-7.0.10-Q16\ImageMagickObject
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp> c:\Program Files\ImageMagick-7.1.0-Q16\ImageMagickObject </samp></pre></ul>
-<p>The ImageMagickObject is registered if the checkbox, <code>Register ImageMagickObject</code>, is checked at install time.</p>
+<p>The ImageMagickObject is registered if the checkbox, <samp>Register ImageMagickObject</samp>, is checked at install time.</p>
<p>To execute the sample program from the Windows Command Shell, type:</p>
-<pre class="highlight"><code>cscript SimpleTest.vbs
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>cscript SimpleTest.vbs
+</samp></pre></ul>
<p>Since the ImageMagick utility command line parsers are incorporated within ImageMagickObject, please refer to the <a href="../www/command-line-tools.html">command-line tools</a> discussion to learn how to use it. The sample VBS scripts show how the object should be called and used and have lots of comments.</p>
-<p>C++ programmers should have a look at the <code>MagickCMD.cpp</code> command line utility for an example of how to call the object from C++. The object requires a variable size list of BSTR's to emulate the command line argc, argv style calling conventions of the COM component which is more complex in C++ then in VBS or VB.</p>
+<p>C++ programmers should have a look at the <samp>MagickCMD.cpp</samp> command line utility for an example of how to call the object from C++. The object requires a variable size list of BSTR's to emulate the command line argc, argv style calling conventions of the COM component which is more complex in C++ then in VBS or VB.</p>
-<p>MagickCMD is a C++ sample, but it also serves as a replacement for all the other command line utilities in most applications. Instead of using <code>magick xxxx yyyy</code> you can use <code>MagickCMD convert xxxx yyyy</code> instead. MagickCMD calls the COM object to accomplish the designated task. This small tight combination replaces the entire usual binary distribution in just a few mebibytes.</p>
+<p>MagickCMD is a C++ sample, but it also serves as a replacement for all the other command line utilities in most applications. Instead of using <samp>magick xxxx yyyy</samp> you can use <samp>MagickCMD convert xxxx yyyy</samp> instead. MagickCMD calls the COM object to accomplish the designated task. This small tight combination replaces the entire usual binary distribution in just a few mebibytes.</p>
<h2><a class="anchor" id="build"></a>Build ImageMagickObject From Source</h2>
-<p>The source code for ImageMagickObject is available from the ImageMagick <a href="https://github.com/ImageMagick">GIT</a> repository, or as part of the <a href="install-source.html#windows">Windows source</a> distribution. Once the source code has been retrieved and extracted, the source for ImageMagickObject is the directory <code>ImageMagick\contrib\win32\ATL7ImageMagickObject</code>, however, ImageMagick itself must be built using the static-multithread (VisualStaticMT) build configuration. Building ImageMagickObject requires Microsoft Visual C++ 7.0 as delivered with Microsoft's Visual Studio .NET package. See the <a href="install-source.html#windows">Windows compilation instructions</a> to get ImageMagick itself built before building the ImageMagick COM+ component.</p>
+<p>The source code for ImageMagickObject is available from the ImageMagick <a href="https://github.com/ImageMagick">GIT</a> repository, or as part of the <a href="install-source.html#windows">Windows source</a> distribution. Once the source code has been retrieved and extracted, the source for ImageMagickObject is the directory <samp>ImageMagick\contrib\win32\ATL7ImageMagickObject</samp>, however, ImageMagick itself must be built using the static-multithread (VisualStaticMT) build configuration. Building ImageMagickObject requires Microsoft Visual C++ 7.0 as delivered with Microsoft's Visual Studio .NET package. See the <a href="install-source.html#windows">Windows compilation instructions</a> to get ImageMagick itself built before building the ImageMagick COM+ component.</p>
<p>Once the VisualStaticMT project has been built, build the ImageMagickObject with this procedure:</p>
-<pre class="highlight"><code>cd ImageMagick/contrib/win32/ATL7/ImageMagickObject
+<ul><pre class="bg-light text-dark"><samp>cd ImageMagick/contrib/win32/ATL7/ImageMagickObject
BuildImageMagickObject release
-</code></pre>
+</samp></pre></ul>
-<p>Here, we assume that the VisualStaticMT project has been built using the release setting for an optimized build. If the debug setting was used for a debug build, specify the argument <code>debug</code>; instead.</p>
+<p>Here, we assume that the VisualStaticMT project has been built using the release setting for an optimized build. If the debug setting was used for a debug build, specify the argument <samp>debug</samp>; instead.</p>
<p>To register the DLL as a COM+ server, type</p>
-<pre class="highlight"><code>regsvr32 /c /s ImageMagickObject.dll
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>regsvr32 /c /s ImageMagickObject.dll
+</samp></pre></ul>
<p>To unregister the DLL, type</p>
-<pre class="highlight"><code>regsvr32 /u /s ImageMagickObject.dll
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>regsvr32 /u /s ImageMagickObject.dll
+</samp></pre></ul>
<p>Use MagickCMD to exercise ImageMagickObject to verify that it is working properly.</p>
@@ -169,4 +168,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:08 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/advanced-linux-installation.html
^
|
@@ -0,0 +1,635 @@
+
+
+
+
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>ImageMagick – Advanced Linux Source Installation</title>
+ <meta name="application-name" content="ImageMagick" />
+ <meta name="description" content="" />
+ <meta name="application-url" content="https://imagemagick.org" />
+ <meta name="generator" content="PHP" />
+ <meta name="keywords" content="advanced, linux, source, installation, image processing software" />
+ <meta name="rating" content="GENERAL" />
+ <meta name="robots" content="INDEX, FOLLOW" />
+ <meta name="generator" content="ImageMagick Studio LLC" />
+ <meta name="author" content="ImageMagick Studio LLC" />
+ <meta name="revisit-after" content="2 DAYS" />
+ <meta name="resource-type" content="document" />
+ <meta name="copyright" content="Copyright (c) 1999-2020 ImageMagick Studio LLC" />
+ <meta name="distribution" content="Global" />
+ <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
+ <meta property='og:url' content='../' />
+ <meta property='og:title' content='ImageMagick' />
+ <meta property='og:image' content='../images/logo.png' />
+ <meta property='og:type' content='website' />
+ <meta property='og:site_name' content='ImageMagick' />
+ <meta property='og:description' content="Create, Edit, Compose, or Convert Digital Images" />
+ <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
+ <link href="advanced-linux-installation.html" rel="canonical" />
+ <link href="../images/wand.png" rel="icon" />
+ <link href="../images/wand.ico" rel="shortcut icon" />
+ <link href="assets/magick.css" rel="stylesheet" />
+</head>
+<body>
+ <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../images/wand.ico"/></a>
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="magick-navbars">
+ <ul class="navbar-nav me-auto mb-2 mb-md-0">
+ <li class="nav-item">
+ <a class="nav-link " href="../www/index.html">Home</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/download.html">Download</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/command-line-tools.html">Tools</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/command-line-processing.html">CLI</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/develop.html">Develop</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
+ </li>
+ <li class="nav-item">
+ <iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
+ </li>
+ </ul>
+ <form class="d-flex form-inline" action="search.html">
+ <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
+ </form>
+ </div>
+ </div>
+ </nav>
+
+ <div class="container">
+ <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>
+ <ins class="adsbygoogle"
+ style="display:block"
+ data-ad-client="ca-pub-3129977114552745"
+ data-ad-slot="6345125851"
+ data-full-width-responsive="true"
+ data-ad-format="horizontal"></ins>
+ <script>
+ (adsbygoogle = window.adsbygoogle || []).push({});
+ </script>
+
+ </div>
+
+ <main class="container">
+ <div class="magick-template">
+<div class="magick-header">
+<h1 class="text-center">Advanced Linux Installation</h1>
+<p class="text-center"><a href="advanced-linux-installation.html#download">Download & Unpack</a> • <a href="advanced-linux-installation.html#configure">Configure</a> • <a href="advanced-linux-installation.html#build">Build</a> • <a href="advanced-linux-installation.html#install">Install</a> • <a href="advanced-linux-installation.html#linux">Linux-specific Build Instructions</a> • <a href="advanced-linux-installation.html#macosx">Mac OS X-specific Build Instructions</a> • <a href="advanced-linux-installation.html#mingw">MinGW-specific Build Instructions</a> • <a href="advanced-linux-installation.html#problems">Dealing with Unexpected Problems</a></p>
+
+<p class="lead magick-description">It's possible you don't want to concern yourself with advanced installation under Linux or Linux systems. If so, you also have the option of installing a pre-compiled <a href="../www/download.html#linux">binary release</a> or if you still want to install from source without all the fuss see the simple <a href="install-source.html#linux">Install From Source</a> instructions. However, if you want to customize the configuration and installation of ImageMagick under Linux or Linux systems, lets begin.</p>
+
+<h2><a class="anchor" id="download"></a>Download & Unpack</h2>
+
+<p>ImageMagick builds on a variety of Linux and Linux-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A compiler is required and fortunately almost all modern Linux systems have one. Download <a href="https://download.imagemagick.org/ImageMagick/download/ImageMagick.tar.gz">ImageMagick.tar.gz</a> from <a href="../download">imagemagick.org</a> or a <a href="../www/download.html">mirror</a> and verify the distribution against its <a href="https://download.imagemagick.org/ImageMagick/download/digest.rdf">message digest</a>.</p>
+
+<p>Unpack the distribution it with this command:</p>
+
+<ul><pre class="bg-light text-dark"><samp>tar xvzf ImageMagick.tar.gz</samp></pre></ul>
+
+<p>Now that you have the ImageMagick Linux/Linux source distribution unpacked, let's configure it.</p>
+
+
+<h2><a class="anchor" id="configure"></a>Configure</h2>
+
+<p>The configure script looks at your environment and decides what it can cobble together to get ImageMagick compiled and installed on your system. This includes finding a compiler, where your compiler header files are located (e.g. stdlib.h), and if any delegate libraries are available for ImageMagick to use (e.g. JPEG, PNG, TIFF, etc.). If you are willing to accept configure's default options, and build from within the source directory, you can simply type:</p>
+
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>cd ImageMagick-7.1.0-13</span><span class='crtout'></span><span class="crtprompt">$ </span><span class='crtin'>./configure</span></code></pre></ul>
+<p>Watch the configure script output to verify that it finds everything that
+ you think it should. Pay particular attention to the last lines of the script output. For example, here is a recent report from our system:</p>
+
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>ImageMagick is configured as follows. Please verify that this configuration
+matches your expectations.
+
+Host system type: x86_64-unknown-linux-gnu
+Build system type: x86_64-unknown-linux-gnu
+
+ Option Value
+-------------------------------------------------------------------------------
+Shared libraries --enable-shared=yes yes
+Static libraries --enable-static=yes yes
+Module support --with-modules=yes yes
+GNU ld --with-gnu-ld=yes yes
+Quantum depth --with-quantum-depth=16 16
+High Dynamic Range Imagery
+ --enable-hdri=no no
+
+Delegate Configuration:
+BZLIB --with-bzlib=yes yes
+Autotrace --with-autotrace=yes yes
+DJVU --with-djvu=yes no
+DPS --with-dps=yes no
+FlashPIX --with-fpx=yes no
+FontConfig --with-fontconfig=yes yes
+FreeType --with-freetype=yes yes
+GhostPCL None pcl6 (unknown)
+GhostXPS None gxps (unknown)
+Ghostscript None gs (8.63)
+result_ghostscript_font_dir='none'
+Ghostscript fonts --with-gs-font-dir=default
+Ghostscript lib --with-gslib=yes no (failed tests)
+Graphviz --with-gvc=yes yes
+JBIG --with-jbig= no
+JPEG v1 --with-jpeg=yes yes
+JPEG-2000 --with-jp2=yes yes
+LCMS --with-lcms=yes yes
+LQR --with-lqr=yes no
+Magick++ --with-magick-plus-plus=yes yes
+OpenEXR --with-openexr=yes yes
+PERL --with-perl=yes /usr/bin/perl
+PNG --with-png=yes yes
+RSVG --with-rsvg=yes yes
+TIFF --with-tiff=yes yes
+result_windows_font_dir='none'
+Windows fonts --with-windows-font-dir=
+WMF --with-wmf=yes yes
+X11 --with-x= yes
+XML --with-xml=yes yes
+ZLIB --with-zlib=yes yes
+
+X11 Configuration:
+ X_CFLAGS =
+ X_PRE_LIBS = -lSM -lICE
+ X_LIBS =
+ X_EXTRA_LIBS =
+
+Options used to compile and link:
+ PREFIX = /usr/local
+ EXEC-PREFIX = /usr/local
+ VERSION = 6.4.8
+ CC = gcc -std=gnu99
+ CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
+ MAGICK_CFLAGS = -fopenmp -g -O2 -Wall -W -pthread
+ CPPFLAGS = -I/usr/local/include/ImageMagick
+ PCFLAGS = -fopenmp
+ DEFS = -DHAVE_CONFIG_H
+ LDFLAGS = -lfreetype
+ MAGICK_LDFLAGS = -L/usr/local/lib -lfreetype
+ LIBS = -lMagickCore-Q16 -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext
+ -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl
+ CXX = g++
+ CXXFLAGS = -g -O2 -Wall -W -pthread</samp></pre></ul>
+
+<p>You can influence choice of compiler, compilation flags, or libraries of the configure script by setting initial values for variables in the configure command line. These include, among others:</p>
+
+<dl class="row">
+<dt class="col-md-4">CC</dt>
+ <dd class="col-md-8">Name of C compiler (e.g. <samp>cc -Xa</samp>) to use.</dd>
+<dt class="col-md-4">CXX</dt>
+ <dd class="col-md-8">Name of C++ compiler to use (e.g. <samp>CC</samp>).</dd>
+<dt class="col-md-4">CFLAGS</dt>
+ <dd class="col-md-8">Compiler flags (e.g. <samp>-g -O2</samp>) to compile C code.</dd>
+<dt class="col-md-4">CXXFLAGS</dt>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/advanced-unix-installation.html
^
|
@@ -643,7 +643,7 @@
<a href="../www/support.html">Sponsor</a> •
<a href="../www/cite.html">Cite</a> •
<a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> •
- <a href="../www/https://imagemagick.org/script/contact.php">Contact Us</a>
+ <a href="../www/../www/https://imagemagick.org/script/contact.php">Contact Us</a>
<br/>
<a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
<a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 416.32" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path fill="currentColor" d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92"/></svg></a>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/advanced-windows-installation.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Advanced Windows Source Installation</title>
+ <title>ImageMagick – Advanced Windows Source Installation</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="advanced, windows, source, installation, image processing software" />
@@ -113,13 +113,13 @@
<p>Naming of these components might differ between version of Visual Studio. The example above use the Visual Studio 2017 names.</p>
<h2>Clone the dependencies</h2>
-<p>The ImageMagick library is build with a number of third party libraries. Run <code>CloneRepositories.cmd</code> to clone these libraries and the ImageMagick library.</p>
+<p>The ImageMagick library is build with a number of third party libraries. Run <samp>CloneRepositories.cmd</samp> to clone these libraries and the ImageMagick library.</p>
<h2>Build configure.exe</h2>
-<p>One of the folders that was created in the previous step is called <code>VisualMagick</code> and this folder contains a folder called <code>configure</code>. This folder contains a solution <code>configure.sln</code>. Open this solution with Visual Studio and start a Release build of the project. This will create a file called <code>configure.exe</code> in the folder. Running this program will start a Wizard that allows configuration of ImageMagick and its individual components.</p>
+<p>One of the folders that was created in the previous step is called <samp>VisualMagick</samp> and this folder contains a folder called <samp>configure</samp>. This folder contains a solution <samp>configure.sln</samp>. Open this solution with Visual Studio and start a Release build of the project. This will create a file called <samp>configure.exe</samp> in the folder. Running this program will start a Wizard that allows configuration of ImageMagick and its individual components.</p>
<h2>Build ImageMagick</h2>
-<p>Depending on which options where chosen when running <code>configure.exe</code> one of the following solutions will be created in the <code>VisualMagick</code> folder:</p>
+<p>Depending on which options where chosen when running <samp>configure.exe</samp> one of the following solutions will be created in the <samp>VisualMagick</samp> folder:</p>
<ul>
<li>VisualDynamicMT.sln (Dynamic Multi-threaded DLL runtimes)</li>
@@ -157,4 +157,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:33 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/animate.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Animate</title>
+ <title>ImageMagick – Command-line Tools: Animate</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, animate, image processing software" />
@@ -94,26 +94,24 @@
<h1 class="text-center">Animation Viewer</h1>
<p class="text-center"><a href="animate.html#usage">Example Usage</a> • <a href="animate.html#options">Option Summary</a></p>
-<p class="lead magick-description">Use the <code>animate</code> program to animate an image sequence on any X server. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>animate</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>animate</samp> program to animate an image sequence on any X server. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>animate</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>animate</code> command here to illustrate its usefulness and ease of use. To get started, lets animate an image sequence in the GIF format:</p>
+<p>We list a few examples of the <samp>animate</samp> command here to illustrate its usefulness and ease of use. To get started, lets animate an image sequence in the GIF format:</p>
-<pre class="highlight"><code>magick animate movie.gif
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick animate movie.gif </samp></pre></ul>
<p>To animate a directory of JPEG images, use:</p>
-<pre class="highlight"><code>magick animate *.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick animate *.jpg </samp></pre></ul>
-<p>You can find additional examples of using <code>animate</code> in <a href="https://legacy.imagemagick.org/Usage/basics/#animate">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>animate</samp> in <a href="https://legacy.imagemagick.org/Usage/basics/#animate">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>animate</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>animate</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -574,4 +572,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:04 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/Image++.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Magick++, C++ API for ImageMagick: Image Class</title>
+ <title>ImageMagick – Magick++, C++ API for ImageMagick: Image Class</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magick++, c++, api, for, imagemagick:, image, class, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/animate.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Interactively Animate an Image Sequence</title>
+ <title>ImageMagick – MagickCore, C API: Interactively Animate an Image Sequence</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, interactively, animate, an, image, sequence, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/annotate.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Annotate an Image</title>
+ <title>ImageMagick – MagickCore, C API: Annotate an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, annotate, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/attribute.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Set Text Attributes</title>
+ <title>ImageMagick – MagickCore, C API: Set Text Attributes</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, set, text, attributes, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/blob.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Read or Write Binary Large OBjects</title>
+ <title>ImageMagick – MagickCore, C API: Read or Write Binary Large OBjects</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, read, or, write, binary, large, objects, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/cache-view.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Cache Views</title>
+ <title>ImageMagick – MagickCore, C API: Cache Views</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, cache, views, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/cache.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Get or Set Image Pixels</title>
+ <title>ImageMagick – MagickCore, C API: Get or Set Image Pixels</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, get, or, set, image, pixels, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/channel.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Get or Set Image Channels</title>
+ <title>ImageMagick – MagickCore, C API: Get or Set Image Channels</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, get, or, set, image, channels, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/cipher.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Convert to and from Cipher Pixels</title>
+ <title>ImageMagick – MagickCore, C API: Convert to and from Cipher Pixels</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, convert, to, from, cipher, pixels, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/color.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Count the Colors in an Image</title>
+ <title>ImageMagick – MagickCore, C API: Count the Colors in an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, count, the, colors, in, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/colormap.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Colormap Methods</title>
+ <title>ImageMagick – MagickCore, C API: Colormap Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, colormap, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/colorspace.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Dealing with Image Colorspaces</title>
+ <title>ImageMagick – MagickCore, C API: Dealing with Image Colorspaces</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, dealing, with, image, colorspaces, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/compare.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Compare an Image to a Reconstructed Image</title>
+ <title>ImageMagick – MagickCore, C API: Compare an Image to a Reconstructed Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, compare, an, image, to, a, reconstructed, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/composite.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Composite an Image</title>
+ <title>ImageMagick – MagickCore, C API: Composite an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, composite, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/constitute.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Constitute an Image</title>
+ <title>ImageMagick – MagickCore, C API: Constitute an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, constitute, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/decorate.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Decorate an Image</title>
+ <title>ImageMagick – MagickCore, C API: Decorate an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, decorate, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/deprecate.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Deprecated Methods</title>
+ <title>ImageMagick – MagickCore, C API: Deprecated Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, deprecated, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/display.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Interactively Display and Edit an Image</title>
+ <title>ImageMagick – MagickCore, C API: Interactively Display and Edit an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, interactively, display, edit, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/distort.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Image Distortions</title>
+ <title>ImageMagick – MagickCore, C API: Image Distortions</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, image, distortions, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/draw.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Draw on an Image</title>
+ <title>ImageMagick – MagickCore, C API: Draw on an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, draw, on, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/drawing-wand.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Drawing Wand Methods</title>
+ <title>ImageMagick – MagickWand, C API: Drawing Wand Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, drawing, wmethods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/effect.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Add an Effect</title>
+ <title>ImageMagick – MagickCore, C API: Add an Effect</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, add, an, effect, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/enhance.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Enhance an Image</title>
+ <title>ImageMagick – MagickCore, C API: Enhance an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, enhance, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/exception.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Dealing with Exceptions</title>
+ <title>ImageMagick – MagickCore, C API: Dealing with Exceptions</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, dealing, with, exceptions, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/feature.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Image Features</title>
+ <title>ImageMagick – MagickCore, C API: Image Features</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, image, features, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/fourier.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Fourier Transform</title>
+ <title>ImageMagick – MagickCore, C API: Fourier Transform</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, fourier, transform, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/fx.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Add a Special Effect</title>
+ <title>ImageMagick – MagickCore, C API: Add a Special Effect</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, add, a, special, effect, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/histogram.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Image Histograms</title>
+ <title>ImageMagick – MagickCore, C API: Image Histograms</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, image, histograms, image processing software" />
@@ -117,7 +117,7 @@
<h2><a href="../../api/MagickCore/histogram_8c.html" id="IdentifyPaletteImage">IdentifyPaletteImage</a></h2>
-<p>IdentifyPaletteImage() returns MagickTrue if the image has 256 unique colors or less.</p>
+<p>IdentifyPaletteImage() returns MagickTrue if the image does not have more unique colors than specified in max_colors.</p>
<p>The format of the IdentifyPaletteImage method is:</p>
@@ -131,6 +131,9 @@
<dt>image</dt>
<p>the image.</p>
+<dt>max_colors</dt>
+<p>the maximum unique colors.</p>
+
<dt>exception</dt>
<p>return any errors or warnings in this structure.</p>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/image-view.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Image View Methods</title>
+ <title>ImageMagick – MagickCore, C API: Image View Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, image, view, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/image.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Image Methods</title>
+ <title>ImageMagick – MagickCore, C API: Image Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, image, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/layer.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Dealing with Image Layers</title>
+ <title>ImageMagick – MagickCore, C API: Dealing with Image Layers</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, dealing, with, image, layers, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/list.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Working with Image Lists</title>
+ <title>ImageMagick – MagickCore, C API: Working with Image Lists</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, working, with, image, lists, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/magick++-classes.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Magick++, C++ API: Classes</title>
+ <title>ImageMagick – Magick++, C++ API: Classes</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magick++, c++, api:, classes, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/magick-deprecate.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Deprecated Methods</title>
+ <title>ImageMagick – MagickWand, C API: Deprecated Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, deprecated, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/magick-image.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Image Methods</title>
+ <title>ImageMagick – MagickWand, C API: Image Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, image, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/magick-property.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Property Methods</title>
+ <title>ImageMagick – MagickWand, C API: Property Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, property, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/magick-wand.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Wand Methods</title>
+ <title>ImageMagick – MagickWand, C API: Wand Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, wmethods, image processing software" />
@@ -320,8 +320,6 @@
<dt>number_options</dt>
<dd> Returns the number of configure options in the list. </dd>
-<dd> </dd>
-
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-wand_8c.html" id="MagickQueryFontMetrics">MagickQueryFontMetrics</a></h2>
@@ -448,8 +446,6 @@
<dt>number_fonts</dt>
<dd> Returns the number of fonts in the list. </dd>
-<dd> </dd>
-
<dd> </dd>
</dl>
<h2><a href="../../api/MagickWand/magick-wand_8c.html" id="MagickQueryFormats">MagickQueryFormats</a></h2>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/magick.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Read or List Image formats</title>
+ <title>ImageMagick – MagickCore, C API: Read or List Image formats</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, read, or, list, image, formats, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/memory.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Memory Allocation</title>
+ <title>ImageMagick – MagickCore, C API: Memory Allocation</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, memory, allocation, image processing software" />
@@ -380,12 +380,12 @@
</dl>
<h2><a href="../../api/MagickCore/memory_8c.html" id="ResetMagickMemory">ResetMagickMemory</a></h2>
-<p>ResetMagickMemory() fills the first size bytes of the memory area pointed to by memory with the constant byte c.</p>
+<p>ResetMagickMemory() fills the first size bytes of the memory area pointed to by memory with the constant byte c. We use a volatile pointer when updating the byte string. Most compilers will avoid optimizing away access to a volatile pointer, even if the pointer appears to be unused after the call.</p>
<p>The format of the ResetMagickMemory method is:</p>
<pre class="text">
-void *ResetMagickMemory(void *memory,int byte,const size_t size)
+void *ResetMagickMemory(void *memory,int c,const size_t size)
</pre>
<p>A description of each parameter follows:</p>
@@ -399,7 +399,7 @@
<dd>a pointer to a memory allocation. </dd>
<dd> </dd>
-<dt>byte</dt>
+<dt>c</dt>
<dd>set the memory to this value. </dd>
<dd> </dd>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/mime.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Mime Methods</title>
+ <title>ImageMagick – MagickCore, C API: Mime Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, mime, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/module.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Loadable Modules</title>
+ <title>ImageMagick – MagickCore, C API: Loadable Modules</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, loadable, modules, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/mogrify.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Command-line Interface</title>
+ <title>ImageMagick – MagickWand, C API: Command-line Interface</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, command-line, interface, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/monitor.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Monitor the Progress of an Image Operation</title>
+ <title>ImageMagick – MagickCore, C API: Monitor the Progress of an Image Operation</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, monitor, the, progress, of, an, image, operation, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/montage.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Create an Image Thumbnail</title>
+ <title>ImageMagick – MagickCore, C API: Create an Image Thumbnail</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, create, an, image, thumbnail, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/morphology.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Morphological Erosions, Dilations, Openings, and Closings</title>
+ <title>ImageMagick – MagickCore, C API: Morphological Erosions, Dilations, Openings, and Closings</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, morphological, erosions, dilations, openings, closings, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/paint.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Paint on an Image</title>
+ <title>ImageMagick – MagickCore, C API: Paint on an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, paint, on, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/pixel-iterator.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Pixel Iterator Methods</title>
+ <title>ImageMagick – MagickWand, C API: Pixel Iterator Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, pixel, iterator, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/pixel-wand.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Pixel Wand Methods</title>
+ <title>ImageMagick – MagickWand, C API: Pixel Wand Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, pixel, wmethods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/profile.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Dealing with Image Profiles</title>
+ <title>ImageMagick – MagickCore, C API: Dealing with Image Profiles</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, dealing, with, image, profiles, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/property.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Get/Set Image Properties</title>
+ <title>ImageMagick – MagickCore, C API: Get/Set Image Properties</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, get/set, image, properties, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/quantize.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Reduce the Number of Unique Colors in an Image</title>
+ <title>ImageMagick – MagickCore, C API: Reduce the Number of Unique Colors in an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, reduce, the, number, of, unique, colors, in, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/registry.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: The Image Registry</title>
+ <title>ImageMagick – MagickCore, C API: The Image Registry</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, the, image, registry, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/resize.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Resize an Image</title>
+ <title>ImageMagick – MagickCore, C API: Resize an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, resize, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/resource.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Monitor or Limit Resource Consumption</title>
+ <title>ImageMagick – MagickCore, C API: Monitor or Limit Resource Consumption</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, monitor, or, limit, resource, consumption, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/segment.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Segment an Image with Thresholding Fuzzy c-Means</title>
+ <title>ImageMagick – MagickCore, C API: Segment an Image with Thresholding Fuzzy c-Means</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, segment, an, image, with, thresholding, fuzzy, c-means, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/shear.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Shear or Rotate an Image by an Arbitrary Angle</title>
+ <title>ImageMagick – MagickCore, C API: Shear or Rotate an Image by an Arbitrary Angle</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, shear, or, rotate, an, image, by, an, arbitrary, angle, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/signature.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Compute a Message Digest for an Image</title>
+ <title>ImageMagick – MagickCore, C API: Compute a Message Digest for an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, compute, a, message, digest, for, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/statistic.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Image Statistics</title>
+ <title>ImageMagick – MagickCore, C API: Image Statistics</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, image, statistics, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/stream.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: The Pixel FIFO</title>
+ <title>ImageMagick – MagickCore, C API: The Pixel FIFO</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, the, pixel, fifo, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/transform.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Transform an Image</title>
+ <title>ImageMagick – MagickCore, C API: Transform an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, transform, an, image, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/version.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, C API: Get the Version and Copyrights</title>
+ <title>ImageMagick – MagickCore, C API: Get the Version and Copyrights</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, c, api:, get, the, version, copyrights, image processing software" />
|
[-]
[+]
|
Added |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/vision.html
^
|
@@ -0,0 +1,165 @@
+
+
+
+
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>ImageMagick – MagickCore, C API: Computer Vision</title>
+ <meta name="application-name" content="ImageMagick" />
+ <meta name="description" content="" />
+ <meta name="application-url" content="https://imagemagick.org" />
+ <meta name="generator" content="PHP" />
+ <meta name="keywords" content="magickcore, c, api:, computer, vision, image processing software" />
+ <meta name="rating" content="GENERAL" />
+ <meta name="robots" content="INDEX, FOLLOW" />
+ <meta name="generator" content="ImageMagick Studio LLC" />
+ <meta name="author" content="ImageMagick Studio LLC" />
+ <meta name="revisit-after" content="2 DAYS" />
+ <meta name="resource-type" content="document" />
+ <meta name="copyright" content="Copyright (c) 1999-2020 ImageMagick Studio LLC" />
+ <meta name="distribution" content="Global" />
+ <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
+ <meta property='og:url' content='../../' />
+ <meta property='og:title' content='ImageMagick' />
+ <meta property='og:image' content='../../../images/logo.png' />
+ <meta property='og:type' content='website' />
+ <meta property='og:site_name' content='ImageMagick' />
+ <meta property='og:description' content="Create, Edit, Compose, or Convert Digital Images" />
+ <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
+ <link href="vision.html" rel="canonical" />
+ <link href="../../../images/wand.png" rel="icon" />
+ <link href="../../../images/wand.ico" rel="shortcut icon" />
+ <link href="../../assets/magick.css" rel="stylesheet" />
+</head>
+<body>
+ <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../../../images/wand.ico"/></a>
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="magick-navbars">
+ <ul class="navbar-nav me-auto mb-2 mb-md-0">
+ <li class="nav-item">
+ <a class="nav-link " href="../../www/index.html">Home</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../../www/download.html">Download</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../../www/command-line-tools.html">Tools</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../../www/command-line-processing.html">CLI</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../../www/develop.html">Develop</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
+ </li>
+ <li class="nav-item">
+ <iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
+ </li>
+ </ul>
+ <form class="d-flex form-inline" action="https://imagemagick.org/script/search.php">
+ <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
+ </form>
+ </div>
+ </div>
+ </nav>
+
+ <div class="container">
+ <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>
+ <ins class="adsbygoogle"
+ style="display:block"
+ data-ad-client="ca-pub-3129977114552745"
+ data-ad-slot="6345125851"
+ data-full-width-responsive="true"
+ data-ad-format="horizontal"></ins>
+ <script>
+ (adsbygoogle = window.adsbygoogle || []).push({});
+ </script>
+
+ </div>
+
+ <main class="container">
+ <div class="magick-template">
+<div class="magick-header">
+<p class="text-center"><a href="vision.html#ConnectedComponentsImage">ConnectedComponentsImage</a></p>
+
+<h2><a href="../../api/MagickCore/vision_8c.html" id="ConnectedComponentsImage">ConnectedComponentsImage</a></h2>
+
+<p>ConnectedComponentsImage() returns the connected-components of the image uniquely labeled. The returned connected components image colors member defines the number of unique objects. Choose from 4 or 8-way connectivity.</p>
+
+<p>You are responsible for freeing the connected components objects resources with this statement;</p>
+
+<p>objects = (CCObjectInfo *) RelinquishMagickMemory(objects);</p>
+
+<p>The format of the ConnectedComponentsImage method is:</p>
+
+<pre class="text">
+Image *ConnectedComponentsImage(const Image *image,
+ const size_t connectivity,CCObjectInfo **objects,
+ ExceptionInfo *exception)
+</pre>
+
+<p>A description of each parameter follows:</p>
+
+<dd>
+</dd>
+
+<dd> </dd>
+<dl class="dl-horizontal">
+<dt>image</dt>
+<dd>the image. </dd>
+
+<dd> </dd>
+<dt>connectivity</dt>
+<dd>how many neighbors to visit, choose from 4 or 8. </dd>
+
+<dd> </dd>
+<dt>objects</dt>
+<dd>return the attributes of each unique object. </dd>
+
+<dd> </dd>
+<dt>exception</dt>
+<dd>return any errors or warnings in this structure. </dd>
+
+<dd> </dd>
+</dl>
+</div>
+ </div>
+ </main><!-- /.container -->
+ <footer class="magick-footer">
+ <div class="container-fluid">
+ <a href="../../www/security-policy.html">Security</a> •
+ <a href="../../www/news.html">News</a>
+
+ <a href="vision.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../../../images/wand.ico"/></a>
+
+ <a href="../../www/links.html">Related</a> •
+ <a href="../../www/sitemap.html">Sitemap</a>
+ <br/>
+ <a href="../../www/support.html">Sponsor</a> •
+ <a href="../../www/cite.html">Cite</a> •
+ <a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> •
+ <a href="../../www/contact.html">Contact Us</a>
+ <br/>
+ <a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
+ <a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 416.32" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path fill="currentColor" d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92"/></svg></a>
+ <br/>
+ <small>© 1999-2021 ImageMagick Studio LLC</small>
+ </div>
+ </footer>
+
+ <!-- Javascript assets -->
+ <script src="../../assets/magick.js" ></script>
+ </body>
+</html>
+<!-- Magick Cache 24th October 2021 05:45 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/api/wand-view.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API: Wand View Methods</title>
+ <title>ImageMagick – MagickWand, C API: Wand View Methods</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api:, wview, methods, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/architecture.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Architecture</title>
+ <title>ImageMagick – Architecture</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="architecture, image processing software" />
@@ -141,40 +141,40 @@
<p>The ImageMagick pixel cache is a repository for image pixels with up to 32 channels. The channels are stored contiguously at the depth specified when ImageMagick was built. The channel depths are 8 bits-per-pixel component for the Q8 version of ImageMagick, 16 bits-per-pixel component for the Q16 version, and 32 bits-per-pixel component for the Q32 version. By default pixel components are 32-bit floating-bit <a href="../www/high-dynamic-range.html">high dynamic-range</a> quantities. The channels can hold any value but typically contain red, green, blue, and alpha intensities or cyan, magenta, yellow, black and alpha intensities. A channel might contain the colormap indexes for colormapped images or the black channel for CMYK images. The pixel cache storage may be heap memory, disk-backed memory mapped, or on disk. The pixel cache is reference-counted. Only the cache properties are copied when the cache is cloned. The cache pixels are subsequently copied only when you signal your intention to update any of the pixels.</p>
-<h3>Create the Pixel Cache</h3>
+<h2>Create the Pixel Cache</h2>
<p>The pixel cache is associated with an image when it is created and it is initialized when you try to get or put pixels. Here are three common methods to associate a pixel cache with an image:</p>
<dl>
<dt class="col-md-8">Create an image canvas initialized to the background color:</dt><br/>
-<dd class="col-md-8"><pre class="highlight"><code>image=AllocateImage(image_info);
+<dd class="col-md-8"><ul><pre class="bg-light text-dark"><samp>image=AllocateImage(image_info);
if (SetImageExtent(image,640,480) == MagickFalse)
{ /* an exception was thrown */ }
(void) QueryMagickColor("red",&image->background_color,&image->exception);
SetImageBackgroundColor(image);
-</code></pre></dd>
+</samp></pre></ul></dd>
<dt class="col-md-8">Create an image from a JPEG image on disk:</dt><br/>
-<dd class="col-md-8"><pre class="highlight"><code>(void) strcpy(image_info->filename,"image.jpg"):
+<dd class="col-md-8"><ul><pre class="bg-light text-dark"><samp>(void) strcpy(image_info->filename,"image.jpg"):
image=ReadImage(image_info,exception);
if (image == (Image *) NULL)
{ /* an exception was thrown */ }
-</code></pre></dd>
+</samp></pre></ul></dd>
<dt class="col-md-8">Create an image from a memory based image:</dt><br/>
-<dd class="col-md-8"><pre class="highlight"><code>image=BlobToImage(blob_info,blob,extent,exception);
+<dd class="col-md-8"><ul><pre class="bg-light text-dark"><samp>image=BlobToImage(blob_info,blob,extent,exception);
if (image == (Image *) NULL)
{ /* an exception was thrown */ }
-</code></pre></dd>
+</samp></pre></ul></dd>
</dl>
<p>In our discussion of the pixel cache, we use the <a href="magick-core.html">MagickCore API</a> to illustrate our points, however, the principles are the same for other program interfaces to ImageMagick.</p>
<p>When the pixel cache is initialized, pixels are scaled from whatever bit depth they originated from to that required by the pixel cache. For example, a 1-channel 1-bit monochrome PBM image is scaled to 8-bit gray image, if you are using the Q8 version of ImageMagick, and 16-bit RGBA for the Q16 version. You can determine which version you have with the <a class="text-nowrap" href="../www/command-line-options.html#version">-version</a> option: </p>
-<pre><span class="crtprompt">$ </span><span class='crtin'>identify -version</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>Version: ImageMagick 7.0.10-62 2021-01-30 Q16 https://imagemagick.org</span></pre>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>identify -version</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>Version: ImageMagick 7.1.0-13 2021-06-01 Q16 https://imagemagick.org</span></code></pre></ul>
<p>As you can see, the convenience of the pixel cache sometimes comes with a trade-off in storage (e.g. storing a 1-bit monochrome image as 16-bit is wasteful) and speed (i.e. storing the entire image in memory is generally slower than accessing one scanline of pixels at a time). In most cases, the benefits of the pixel cache typically outweigh any disadvantages.</p>
-<h3><a class="anchor" id="authentic-pixels"></a>Access the Pixel Cache</h3>
+<h2><a class="anchor" id="authentic-pixels"></a>Access the Pixel Cache</h2>
<p>Once the pixel cache is associated with an image, you typically want to get, update, or put pixels into it. We refer to pixels inside the image region as <a href="architecture.html#authentic-pixels">authentic pixels</a> and outside the region as <a href="architecture.html#virtual-pixels">virtual pixels</a>. Use these methods to access the pixels in the cache:</p>
<ul>
@@ -186,7 +186,7 @@
<p>Here is a typical <a href="magick-core.html">MagickCore</a> code snippet for manipulating pixels in the pixel cache. In our example, we copy pixels from the input image to the output image and decrease the intensity by 10%:</p>
-<pre class="pre-scrollable highlight"><code>const Quantum
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>const Quantum
*p;
Quantum
@@ -220,13 +220,13 @@
}
if (y < (ssize_t) source->rows)
{ /* an exception was thrown */ }
-</code></pre>
+</samp></pre></ul>
<p>When we first create the destination image by cloning the source image, the pixel cache pixels are not copied. They are only copied when you signal your intentions to modify or set the pixel cache by calling <a href="api/cache.html#GetAuthenticPixels">GetAuthenticPixels()</a> or <a href="api/cache.html#QueueAuthenticPixels">QueueAuthenticPixels()</a>. Use <a href="api/cache.html#QueueAuthenticPixels">QueueAuthenticPixels()</a> if you want to set new pixel values rather than update existing ones. You could use GetAuthenticPixels() to set pixel values but it is slightly more efficient to use QueueAuthenticPixels() instead. Finally, use <a href="api/cache.html#SyncAuthenticPixels">SyncAuthenticPixels()</a> to ensure any updated pixels are pushed to the pixel cache.</p>
<p>You can associate arbitrary content with each pixel, called <em>meta</em> content. Use <a href="api/cache.html#GetVirtualMetacontent">GetVirtualMetacontent()</a> (to read the content) or <a href="api/cache.html#GetAuthenticMetacontent">GetAuthenticMetacontent()</a> (to update the content) to gain access to this content. For example, to print the metacontent, use:</p>
-<pre class="highlight"><code>const void
+<ul><pre class="bg-light text-dark"><samp>const void
*metacontent;
for (y=0; y < (ssize_t) source->rows; y++)
@@ -239,16 +239,16 @@
}
if (y < (ssize_t) source->rows)
/* an exception was thrown */
-</code></pre>
+</samp></pre></ul>
<p>The pixel cache manager decides whether to give you direct or indirect access to the image pixels. In some cases the pixels are staged to an intermediate buffer-- and that is why you must call SyncAuthenticPixels() to ensure this buffer is <var>pushed</var> out to the pixel cache to guarantee the corresponding pixels in the cache are updated. For this reason we recommend that you only read or update a scanline or a few scanlines of pixels at a time. However, you can get any rectangular region of pixels you want. GetAuthenticPixels() requires that the region you request is within the bounds of the image area. For a 640 by 480 image, you can get a scanline of 640 pixels at row 479 but if you ask for a scanline at row 480, an exception is returned (rows are numbered starting at 0). GetVirtualPixels() does not have this constraint. For example,</p>
-<pre class="highlight"><code>p=GetVirtualPixels(source,-3,-3,source->columns+3,6,exception);
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>p=GetVirtualPixels(source,-3,-3,source->columns+3,6,exception);
+</samp></pre></ul>
<p>gives you the pixels you asked for without complaint, even though some are not within the confines of the image region.</p>
-<h3><a class="anchor" id="virtual-pixels"></a>Virtual Pixels</h3>
+<h2><a class="anchor" id="virtual-pixels"></a>Virtual Pixels</h2>
<p>There are a plethora of image processing algorithms that require a neighborhood of pixels about a pixel of interest. The algorithm typically includes a caveat concerning how to handle pixels around the image boundaries, known as edge pixels. With virtual pixels, you do not need to concern yourself about special edge processing other than choosing which virtual pixel method is most appropriate for your algorithm.</p>
<p>Access to the virtual pixels are controlled by the <a href="api/cache.html#SetImageVirtualPixelMethod">SetImageVirtualPixelMethod()</a> method from the MagickCore API or the <a class="text-nowrap" href="../www/command-line-options.html#virtual-pixel">-virtual-pixel</a> option from the command line. The methods include:</p>
@@ -287,7 +287,7 @@
</dl>
-<h3>Cache Storage and Resource Requirements</h3>
+<h2>Cache Storage and Resource Requirements</h2>
<p>Recall that this simple and elegant design of the ImageMagick pixel cache comes at a cost in terms of storage and processing speed. The pixel cache storage requirements scales with the area of the image and the bit depth of the pixel components. For example, if we have a 640 by 480 image and we are using the non-HDRI Q16 version of ImageMagick, the pixel cache consumes image <var>width * height * bit-depth / 8 * channels</var> bytes or approximately 2.3 mebibytes (i.e. 640 * 480 * 2 * 4). Not too bad, but what if your image is 25000 by 25000 pixels? The pixel cache requires approximately 4.7 gibibytes of storage. Ouch. ImageMagick accounts for possible huge storage requirements by caching large images to disk rather than memory. Typically the pixel cache is stored in memory using heap memory. If heap memory is exhausted, we create the pixel cache on disk and attempt to memory-map it. If memory-map memory is exhausted, we simply use standard disk I/O. Disk storage is cheap but it is also very slow, upwards of 1000 times slower than memory. We can get some speed improvements, up to 5 times, if we use memory mapping to the disk-based cache. These decisions about storage are made <var>automagically</var> by the pixel cache manager negotiating with the operating system. However, you can influence how the pixel cache manager allocates the pixel cache with <var>cache resource limits</var>. The limits include:</p>
@@ -315,7 +315,7 @@
<p>Note, these limits pertain to the ImageMagick pixel cache. Certain algorithms within ImageMagick do not respect these limits nor does any of the external delegate libraries (e.g. JPEG, TIFF, etc.).</p>
<p>To determine the current setting of these limits, use this command:</p>
-<pre class="highlight">-> identify -list resource
+<ul><pre class="bg-light text-dark"><samp>-> identify -list resource
Resource limits:
Width: 100MP
Height: 100MP
@@ -327,10 +327,10 @@
Thread: 12
Throttle: 0
Time: unlimited
-</pre>
+</samp></pre></ul>
<p>You can set these limits either as a <a href="../www/security-policy.html">security policy</a> (see <a href="https://imagemagick.org/source/policy.xml">policy.xml</a>), with an <a href="resources.html#environment">environment variable</a>, with the <a href="../www/command-line-options.html#limit">-limit</a> command line option, or with the <a href="api/resource.html#SetMagickResourceLimit">SetMagickResourceLimit()</a> MagickCore API method. As an example, our online web interface to ImageMagick, <a href="../MagickStudio/scripts/MagickStudio.cgi">ImageMagick Studio</a>, includes these policy limits to help prevent a denial-of-service:</p>
-<pre class="highlight"><code><policymap>
+<ul><pre class="bg-light text-dark"><samp><policymap>
<!-- temporary path must be a preexisting writable directory -->
<policy domain="resource" name="temporary-path" value="/tmp"/>
<policy domain="resource" name="memory" value="256MiB"/>
@@ -358,13 +358,13 @@
<policy domain="delegate" rights="none" pattern="SHOW" />
<policy domain="delegate" rights="none" pattern="WIN" />
<policy domain="path" rights="none" pattern="@*"/> <!-- indirect reads not permitted -->
-</code></pre>
+</samp></pre></ul>
<p>Since we process multiple simultaneous sessions, we don't want any one session consuming all the available memory.With this policy, large images are cached to disk. If the image is too large and exceeds the pixel cache disk limit, the program exits. In addition, we place a time limit to prevent any run-away processing tasks. If any one image has a width or height that exceeds 8192 pixels, an exception is thrown and processing stops. As of ImageMagick 7.0.1-8 you can prevent the use of any delegate or all delegates (set the pattern to "*"). Note, prior to this release, use a domain of "coder" to prevent delegate usage (e.g. domain="coder" rights="none" pattern="HTTPS"). The policy also prevents indirect reads. If you want to, for example, read text from a file (e.g. caption:@myCaption.txt), you'll need to remove this policy.</p>
<p>Note, the cache limits are global to each invocation of ImageMagick, meaning if you create several images, the combined resource requirements are compared to the limit to determine the pixel cache storage disposition.</p>
<p>To determine which type and how much resources are consumed by the pixel cache, add the <a href="../www/command-line-options.html#debug">-debug cache</a> option to the command-line:</p>
-<pre class="highlight">-> magick -debug cache logo: -sharpen 3x2 null:
+<ul><pre class="bg-light text-dark"><samp>$ magick -debug cache logo: -sharpen 3x2 null:
2016-12-17T13:33:42-05:00 0:00.000 0.000u 7.0.0 Cache magick: cache.c/DestroyPixelCache/1275/Cache
destroy
2016-12-17T13:33:42-05:00 0:00.000 0.000u 7.0.0 Cache magick: cache.c/OpenPixelCache/3834/Cache
@@ -381,20 +381,20 @@
destroy LOGO[0]
2016-12-17T13:33:42-05:00 0:00.050 0.100u 7.0.0 Cache magick: cache.c/DestroyPixelCache/1275/Cache
destroy LOGO[0]
-</pre>
+</samp></pre></ul>
<p>This command utilizes a pixel cache in memory. The logo consumed 4.688MiB and after it was sharpened, 3.516MiB.</p>
-<h3>Distributed Pixel Cache</h3>
+<h2>Distributed Pixel Cache</h2>
<p>A distributed pixel cache is an extension of the traditional pixel cache available on a single host. The distributed pixel cache may span multiple servers so that it can grow in size and transactional capacity to support very large images. Start up the pixel cache server on one or more machines. When you read or operate on an image and the local pixel cache resources are exhausted, ImageMagick contacts one or more of these remote pixel servers to store or retrieve pixels. The distributed pixel cache relies on network bandwidth to marshal pixels to and from the remote server. As such, it will likely be significantly slower than a pixel cache utilizing local storage (e.g. memory, disk, etc.).</p>
-<pre class="highlight"><code>magick -distribute-cache 6668 & // start on 192.168.100.50
+<ul><pre class="bg-light text-dark"><samp>magick -distribute-cache 6668 & // start on 192.168.100.50
magick -define registry:cache:hosts=192.168.100.50:6668 myimage.jpg -sharpen 5x2 mimage.png
-</code></pre>
+</samp></pre></ul>
-<h3>Cache Views</h3>
+<h2>Cache Views</h2>
<p>GetVirtualPixels(), GetAuthenticPixels(), QueueAuthenticPixels(), and SyncAuthenticPixels(), from the MagickCore API, can only deal with one pixel cache area per image at a time. Suppose you want to access the first and last scanline from the same image at the same time? The solution is to use a <var>cache view</var>. A cache view permits you to access as many areas simultaneously in the pixel cache as you require. The cache view <a href="api/cache-view.html">methods</a> are analogous to the previous methods except you must first open a view and close it when you are finished with it. Here is a snippet of MagickCore code that permits us to access the first and last pixel row of the image simultaneously:</p>
-<pre class="pre-scrollable highlight"><code>CacheView
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>CacheView
*view_1,
*view_2;
@@ -415,14 +415,14 @@
view_1=DestroyCacheView(view_1);
if (y < (ssize_t) source->rows)
{ /* an exception was thrown */ }
-</code></pre>
+</samp></pre></ul>
-<h3>Magick Persistent Cache Format</h3>
+<h2>Magick Pixel Cache Format</h2>
-<p>Recall that each image format is decoded by ImageMagick and the pixels are deposited in the pixel cache. If you write an image, the pixels are read from the pixel cache and encoded as required by the format you are writing (e.g. GIF, PNG, etc.). The Magick Persistent Cache (MPC) format is designed to eliminate the overhead of decoding and encoding pixels to and from an image format. MPC writes two files. One, with the extension <code>.mpc</code>, retains all the properties associated with the image or image sequence (e.g. width, height, colorspace, etc.) and the second, with the extension <code>.cache</code>, is the pixel cache in the native raw format. When reading an MPC image file, ImageMagick reads the image properties and memory maps the pixel cache on disk eliminating the need for decoding the image pixels. The tradeoff is in disk space. MPC is generally larger in file size than most other image formats.</p>
+<p>Recall that each image format is decoded by ImageMagick and the pixels are deposited in the pixel cache. If you write an image, the pixels are read from the pixel cache and encoded as required by the format you are writing (e.g. GIF, PNG, etc.). The Magick Pixel Cache (MPC) format is designed to eliminate the overhead of decoding and encoding pixels to and from an image format. MPC writes two files. One, with the extension <samp>.mpc</samp>, retains all the properties associated with the image or image sequence (e.g. width, height, colorspace, etc.) and the second, with the extension <samp>.cache</samp>, is the pixel cache in the native raw format. When reading an MPC image file, ImageMagick reads the image properties and memory maps the pixel cache on disk eliminating the need for decoding the image pixels. The trade-off is in disk space. MPC is generally larger in file size than most other image formats.</p>
<p>The most efficient use of MPC image files is a write-once, read-many-times pattern. For example, your workflow requires extracting random blocks of pixels from the source image. Rather than re-reading and possibly decompressing the source image each time, we use MPC and map the image directly to memory.</p>
-<h3>Best Practices</h3>
+<h2>Best Practices</h2>
<p>Although you can request any pixel from the pixel cache, any block of pixels, any scanline, multiple scanlines, any row, or multiple rows with the GetVirtualPixels(), GetAuthenticPixels(), QueueAuthenticPixels, GetCacheViewVirtualPixels(), GetCacheViewAuthenticPixels(), and QueueCacheViewAuthenticPixels() methods, ImageMagick is optimized to return a few pixels or a few pixels rows at time. There are additional optimizations if you request a single scanline or a few scanlines at a time. These methods also permit random access to the pixel cache, however, ImageMagick is optimized for sequential access. Although you can access scanlines of pixels sequentially from the last row of the image to the first, you may get a performance boost if you access scanlines from the first row of the image to the last, in sequential order.</p>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/changelog.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Changelog</title>
+ <title>ImageMagick – Changelog</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="changelog, image processing software" />
@@ -90,8 +90,168 @@
<main class="container">
<div class="magick-template">
-<div class="magick-header"><dl><dt>2021-02-01 7.0.10-62 <quetzlzacatenango@image...></dt>
- <li> Release ImageMagick version 7.0.10-62 GIT revision 18...</li>
+<div class="magick-header"><dl><dt>2021-10-28 7.1.0-13 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-13 GIT revision 19325:987f36b50:20211028</li>
+<dt>2021-10-28 7.1.0-13 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Fix stack overflow when parsing malicious ps image file (report from Muhammad Aldo Firmansyah).</li>
+<dt>2021-10-25 7.1.0-12 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-12 GIT revision 19318:113f8f901:20211025</li>
+<dt>2021-10-15 7.1.0-12 <quetzlzacatenango@image...></dt>
+ <li> Fix x64 build.</li>
+<dt>2021-10-24 7.1.0-11 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-11 GIT revision 19313:fbf76f2ef:20211024</li>
+<dt>2021-10-11 7.1.0-11 <quetzlzacatenango@image...></dt>
+ <li> Fix connected component abort trap (reference https://github.com/ImageMagick/ImageMagick/issues/4372).</li>
+ <li> Fix possible unitialized values (reference https://github.com/ImageMagick/ImageMagick/issues/4379).</li>
+ <li> Fix stack overflow when parsing malicious tiff image file (report from Muhammad Aldo Firmansyah).</li>
+<dt>2021-10-10 7.1.0-10 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-10 GIT revision 19236:07ebe6b6e:20211010</li>
+<dt>2021-10-03 7.1.0-10 <quetzlzacatenango@image...></dt>
+ <li> Improved algorithm for automatic calculation of pointsize for caption and labels.</li>
+ <li> Support -auto-orient option in the identify utlity.</li>
+<dt>2021-10-03 7.1.0-9 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-9 GIT revision 19220:7921bf068:20211003</li>
+<dt>2021-10-03 7.1.0-9 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Squash a dump truck load of VisualStudio compiler warnings.</li>
+ <li> Improved algorithm for automatic calculation of word breaks and pointsize for caption and labels.</li>
+<dt>2021-09-19 7.1.0-9 <quetzlzacatenango@image...></dt>
+ <li> Improve wrapping between words and within words (reference https://github.com/ImageMagick/ImageMagick/discussions/4227).</li>
+<dt>2021-09-18 7.1.0-8 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-8 GIT revision 19115:428fe1921:20210918</li>
+<dt>2021-09-17 7.1.0-8 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Check for `null` in InvokeDelegate() (reference https://github.com/ImageMagick/ImageMagick/issues/4225).</li>
+<dt>2021-09-12 7.1.0-7 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-7 GIT revision 19095:d368d3c6b:20210912</li>
+<dt>2021-09-11 7.1.0-7 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Fixed incorrect check when module is used as the domain in policy.xml that could allow the use of a disabled module. (reference https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-qvhr-jj4p-j2qr).</li>
+<dt>2021-09-06 7.1.0-7 <quetzlzacatenango@image...></dt>
+ <li> Prevent color reduction merging into one color (reference https://github.com/ImageMagick/ImageMagick/issues/4059)</li>
+<dt>2021-09-04 7.1.0-6 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-6 GIT revision 19033:7c589e780:20210904</li>
+<dt>2021-08-21 7.1.0-6 <quetzlzacatenango@image...></dt>
+ <li> Tweak the bilevel image type (reference https://github.com/ImageMagick/ImageMagick/issues/4121).</li>
+ <li> Converting from LAB to RGB leads to wrong colors (reference https://github.com/ImageMagick/ImageMagick/issues/4105).</li>
+<dt>2021-08-21 7.1.0-5 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-5 GIT revision 18995:8f77c3c9c:20210821</li>
+<dt>2021-08-12 7.1.0-5 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Added option (-dng:read-thumbnail=true) to read the thumbnail of a raw Image and store it as a profile called dng:thumbnail.</li>
+<dt>2021-07-26 7.1.0-5 <quetzlzacatenango@image...></dt>
+ <li> Heap-based buffer overflow in TIFF coder (alert from Hunter Mitchell).</li>
+ <li> Grayscale image write optimization.</li>
+<dt>2021-07-18 7.1.0-4 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-4 GIT revision 18926:8eb9c6c48:20210718</li>
+<dt>2021-07-17 7.1.0-4 <quetzlzacatenango@image...></dt>
+ <li> Trim no longer returns an empty image on 1-pixel width input (reference https://github.com/ImageMagick/ImageMagick/issues/3896).</li>
+ <li> remove virtual canvas offset from difference image.</li>
+<dt>2021-07-17 7.1.0-3 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-3 GIT revision 18901:692e6e059:20210717</li>
+<dt>2021-07-03 7.1.0-3 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Added option to set the pixel format option of ffmpeg when reading or writing a video file with -define video:pixel-format=<value>.</li>
+<dt>2021-06-26 7.1.0-3 <quetzlzacatenango@image...></dt>
+ <li> system() is not supported under IOS.</li>
+ <li> Accelerate subimage-search with FFT's (contributed by Fred).</li>
+<dt>2021-06-25 7.1.0-2 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-2 GIT revision 18831:601356f1d:20210625</li>
+<dt>2021-06-25 7.1.0-2 <quetzlzacatenango@image...></dt>
+ <li> malloc() corruption fix (reference https://github.com/ImageMagick/ImageMagick6/issues/159).</li>
+<dt>2021-06-20 7.1.0-1 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-1 GIT revision 18826:1f1b43ea7:20210620</li>
+<dt>2021-06-19 7.1.0-1 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Added option to set the vsync option of ffmpeg when reading or writing a video file with -define video:vsync=<value>.</li>
+<dt>2021-06-12 7.1.0-0 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.1.0-0 GIT revision 18806:d64f1bb3a:20210612</li>
+<dt>2021-06-02 7.1.0-0 <quetzlzacatenango@image...></dt>
+ <li> SVG no longer hangs when handling class in <defs> (reference https://github.com/ImageMagick/ImageMagick/issues/3818).</li>
+ <li> Bump minor version (reference https://github.com/ImageMagick/ImageMagick/issues/3768)</li>
+<dt>2021-06-02 7.0.11-15 <quetzlzacatenango@image...></dt>
+ <li> Raise exception for invalid compose:args geometry (reference https://github.com/ImageMagick/ImageMagick/issues/3765).</li>
+<dt>2021-05-31 7.0.11-14 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-14 GIT revision 18775:354f421e4:20210531</li>
+<dt>2021-05-20 7.0.11-14 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Added support for reading and writing 16-bit jxl images.</li>
+<dt>2021-05-17 7.0.11-13 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-13 GIT revision 18751:0365211b2:20210517</li>
+<dt>2021-05-12 7.0.11-13 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> Fixed reading and writing the XMP chunk in a WebP image (reference https://github.com/ImageMagick/ImageMagick/discussions/3617).</li>
+ <li> Added support to set the jpeg-xl encoding effort with -define jxl:effort=<number></li>
+<dt>2021-05-09 7.0.11-13 <quetzlzacatenango@image...></dt>
+ <li> label and caption sanity check is too conservative.</li>
+<dt>2021-05-09 7.0.11-12 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-12 GIT revision 18703:04c9de9b0:20210509</li>
+<dt>2021-05-07 7.0.11-12 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> The HEIC depth image will now only be read when the define heic:depth-image is true.</li>
+<dt>2021-05-06 7.0.11-12 <quetzlzacatenango@image...></dt>
+ <li> -layers optimize no longer produces broken output (reference https://github.com/ImageMagick/ImageMagick/issues/3520).</li>
+<dt>2021-05-04 7.0.11-11 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-11 GIT revision 18678:5d4dc32ea:20210504</li>
+<dt>2021-05-04 7.0.11-11 <quetzlzacatenango@image...></dt>
+ <li> FL32 no longer returns scambled results (reference https://github.com/ImageMagick/ImageMagick/issues/3614).</li>
+ <li> Ashlar pseudo-image format no longer crops labels in last row of tiles by default (reference https://github.com/ImageMagick/ImageMagick/issues/3618).</li>
+<dt>2021-04-28 7.0.11-10 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-10 GIT revision 18658:ffe570952:20210428</li>
+<dt>2021-04-25 7.0.11-10 <quetzlzacatenango@image...></dt>
+ <li> Optimize CompareImageBounds().</li>
+ <li> Check image is not NULL before dereferencing.</li>
+<dt>2021-04-25 7.0.11-9 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-9 GIT revision 18...</li>
+<dt>2021-04-25 7.0.11-9 <quetzlzacatenango@image...></dt>
+ <li> eliminate uninitialized value</li>
+ <li> Differences in computing linear gray (reference https://github.com/ImageMagick/ImageMagick/issues/3571).</li>
+<dt>2021-04-17 7.0.11-8 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-8 GIT revision 18636:53a252607:20210417</li>
+<dt>2021-04-17 7.0.11-8 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> added support for pdf:author, pdf:producer and pdf:title when writing a PDF file.</li>
+<dt>2021-04-10 7.0.11-7 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-7 GIT revision 18617:2a0925961:20210411</li>
+<dt>2021-04-09 7.0.11-7 <quetzlzacatenango@image...></dt>
+ <li> constrain sub-image list.</li>
+<dt>2021-04-03 7.0.11-6 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-6 GIT revision 18588:ea711b44c:20210403</li>
+<dt>2021-04-01 7.0.11-6 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> fix portable Windows build.</li>
+<dt>2021-03-28 7.0.11-5 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-5 GIT revision 18569:b934dca6b:20210328</li>
+<dt>2021-03-25 7.0.11-5 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> OpenCL will be disabled by default, use the environment variable MAGICK_OCL_DEVICE to turn it on or select the device to use.</li>
+<dt>2021-03-24 7.0.11-5 <quetzlzacatenango@image...></dt>
+ <li> eliminate extraneous spaces in AC_PATH_PROG (reference https://github.com/ImageMagick/ImageMagick/issues/3428).</li>
+ <li> fix handling of non-square images with -fft option.</li>
+ <li> enable FFTW support with --with-fftw configure script command-line option.</li>
+<dt>2021-03-20 7.0.11-4 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-4 GIT revision 18551:474c73cba:20210320</li>
+<dt>2021-03-13 7.0.11-4 <quetzlzacatenango@image...></dt>
+ <li> support caption:split define (reference https://github.com/ImageMagick/ImageMagick/discussions/3389).</li>
+ <li> avoid an omp deadlock with policy string</li>
+<dt>2021-03-06 7.0.11-3 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-3 GIT revision 18521:10079791f:20210306</li>
+<dt>2021-03-02 7.0.11-3 <quetzlzacatenango@image...></dt>
+ <li> Eliminate multiple division by zero exceptions (reference https://github.com/ImageMagick/ImageMagick/issues/3339 and others).</li>
+ <li> Use -define filename:literal=true to bypass interpretting embedded formatting characters and instead use the filename literally.</li>
+<dt>2021-02-27 7.0.11-2 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-2 GIT revision 18492:c524ed20c:20210227</li>
+<dt>2021-02-25 7.0.11-2 Dirk Lemstra <dirk@lem.....org></dt>
+ <li> decode HEIC images in sRGB instead of YCbCr.</li>
+<dt>2021-02-25 7.0.11-2 <happyerc...@...></dt>
+ <li> Division by zero error is possible if crafty file sets film-gamma property</li>
+ <li> Check for overflow in thumbnail coder</li>
+ <li> Prevent compiler from optimizing out buffer clearing in cipher</li>
+<dt>2021-02-21 7.0.11-2 <quetzlzacatenango@image...></dt>
+ <li> Clone properties from image stack.</li>
+ <li> Set overall image depth statistic in Composite channel.</li>
+<dt>2021-02-21 7.0.11-1 <quetzlzacatenango@image...></dt>
+ <li> Clone properties from image stack.</li>
+<dt>2021-02-21 7.0.11-1 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-1 GIT revision 18456:4de21b7b4:20210221</li>
+<dt>2021-02-15 7.0.11-1 <quetzlzacatenango@image...></dt>
+ <li> fix EXR crash (reference https://github.com/ImageMagick/ImageMagick/issues/3242).</li>
+<dt>2021-02-13 7.0.11-0 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.11-0 GIT revision 18438:ff3ef50ab:20210213</li>
+<dt>2021-02-10 7.0.11-0 <quetzlzacatenango@image...></dt>
+ <li> bump minor version #</li>
+ <li> allow reading multichannel PSD files with 1 or 2 channels.</li>
+ <li> respect masks when computing SSIM metric (reference https://github.com/ImageMagick/ImageMagick/discussions/3212).</li>
+<dt>2021-02-07 7.0.10-62 <quetzlzacatenango@image...></dt>
+ <li> Release ImageMagick version 7.0.10-62 GIT revision 18418:f1e915f65:20210207</li>
<dt>2021-02-01 7.0.10-62 <quetzlzacatenango@image...></dt>
<li> -trim not working as expected (reference https://github.com/ImageMagick/ImageMagick/discussions/3172).</li>
<li> possible undefined behavior (reference https://github.com/ImageMagick/ImageMagick/issues/3195).</li>
@@ -1554,4 +1714,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:10 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/cipher.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Encipher or Decipher an Image</title>
+ <title>ImageMagick – Encipher or Decipher an Image</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="encipher, or, decipher, an, image, image processing software" />
@@ -102,20 +102,17 @@
<p>Use the <a href="../www/command-line-options.html#encipher">-encipher</a> option to scramble your image so that it is unrecognizable. The option requires a filename that contains your passphrase. In this example we scramble an image and save it in the PNG format:</p>
-<pre class="highlight"><code>magick rose.jpg -encipher passphrase.txt rose.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick rose.jpg -encipher passphrase.txt rose.png </samp></pre></ul>
<p>Here we encipher an image using another image as the passphrase:</p>
-<pre class="highlight"><code>magick rose.jpg -encipher smiley.gif rose.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick rose.jpg -encipher smiley.gif rose.png </samp></pre></ul>
<h2><a class="anchor" id="decipher"></a>Decipher an Image</h2>
<p>Use the <a href="../www/command-line-options.html#decipher">-decipher</a> option to unscramble your image so that it is recognizable once again. The option requires a filename that contains your passphrase. In this example we unscramble an image and save it in the JPEG format:</p>
-<pre class="highlight"><code>magick rose.png -decipher passphrase.txt rose.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick rose.png -decipher passphrase.txt rose.jpg </samp></pre></ul>
<h2><a class="anchor" id="caveats"></a>Encipher and Decipher Caveats</h2>
@@ -181,4 +178,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/cite.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - How to Cite</title>
+ <title>ImageMagick – How to Cite</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="how, to, cite, image processing software" />
@@ -94,24 +94,22 @@
<h1 class="text-center">Cite</h1>
<p class="lead magick-description">Learn how to cite ImageMagick in your work. Choose from these citation formats:</p>
-<h5>Citation in APA style</h5>
-<p class="highlight">The ImageMagick Development Team. (2021). ImageMagick. Retrieved from https://imagemagick.org</p>
+<h4>Citation in APA style</h4>
+<ul><pre class="bg-light text-dark"><samp>The ImageMagick Development Team. (2021). ImageMagick. Retrieved from https://imagemagick.org</samp></pre></ul>
-<h5>Citation in Vancouver style</h5>
-<p class="highlight">1. The ImageMagick Development Team. ImageMagick [Internet]. 2021. Available from: https://imagemagick.org</p>
+<h4>Citation in Vancouver style</h4>
+<ul><pre class="bg-light text-dark"><samp>1. The ImageMagick Development Team. ImageMagick [Internet]. 2021. Available from: https://imagemagick.org</samp></pre></ul>
-<h5>Citation in Harvard style</h5>
-<p class="highlight">The ImageMagick Development Team, 2021. ImageMagick, Available at: https://imagemagick.org.</p>
-<h5>Citation in Bibtex format</h5>
-<div class="highlight">
-@software{imagemagick,
-<br> author = {{The ImageMagick Development Team}},
-<br> title = {ImageMagick},
-<br> url = {https://imagemagick.org},
-<br> version = {7.0.10},
-<br> date = {2021-01-04},
-<br>}
-</div>
+<h4>Citation in Harvard style</h4>
+<ul><pre class="bg-light text-dark"><sampl>The ImageMagick Development Team, 2021. ImageMagick, Available at: https://imagemagick.org.</samp></pre></ul>
+<h4>Citation in Bibtex format</h4>
+<ul><pre class="bg-light text-dark"><samp>@software{imagemagick,
+ author = {{The ImageMagick Development Team}},
+ title = {ImageMagick},
+ url = {https://imagemagick.org},
+ version = {7.0.10},
+ date = {2021-01-04},
+}</samp></pre></ul>
</div>
</main><!-- /.container -->
<footer class="magick-footer">
@@ -140,4 +138,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:13 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/clahe.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Contrast Limited Adaptive Histogram Equalization</title>
+ <title>ImageMagick – Contrast Limited Adaptive Histogram Equalization</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="contrast, limited, adaptive, histogram, equalization, image processing software" />
@@ -95,9 +95,9 @@
<p class="lead magick-description">Use contrast limited adaptive histogram equalization (AHE) to improve contrast in images. Ordinary histogram equalization computes a global equalization whereas an adaptive method computes several histograms, each corresponding to a distinct section of the image, and uses them to redistribute the lightness values of the image. It is suitable for improving the local contrast and enhancing the definitions of edges in each region of an image. A variant of adaptive histogram equalization, contrast limited adaptive histogram equalization (CLAHE) limits AHE's tendency to overamplify noise in relatively homogeneous regions of an image.</p>
<p>CLAHE is supported as of ImageMagick 7.0.8-24 with the <a href="../www/command-line-options.html#clahe">-clahe</a> option:</p>
<ul>
-<h6><a class="anchor" id="clahe"></a>-clahe <var>width</var>x<var>height</var>{%}{+}<var>number-bins</var>{+}<var>clip-limit</var>{!}</h6>
+<h5><a class="anchor" id="clahe"></a>-clahe <var>width</var>x<var>height</var>{%}{+}<var>number-bins</var>{+}<var>clip-limit</var>{!}</h5>
</ul>
-<p> The image is divided into tiles of <var>width</var> and <var>height</var> pixels. Append <code>%</code> to define the width and height as percentages of the image's dimensions. The tile size should be larger than the size of features to be preserved and respects the aspect ratio of the image. Add <code>!</code> to force an exact tile width and height. <var>number-bins</var> is the number of histogram bins per tile (min 2, max 65536). The number of histogram bins should be smaller than the number of pixels in a single tile. <var>clip-limit</var> is the contrast limit for localized changes in contrast. A clip-limit of 2 to 3 is a good starting place (e.g. -clahe 50x50%+128+3). Very large values will let the histogram equalization do whatever it wants to do, that is result in maximal local contrast. The value 1 will result in the original image. Note, if the number of bins and the clip-limit are omitted, they default to 128 and no clipping respectively.</p>
+<p> The image is divided into tiles of <var>width</var> and <var>height</var> pixels. Append <samp>%</samp> to define the width and height as percentages of the image's dimensions. The tile size should be larger than the size of features to be preserved and respects the aspect ratio of the image. Add <samp>!</samp> to force an exact tile width and height. <var>number-bins</var> is the number of histogram bins per tile (min 2, max 65536). The number of histogram bins should be smaller than the number of pixels in a single tile. <var>clip-limit</var> is the contrast limit for localized changes in contrast. A clip-limit of 2 to 3 is a good starting place (e.g. -clahe 50x50%+128+3). Very large values will let the histogram equalization do whatever it wants to do, that is result in maximal local contrast. The value 1 will result in the original image. Note, if the number of bins and the clip-limit are omitted, they default to 128 and no clipping respectively.</p>
<p>To visualize the benefits of CLAHE, we have a low contrast image of mountains:</p>
<p>
<ul>
@@ -112,15 +112,11 @@
<a href="../images/mountains.jpg"><img src="../images/mountains-clahe.jpg" width="500" height="333" alt="label" /></a>
</ul>
<p>The latter image was produced with this command:</p>
-<pre class="highlight">
-magick mountains.jpg -clahe 25x25%+128+3 mountains-clahe.jpg
-</pre>
-<p>The <code>25x25%</code> argument divides the image into 16 tiles to perform local contrast enhancement. The image dimensions are <code>1500x1000</code> so the tiles are exactly <code>375x250</code> pixels each. Rather than a percentage, you can specify the tile dimensions directly with <code>375x250</code>.</p>
+<ul><pre class="bg-light text-dark"><samp>magick mountains.jpg -clahe 25x25%+128+3 mountains-clahe.jpg</samp></pre></ul>
+<p>The <samp>25x25%</samp> argument divides the image into 16 tiles to perform local contrast enhancement. The image dimensions are <samp>1500x1000</samp> so the tiles are exactly <samp>375x250</samp> pixels each. Rather than a percentage, you can specify the tile dimensions directly with <samp>375x250</samp>.</p>
<p>For tile sizes that do not divide evenly into the image dimensions, CLAHE utilizes virtual pixels, as such the results can vary slightly based on your chosen virtual pixel method. For example,</p>
-<pre class="highlight">
-magick mountains.jpg -virtual-pixel mirror -clahe 300x300+128+3! mountains-clahe.jpg
-</pre>
-<p>Notice the <code>!</code>. That forces the tile size to exactly 300x300 pixels, whereas without the <code>!</code>, the tile size respects the aspect ratio of the image and results in tile dimensions of <code>300x200</code>.</p>
+<ul><pre class="bg-light text-dark"><samp>magick mountains.jpg -virtual-pixel mirror -clahe 300x300+128+3! mountains-clahe.jpg</samp></pre></ul>
+<p>Notice the <samp>!</samp>. That forces the tile size to exactly 300x300 pixels, whereas without the <samp>!</samp>, the tile size respects the aspect ratio of the image and results in tile dimensions of <samp>300x200</samp>.</p>
</div>
</div>
@@ -151,4 +147,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/color-management.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Color Management</title>
+ <title>ImageMagick – Color Management</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="color, management, image processing software" />
@@ -96,11 +96,11 @@
<p>ImageMagick supports color profiles, however, for images without a profile or a declaration of colorspace, ImageMagick assumes non-linear sRGB. Most image processing algorithms assume a linear colorspace, therefore it might be prudent to convert to linear color or remove the gamma function before certain image processing algorithms are applied. For example,</p>
-<pre class="highlight"><code>magick myimage.jpg -colorspace RGB -resize 200% -colorspace sRGB mybigimage.jpg</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick myimage.jpg -colorspace RGB -resize 200% -colorspace sRGB mybigimage.jpg</samp></pre></ul>
<p>To declare that an image is linear RGB rather than sRGB, you can use the set option:</p>
-<pre class="highlight"><code>magick myimage.png -set colorspace RGB myRGBimage.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick myimage.png -set colorspace RGB myRGBimage.png</samp></pre></ul>
<p>Note that declaring an image as linear is not the same as converting the image to linear. Declaring it is linear only sets the meta data and does not change the pixel data. Whereas converting to linear actually changes the pixel data as described in more detail below.</p>
@@ -110,43 +110,43 @@
<p>By default, converting color images to grayscale returns non-linear gray. To instead convert to linear gray, use the <a href="../www/command-line-processing.html#set">-set</a> or <a href="../www/command-line-processing.html#intensity">-intensity</a
> or <a href="../www/command-line-processing.html#grayscale">-grayscale</a> options:</p>
-<pre class="highlight"><code>
+<ul><pre class="bg-light text-dark"><samp>
convert myimage.png -colorspace LinearGray myRGBimage.png
convert myimage.png -colorspace RGB -colorspace Gray myRGBimage.png
convert myimage.png -intensity Rec709luminance -colorspace gray myRGBimage.png
convert myimage.png -grayscale Rec709luminance myRGBimage.png
-</code></pre>
+</samp></pre></ul>
<p>Note that LinearGray is new as of Imagemagick 6.9.9-29 and 7.0.7-17.</p>
<p>The same concept is needed when separating channels. Normally, the conversion to separate each channel of an sRGB color image produces separate non-linear grayscale images. However the same concept can be applied, if it is desired to keep the separate channels as linear grayscale. For example, the following produces linear grayscale channels.</p>
-<pre class="highlight"><code>magick myimage.png -colorspace RGB -separate myimage_channels_%d.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick myimage.png -colorspace RGB -separate myimage_channels_%d.png</samp></pre></ul>
<p>When separating and recombining channels, with potential intermediate processing, it is important to identify the colorspace used, especially during the recombination. For example,</p>
-<pre class="highlight"><code>magick myimage.png -separate myimage_channels_%d.png
-magick myimage_channels_*.png -combine myimage2.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick myimage.png -separate myimage_channels_%d.png
+magick myimage_channels_*.png -combine myimage2.png</samp></pre></ul>
-<p>In the above example, the separated channels are non-linear and the default for <code>-combine</code> is to assume non-linear channels. So the result is the same as the input.</p>
+<p>In the above example, the separated channels are non-linear and the default for <samp>-combine</samp> is to assume non-linear channels. So the result is the same as the input.</p>
If one desires to separate to linear grayscale channels, recombine them later back to non-linear color, perhaps after some processing, then use the same concept as above for maintaining linear grayscale:</p>
-<pre class="highlight"><code>magick myimage.png -set colorspace RGB -separate myimage_channels_%d.png
+<ul><pre class="bg-light text-dark"><samp>magick myimage.png -set colorspace RGB -separate myimage_channels_%d.png
magick myimage_channels_*.png -set colorspace RGB -combine -colorspace sRGB myimage2.png
-</code></pre>
+</samp></pre></ul>
<p>When converting to another colorspace and back, such as between sRGB and HSL, the following two commands handle the first case of non-linear channels and the second case of linear channels:</p>
-<pre class="highlight"><code>magick myimage.png -colorspace HSL -separate myimage_channels_%d.png
-magick myimage_channels_*.png -set colorspace HSL -combine -colorspace sRGB myimage2.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick myimage.png -colorspace HSL -separate myimage_channels_%d.png
+magick myimage_channels_*.png -set colorspace HSL -combine -colorspace sRGB myimage2.png</samp></pre></ul>
-<pre class="highlight"><code>magick myimage.png -set colorspace RGB -colorspace HSL -separate myimage_channels_%d.png
-magick myimage_channels_*.png -set colorspace HSL -combine -colorspace RGB -set colorspace sRGB myimage2.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick myimage.png -set colorspace RGB -colorspace HSL -separate myimage_channels_%d.png
+magick myimage_channels_*.png -set colorspace HSL -combine -colorspace RGB -set colorspace sRGB myimage2.png</samp></pre></ul>
<p>A majority of the image formats assume an sRGB colorspace (e.g. JPEG, PNG, etc.). A few support only linear RGB (e.g. EXR, DPX, CIN, HDR) or only linear GRAY. A few formats support CMYK. For example JPG does, but PNG does not. Then there is the occasional format that also supports LAB (that is CieLAB) (e.g. TIFF, PSD, JPG, JP2). For additional information, see the <a href="../www/formats.html#colorspace" >Colorspace</a> and <a href="../www/formats.html#supported" >Supported Formats</a> pages.</p>
-<p>When specifying individual colors as <code>rgb(...)</code> or hex, these colors will still be interpreted as non-linear, that is, as sRGB colors. However if one wants to create linear colors, use <code>icc-color(rgb,r,g,b)"</code>, where <code>r</code>, <code>g</code>, and <code>b</code> are in the range 0 to 1. See the <a href="color.html" >Color</a> page.</p>
+<p>When specifying individual colors as <samp>rgb(...)</samp> or hex, these colors will still be interpreted as non-linear, that is, as sRGB colors. However if one wants to create linear colors, use <samp>icc-color(rgb,r,g,b)"</samp>, where <samp>r</samp>, <samp>g</samp>, and <samp>b</samp> are in the range 0 to 1. See the <a href="color.html" >Color</a> page.</p>
</div>
</div>
@@ -177,4 +177,3 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:24 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/color-thresholding.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Color Thresholding</title>
+ <title>ImageMagick – Color Thresholding</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="color, thresholding, image processing software" />
@@ -92,9 +92,9 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Color Thresholding</h1>
-<p>Use color thresholding to specify a color range and return a black and white image. All colors between the start and stop colors (inclusively) become white and the rest of the image pixels become black. The two colors are separated with a hyphen between them. Thresholding, by default, take place in the sRGB colorspace. Use the <code>-colorspace</code> to perform the thresholding in an alternative colorspaces (currently limited to sRGB, Gray, HSV, HSL, HCL, HSB, and HSW). Start and stop colors can be specified in any colorspace (recognized by ImageMagick), but in general, we advise you specify them in the colorspace corresponding to the <code>-colorspace</code> option. For colorspace Gray, be sure to use a start value lower than the stop value. Note that Hue is cyclical -- 0 and 360 are the same. However, a range of colors that spans hue = 0 may still be useful, if the start hue value is higher than the stop hue value.</p>
+<p>Use color thresholding to specify a color range and return a black and white image. All colors between the start and stop colors (inclusively) become white and the rest of the image pixels become black. The two colors are separated with a hyphen between them. Thresholding, by default, take place in the sRGB colorspace. Use the <samp>-colorspace</samp> to perform the thresholding in an alternative colorspaces (currently limited to sRGB, Gray, HSV, HSL, HCL, HSB, and HSW). Start and stop colors can be specified in any colorspace (recognized by ImageMagick), but in general, we advise you specify them in the colorspace corresponding to the <samp>-colorspace</samp> option. For colorspace Gray, be sure to use a start value lower than the stop value. Note that Hue is cyclical -- 0 and 360 are the same. However, a range of colors that spans hue = 0 may still be useful, if the start hue value is higher than the stop hue value.</p>
-<p>Caution is advised when mixing the colorspace of the start and stop colors and that of the image. A large range in one colorspace may map to only a narrow range in another colorspace. For example, one might naively think that <code>sRGB(0,0,0)</code> to <code>sRGB(255,255,255)</code> would produce a white image, catching all colors, even when using -colorspace HSV. But these two colors are black and white and so map only to a range of grayscale as <code>hsv(0,0%,0%)</code> and <code>hsv(0,0%,100%)</code>. For a color image, you would likely not find too many gray pixels.</p>
+<p>Caution is advised when mixing the colorspace of the start and stop colors and that of the image. A large range in one colorspace may map to only a narrow range in another colorspace. For example, one might naively think that <samp>sRGB(0,0,0)</samp> to <samp>sRGB(255,255,255)</samp> would produce a white image, catching all colors, even when using -colorspace HSV. But these two colors are black and white and so map only to a range of grayscale as <samp>hsv(0,0%,0%)</samp> and <samp>hsv(0,0%,100%)</samp>. For a color image, you would likely not find too many gray pixels.</p>
<p>To illustrate how color thresholding performs, use this image:</p>
@@ -104,7 +104,7 @@
<ul><img class="img-fluid d-block" src="../images/color-thresholding.jpg" alt="[Color Thresholding]" width="265" height="333" name="color-thresholding" /></ul>
-<p>Start by choosing one sRGB color (somewhere on the image -- in this case the yellow of the flowers) and offset it low and high to form two sRGB colors. The lower values form the start color and the higher values form the stop color. Begin with <code>sRGB(183,132,20)</code>. Offset its values by +-20 to identify the start color (-) and the stop color (+); namely, R=183+-20, G=132+-20, and B=40+-20:</p>
+<p>Start by choosing one sRGB color (somewhere on the image -- in this case the yellow of the flowers) and offset it low and high to form two sRGB colors. The lower values form the start color and the higher values form the stop color. Begin with <samp>sRGB(183,132,20)</samp>. Offset its values by +-20 to identify the start color (-) and the stop color (+); namely, R=183+-20, G=132+-20, and B=40+-20:</p>
<ul><pre class="code">magick monet.jpg -color-threshold 'sRGB(163,112,0)-sRGB(203,152,40)' monet.gif</pre></ul>
@@ -112,13 +112,13 @@
<ul><img class="img-fluid d-block" src="../images/color-thresholding-hsv.gif" alt="[Color Thresholding]" width="265" height="333" name="color-thresholding" /></ul>
-<p>Now, pick two RGB colors: <code>sRGB(159,150,0)</code> and <code>sRGB(205,100,45):</code></p>
+<p>Now, pick two RGB colors: <samp>sRGB(159,150,0)</samp> and <samp>sRGB(205,100,45):</samp></p>
-<ul><pre class="code">magick monet.jpg -color-threshold 'sRGB(159,150,0)-sRGB(205,100,45)' monet.gif</code></ul>
+<ul><pre class="code">magick monet.jpg -color-threshold 'sRGB(159,150,0)-sRGB(205,100,45)' monet.gif</samp></ul>

<ul><img class="img-fluid d-block" src="../images/color-thresholding-rgb.gif" alt="[Color Thresholding]" width="265" height="333" name="color-thresholding" /></ul>
-<p>Next, select one sRGB color and convert it to HSV and offset its values low and high to generate the start and stop HSV colors. Use -colorspace HSV to convert the image to HSV. For our HSV example, we pick <code>sRGB(183,132,20)</code> and convert to HSV:</p>
+<p>Next, select one sRGB color and convert it to HSV and offset its values low and high to generate the start and stop HSV colors. Use -colorspace HSV to convert the image to HSV. For our HSV example, we pick <samp>sRGB(183,132,20)</samp> and convert to HSV:</p>
<ul><pre class="code">
magick xc:"srgb(183,132,20)" -colorspace HSV txt:
@@ -132,7 +132,7 @@

<ul><img class="img-fluid d-block" src="../images/color-thresholding-rgb.gif" alt="[Color Thresholding]" width="265" height="333" name="color-thresholding" /></ul>
-<p>Next, pick two RGB colors. Use <code>-colorspace HSV</code> to convert the image to HSV, and apply the RGB start and stop colors. Choose <code>sRGB(158,77,33)</code> and <code>sRGB(213,217,2)</code>:</p>
+<p>Next, pick two RGB colors. Use <samp>-colorspace HSV</samp> to convert the image to HSV, and apply the RGB start and stop colors. Choose <samp>sRGB(158,77,33)</samp> and <samp>sRGB(213,217,2)</samp>:</p>
<ul><pre class="code">magick monet.jpg -colorspace HSV -color-threshold "sRGB(158,77,33)-sRGB(213,217,2)" monet.gif</pre></ul>

@@ -188,4 +188,3 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/color.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Color Names</title>
+ <title>ImageMagick – Color Names</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="color, names, image processing software" />
@@ -101,11 +101,11 @@
<p>Each of the following commands produces the same <var>lime</var> border around the image. (Use "double quotes" for Windows.)</p>
-<pre class="highlight"><code>magick -bordercolor lime -border 10 image.jpg image.png
+<ul><pre class="bg-light text-dark"><samp>magick -bordercolor lime -border 10 image.jpg image.png
magick -bordercolor '#0f0' -border 10 image.jpg image.png
magick -bordercolor '#00ff00' -border 10 image.jpg image.png
magick -bordercolor 'rgb(0,255,0)' -border 10 image.jpg image.png
-magick -bordercolor 'rgb(0,100%,0)' -border 10 image.jpg image.png</code></pre>
+magick -bordercolor 'rgb(0,100%,0)' -border 10 image.jpg image.png</samp></pre></ul>
<p>The list of recognized color names (for example, <var>aqua</var>, <var>black</var>, <var>blue</var>, <var>fuchsia</var>, <var>gray</var>, <var>green</var>, <var>lime</var>, <var>maroon</var>, <var>navy</var>, <var>olive</var>, <var>purple</var>, <var>red</var>, <var>silver</var>, <var>teal</var>, <var>white</var>, <var>yellow</var>, and others) is shown in a table further below.</p>
@@ -113,38 +113,38 @@
<p>The sRGB, CMYK, HSL and HSB color models are used in numerical color specifications. These examples all specify the same red sRGB color:</p>
-<pre class="highlight"><code>#f00 #rgb
+<ul><pre class="bg-light text-dark"><samp>#f00 #rgb
#ff0000 #rrggbb
#ff0000ff #rrggbbaa
#ffff00000000 #rrrrggggbbbb
#ffff00000000ffff #rrrrggggbbbbaaaa
rgb(255, 0, 0) an integer in the range 0—255 for each component
-rgb(100.0%, 0.0%, 0.0%) a float in the range 0—100% for each component</code></pre>
+rgb(100.0%, 0.0%, 0.0%) a float in the range 0—100% for each component</samp></pre></ul>
-<p>The format of an sRGB value in hexadecimal notation is a '#' immediately followed by either three, six, or twelve hexadecimal characters. The three-digit sRGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00. This ensures that white (#ffffff) can be specified with the short notation (#fff) and removes any dependencies on the color depth of the image. Use the hexadecimal notation whenever performance is an issue. ImageMagick does not need to load the expansive color table to interpret a hexadecimal color, e.g., <code>#000000</code>, but it does if <code>black</code> is used instead.</p>
+<p>The format of an sRGB value in hexadecimal notation is a '#' immediately followed by either three, six, or twelve hexadecimal characters. The three-digit sRGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00. This ensures that white (#ffffff) can be specified with the short notation (#fff) and removes any dependencies on the color depth of the image. Use the hexadecimal notation whenever performance is an issue. ImageMagick does not need to load the expansive color table to interpret a hexadecimal color, e.g., <samp>#000000</samp>, but it does if <samp>black</samp> is used instead.</p>
-<p>The format of an sRGB value in the functional notation is 'rgb(<var>r</var>,<var>g</var>,<var>b</var>)', where <var>r</var>, <var>g</var>, and <var>b</var> are either three integer or float values in the range 0—255 or three integer or float percentage values in the range 0—100%. The value 255 corresponds to 100%, and to #F or #FF in the hexadecimal notation: rgb(255, 255, 255) = rgb(100%, 100%, 100%) = #FFF = #FFFFFF. Note, as of ImageMagick 7.0.10-53, the commas are no longer necessary and the slash can proceed the alpha value, e.g. <code>rgb(255 128 0 / 50%)</code>.</p>
+<p>The format of an sRGB value in the functional notation is 'rgb(<var>r</var>,<var>g</var>,<var>b</var>)', where <var>r</var>, <var>g</var>, and <var>b</var> are either three integer or float values in the range 0—255 or three integer or float percentage values in the range 0—100%. The value 255 corresponds to 100%, and to #F or #FF in the hexadecimal notation: rgb(255, 255, 255) = rgb(100%, 100%, 100%) = #FFF = #FFFFFF. Note, as of ImageMagick 7.0.10-53, the commas are no longer necessary and the slash can proceed the alpha value, e.g. <samp>rgb(255 128 0 / 50%)</samp>.</p>
-<p>White space characters are allowed around the numerical values, at least if the entire color argument is enclosed in quotes ('single quotes' for Unix-like systems, "double quotes" for Windows).</p>
+<p>White space characters are allowed around the numerical values, at least if the entire color argument is enclosed in quotes ('single quotes' for Linux-like systems, "double quotes" for Windows).</p>
<p>The sRGB color model is extended in this specification to include <var>alpha</var> to allow specification of the transparency of a color. These examples all specify the same color:</p>
-<pre class="highlight"><code>rgb(255, 0, 0) range 0 - 255
+<ul><pre class="bg-light text-dark"><samp>rgb(255, 0, 0) range 0 - 255
rgba(255, 0, 0, 1.0) the same, with an explicit alpha value
rgb(100%, 0%, 0%) range 0.0% - 100.0%
-rgba(100%, 0%, 0%, 1.0) the same, with an explicit alpha value</code></pre>
+rgba(100%, 0%, 0%, 1.0) the same, with an explicit alpha value</samp></pre></ul>
<p>The format of an RGBA value in the functional notation is 'rgba(<var>r</var>,<var>g</var>,<var>b</var>,<var>a</var>)', where <var>r</var>, <var>g</var>, and <var>b</var> are as described above for the RGB functional notation, and where the alpha value <var>a</var> ranges from 0.0 (fully transparent) to 1.0 (fully opaque).</p>
-<p>There is also a color called 'none' that is fully transparent. This color is shorthand for <code>rgba(0, 0, 0, 0.0)</code>.</p>
+<p>There is also a color called 'none' that is fully transparent. This color is shorthand for <samp>rgba(0, 0, 0, 0.0)</samp>.</p>
<p>Non-linear gray values are conveniently defined with a name, single intensity value or an intensity value and an alpha value:</p>
-<pre class="highlight"><code>
+<ul><pre class="bg-light text-dark"><samp>
gray50 near mid gray
gray(127) near mid gray
gray(50%) mid gray
-graya(50%, 0.5) semi-transparent mid gray</code></pre>
+graya(50%, 0.5) semi-transparent mid gray</samp></pre></ul>
<p>For linear gray values add -colorspace RGB -colorspace Gray or -colorspace LinearGray when creating gray colors. The latter is new as of Imagemagick 6.9.9-29 and 7.0.7-17.</p>
@@ -164,27 +164,27 @@
<p>The HSB color system is a little easier to understand than the HSL color system. In the HSB color system, black is at the bottom apex and white is at the top center of the cone on the central axis. The most colorful or saturated colors will then be at the outer edge of the top of the cone at the widest part. Thus at Saturation=100% and Brightness=100%</p>
-<pre class="highlight"><code>hsb(0, 100%, 100%) or hsb(0, 255, 255) full red
+<ul><pre class="bg-light text-dark"><samp>hsb(0, 100%, 100%) or hsb(0, 255, 255) full red
hsb(120, 100%, 100%) or hsb(120, 255, 255) full green
hsb(120, 100%, 75%) or hsb(120, 255, 191.25) medium green
hsb(120, 100%, 50%) or hsb(120, 255, 127.5) dark green
hsb(120, 100%, 25%) or hsb(120, 255, 63.75) very dark green
-hsb(120, 50%, 50%) or hsb(120, 127.5, 127.5) pastel green</code></pre>
+hsb(120, 50%, 50%) or hsb(120, 127.5, 127.5) pastel green</samp></pre></ul>
<p>In the HSL color system, black is at the bottom apex and white is at the top apex. However, saturation is largest at the middle of the double cone on its outer perimeter and thus at a lightness value of 50%. The most colorful or saturated colors will then be at the outer edge of the double cone at its widest part. Thus at Saturation=100% and Brightness=50%</p>
-<pre class="highlight"><code>hsl(0, 100%, 50%) or hsl(0, 255, 127.5) full red
+<ul><pre class="bg-light text-dark"><samp>hsl(0, 100%, 50%) or hsl(0, 255, 127.5) full red
hsl(120, 100%, 100%) or hsl(120, 255, 255) white
hsl(120, 100%, 75%) or hsl(120, 255, 191.25) pastel green
hsl(120, 100%, 50%) or hsl(120, 255, 127.5) full green
hsl(120, 100%, 25%) or hsl(120, 255, 63.75) dark green
-hsl(120, 50%, 50%) or hsl(120, 127.5, 127.5) medium green</code></pre>
+hsl(120, 50%, 50%) or hsl(120, 127.5, 127.5) medium green</samp></pre></ul>
<p>One advantage of HSB or HSL over RGB is that it can be more intuitive: you can guess at the colors you want, and then tweak. It is also easier to create sets of matching colors (by keeping the hue the same and varying the brightness or lightness and saturation, for example).</p>
<p>Just as the 'rgb()' functional notation has the 'rgba()' alpha counterpart, the 'hsl()' and 'hsb()' functional notations have their 'hsla()' 'hsba()' alpha counterparts. These examples specify the same color:</p>
-<pre class="highlight"><code>hsb(120, 100%, 100%) full green in hsb
+<ul><pre class="bg-light text-dark"><samp>hsb(120, 100%, 100%) full green in hsb
hsba(120, 100%, 100%, 1.0) the same, with an alpha value of 1.0
hsb(120, 255, 255) full green in hsb
hsba(120, 255, 255, 1.0) the same, with an alpha value of 1.0
@@ -192,21 +192,21 @@
hsl(120, 100%, 50%) full green in hsl
hsla(120, 100%, 50%, 1.0) the same, with an alpha value of 1.0
hsl(120, 255, 127.5) full green in hsl
-hsla(120, 255, 127.5, 1.0) the same, with an alpha value of 1.0</code></pre>
+hsla(120, 255, 127.5, 1.0) the same, with an alpha value of 1.0</samp></pre></ul>
<p>For ImageMagick between 6.5.6-6 and 6.9.2-0, HSL (HSB) could only be specified with Hue as percent in range 0—100%, when Saturation and Lightness (Brightness) were also specified as percent in range 0—100%.</p>
<p>Specify the Lab colors like this:</p>
-<pre class="highlight"><code>cielab(62.253188, 23.950124, 48.410653)</code></pre>
-<p>Note, the <code>a</code> and <code>b</code> components of any Lab color you specify are biased internally by 50% to ensure it fits in the quantum range (typically 0 to 65535). The bias is retained when writing to the TIFF and MIFF image formats. However, the TXT format supports negative pixel values so the bias is removed when writing to this format:</p>
-<pre class="highlight"><code>-> magick xc:cyan -colorspace LAB txt:
+<ul><pre class="bg-light text-dark"><samp>cielab(62.253188, 23.950124, 48.410653)</samp></pre></ul>
+<p>Note, the <samp>a</samp> and <samp>b</samp> components of any Lab color you specify are biased internally by 50% to ensure it fits in the quantum range (typically 0 to 65535). The bias is retained when writing to the TIFF and MIFF image formats. However, the TXT format supports negative pixel values so the bias is removed when writing to this format:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick xc:cyan -colorspace LAB txt:
# ImageMagick pixel enumeration: 1,1,65535,cielab
0,0: (59711,20409.5,-3632.9) #E93F4FBA71CF cielab(91.1132,-48.0855,-14.1358)
--> magick -size 100x100 xc:"cielab(91.1132,-48.0855,-14.1358)" -colorspace sRGB cyan.png</code></pre>
+$ magick -size 100x100 xc:"cielab(91.1132,-48.0855,-14.1358)" -colorspace sRGB cyan.png</samp></pre></ul>
-<p>Or specify colors generically with the <code>icc-color</code> keyword, for example:</p>
-<pre class="highlight"><code>
+<p>Or specify colors generically with the <samp>icc-color</samp> keyword, for example:</p>
+<ul><pre class="bg-light text-dark"><samp>
icc-color(cmyk, 0.11, 0.48, 0.83, 0.00) cymk
icc-color(rgb, 1, 0, 0) linear rgb
icc-color(rgb, red) linear rgb
@@ -214,19 +214,20 @@
icc-color(srgb, 1, 0, 0) non-linear rgb
icc-color(srgb, red) non-linear rgb
icc-color(gray, 0.5) non-linear gray
-</code></pre>
+</samp></pre></ul>
-<p>Or specify uncalibrated device colors with the <code>device-</code> keyword, for example:</p>
-<pre class="highlight"><code>device-gray(0.5)
+<p>Or specify uncalibrated device colors with the <samp>device-</samp> keyword, for example:</p>
+<ul><pre class="bg-light text-dark"><samp>device-gray(0.5)
device-rgb(0.5, 1.0, 0.0)
-device-cmyk(0.11, 0.48, 0.83, 0.00)</code></pre>
+device-cmyk(0.11, 0.48, 0.83, 0.00)</samp></pre></ul>
-<p>ImageMagick also supports wide-gamut color such as <code>Lab</code>, <code>LCH</code>, and <code>Display-P3</code>.</p>
+<p>ImageMagick also supports wide-gamut color such as <samp>Lab</samp>, <samp>LCH</samp>, and <samp>Display-P3</samp>.</p>
<h2><a class="anchor" id="color_names"></a>List of Color Names</h2>
<p>The table below provides a list of named colors recognized by ImageMagick:</p>
+<div class="pre-scrollable">
<table class="table table-sm table-hover">
<tbody>
<tr>
@@ -4956,6 +4957,7 @@
</tbody>
</table>
+</div>
</div>
</div>
@@ -4986,4 +4988,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:54 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/command-line-options.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Options</title>
+ <title>ImageMagick – Command-line Options</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, options, image processing software" />
@@ -92,11 +92,11 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Annotated List of Command-line Options</h1>
-<p class="text-center"><a class="text-nowrap" href="command-line-options.html#adaptive-blur">-adaptive-blur</a> • <a class="text-nowrap" href="command-line-options.html#adaptive-resize">-adaptive-resize</a> • <a class="text-nowrap" href="command-line-options.html#adaptive-sharpen">-adaptive-sharpen</a> • <a class="text-nowrap" href="command-line-options.html#adjoin">-adjoin</a> • <a class="text-nowrap" href="command-line-options.html#affine">-affine</a> • <a class="text-nowrap" href="command-line-options.html#alpha">-alpha</a> • <a class="text-nowrap" href="command-line-options.html#annotate">-annotate</a> • <a class="text-nowrap" href="command-line-options.html#antialias">-antialias</a> • <a class="text-nowrap" href="command-line-options.html#append">-append</a> • <a class="text-nowrap" href="command-line-options.html#attenuate">-attenuate</a> • <a class="text-nowrap" href="command-line-options.html#authenticate">-authenticate</a> • <a class="text-nowrap" href="command-line-options.html#auto-gamma">-auto-gamma</a> • <a class="text-nowrap" href="command-line-options.html#auto-level">-auto-level</a> • <a class="text-nowrap" href="command-line-options.html#auto-orient">-auto-orient</a> • <a class="text-nowrap" href="command-line-options.html#auto-threshold">-auto-threshold</a> • <a class="text-nowrap" href="command-line-options.html#backdrop">-backdrop</a> • <a class="text-nowrap" href="command-line-options.html#background">-background</a> • <a class="text-nowrap" href="command-line-options.html#bench">-bench</a> • <a class="text-nowrap" href="command-line-options.html#bias">-bias</a> • <a class="text-nowrap" href="command-line-options.html#bilateral-blur">-bilateral-blur</a> • <a class="text-nowrap" href="command-line-options.html#black-point-compensation">-black-point-compensation</a> • <a class="text-nowrap" href="command-line-options.html#black-threshold">-black-threshold</a> • <a class="text-nowrap" href="command-line-options.html#blend">-blend</a> • <a class="text-nowrap" href="command-line-options.html#blue-primary">-blue-primary</a> • <a class="text-nowrap" href="command-line-options.html#blue-shift">-blue-shift</a> • <a class="text-nowrap" href="command-line-options.html#blur">-blur</a> • <a class="text-nowrap" href="command-line-options.html#border">-border</a> • <a class="text-nowrap" href="command-line-options.html#bordercolor">-bordercolor</a> • <a class="text-nowrap" href="command-line-options.html#borderwidth">-borderwidth</a> • <a class="text-nowrap" href="command-line-options.html#brightness-contrast">-brightness-contrast</a> • <a class="text-nowrap" href="command-line-options.html#cache">-cache</a> • <a class="text-nowrap" href="command-line-options.html#canny">-canny</a> • <a class="text-nowrap" href="command-line-options.html#caption">-caption</a> • <a class="text-nowrap" href="command-line-options.html#cdl">-cdl</a> • <a class="text-nowrap" href="command-line-options.html#channel">-channel</a> • <a class="text-nowrap" href="command-line-options.html#charcoal">-charcoal</a> • <a class="text-nowrap" href="command-line-options.html#channel-fx">-channel-fx</a> • <a class="text-nowrap" href="command-line-options.html#chop">-chop</a> • <a class="text-nowrap" href="command-line-options.html#clahe">-clahe</a> • <a class="text-nowrap" href="command-line-options.html#clamp">-clamp</a> • <a class="text-nowrap" href="command-line-options.html#clip">-clip</a> • <a class="text-nowrap" href="command-line-options.html#clip-mask">-clip-mask</a> • <a class="text-nowrap" href="command-line-options.html#clip-path">-clip-path</a> • <a class="text-nowrap" href="command-line-options.html#clone">-clone</a> • <a class="text-nowrap" href="command-line-options.html#clut">-clut</a> • <a class="text-nowrap" href="command-line-options.html#coalesce">-coalesce</a> • <a class="text-nowrap" href="command-line-options.html#colorize">-colorize</a> • <a class="text-nowrap" href="command-line-options.html#colormap">-colormap</a> • <a class="text-nowrap" href="command-line-options.html#color-matrix">-color-matrix</a> • <a class="text-nowrap" href="command-line-options.html#colors">-colors</a> • <a class="text-nowrap" href="command-line-options.html#colorspace">-colorspace</a> • <a class="text-nowrap" href="command-line-options.html#color-threshold">-color-threshold</a> • <a class="text-nowrap" href="command-line-options.html#combine">-combine</a> • <a class="text-nowrap" href="command-line-options.html#comment">-comment</a> • <a class="text-nowrap" href="command-line-options.html#compare">-compare</a> • <a class="text-nowrap" href="command-line-options.html#complex">-complex</a> • <a class="text-nowrap" href="command-line-options.html#compose">-compose</a> • <a class="text-nowrap" href="command-line-options.html#composite">-composite</a> • <a class="text-nowrap" href="command-line-options.html#compress">-compress</a> • <a class="text-nowrap" href="command-line-options.html#connected-components">-connected-components</a> • <a class="text-nowrap" href="command-line-options.html#contrast">-contrast</a> • <a class="text-nowrap" href="command-line-options.html#contrast-stretch">-contrast-stretch</a> • <a class="text-nowrap" href="command-line-options.html#convolve">-convolve</a> • <a class="text-nowrap" href="command-line-options.html#copy">-copy</a> • <a class="text-nowrap" href="command-line-options.html#crop">-crop</a> • <a class="text-nowrap" href="command-line-options.html#cycle">-cycle</a> • <a class="text-nowrap" href="command-line-options.html#debug">-debug</a> • <a class="text-nowrap" href="command-line-options.html#decipher">-decipher</a> • <a class="text-nowrap" href="command-line-options.html#deconstruct">-deconstruct</a> • <a class="text-nowrap" href="command-line-options.html#define">-define</a> • <a class="text-nowrap" href="command-line-options.html#delay">-delay</a> • <a class="text-nowrap" href="command-line-options.html#delete">-delete</a> • <a class="text-nowrap" href="command-line-options.html#density">-density</a> • <a class="text-nowrap" href="command-line-options.html#depth">-depth</a> • <a class="text-nowrap" href="command-line-options.html#descend">-descend</a> • <a class="text-nowrap" href="command-line-options.html#deskew">-deskew</a> • <a class="text-nowrap" href="command-line-options.html#despeckle">-despeckle</a> • <a class="text-nowrap" href="command-line-options.html#direction">-direction</a> • <a class="text-nowrap" href="command-line-options.html#displace">-displace</a> • <a class="text-nowrap" href="command-line-options.html#display">-display</a> • <a class="text-nowrap" href="command-line-options.html#dispose">-dispose</a> • <a class="text-nowrap" href="command-line-options.html#dissimilarity-threshold">-dissimilarity-threshold</a> • <a class="text-nowrap" href="command-line-options.html#dissolve">-dissolve</a> • <a class="text-nowrap" href="command-line-options.html#distort">-distort</a> • <a class="text-nowrap" href="command-line-options.html#distribute-cache">-distribute-cache</a> • <a class="text-nowrap" href="command-line-options.html#dither">-dither</a> • <a class="text-nowrap" href="command-line-options.html#draw">-draw</a> • <a class="text-nowrap" href="command-line-options.html#duplicate">-duplicate</a> • <a class="text-nowrap" href="command-line-options.html#edge">-edge</a> • <a class="text-nowrap" href="command-line-options.html#emboss">-emboss</a> • <a class="text-nowrap" href="command-line-options.html#encipher">-encipher</a> • <a class="text-nowrap" href="command-line-options.html#encoding">-encoding</a> • <a class="text-nowrap" href="command-line-options.html#endian">-endian</a> • <a class="text-nowrap" href="command-line-options.html#enhance">-enhance</a> • <a class="text-nowrap" href="command-line-options.html#equalize">-equalize</a> • <a class="text-nowrap" href="command-line-options.html#evaluate">-evaluate</a> • <a class="text-nowrap" href="command-line-options.html#evaluate-sequence">-evaluate-sequence</a> • <a class="text-nowrap" href="command-line-options.html#extent">-extent</a> • <a class="text-nowrap" href="command-line-options.html#extract">-extract</a> • <a class="text-nowrap" href="command-line-options.html#family">-family</a> • <a class="text-nowrap" href="command-line-options.html#features">-features</a> • <a class="text-nowrap" href="command-line-options.html#fft">-fft</a> • <a class="text-nowrap" href="command-line-options.html#fill">-fill</a> • <a class="text-nowrap" href="command-line-options.html#filter">-filter</a> • <a class="text-nowrap" href="command-line-options.html#flatten">-flatten</a> • <a class="text-nowrap" href="command-line-options.html#flip">-flip</a> • <a class="text-nowrap" href="command-line-options.html#floodfill">-floodfill</a> • <a class="text-nowrap" href="command-line-options.html#flop">-flop</a> • <a class="text-nowrap" href="command-line-options.html#font">-font</a> • <a class="text-nowrap" href="command-line-options.html#foreground">-foreground</a> • <a class="text-nowrap" href="command-line-options.html#format">-format</a> • <a class="text-nowrap" href="command-line-options.html#format_identify_">-format[identify]</a> • <a class="text-nowrap" href="command-line-options.html#frame">-frame</a> • <a class="text-nowrap" href="command-line-options.html#frame_import_">-frame[import]</a> • <a class="text-nowrap" href="command-line-options.html#function">-function</a> • <a class="text-nowrap" href="command-line-options.html#fuzz">-fuzz</a> • <a class="text-nowrap" href="command-line-options.html#fx">-fx</a> • <a class="text-nowrap" href="command-line-options.html#gamma">-gamma</a> • <a class="text-nowrap" href="command-line-options.html#gaussian-blur">-gaussian-blur</a> • <a class="text-nowrap" href="command-line-options.html#geometry">-geometry</a> • <a class="text-nowrap" href="command-line-options.html#gravity">-gravity</a> • <a class="text-nowrap" href="command-line-options.html#grayscale">-grayscale</a> • <a class="text-nowrap" href="command-line-options.html#green-primary">-green-primary</a> • <a class="text-nowrap" href="command-line-options.html#hald-clut">-hald-clut</a> • <a class="text-nowrap" href="command-line-options.html#help">-help</a> • <a class="text-nowrap" href="command-line-options.html#highlight-color">-highlight-color</a> • <a class="text-nowrap" href="command-line-options.html#hough-lines">-hough-lines</a> • <a class="text-nowrap" href="command-line-options.html#iconGeometry">-iconGeometry</a> • <a class="text-nowrap" href="command-line-options.html#iconic">-iconic</a> • <a class="text-nowrap" href="command-line-options.html#identify">-identify</a> • <a class="text-nowrap" href="command-line-options.html#ift">-ift</a> • <a class="text-nowrap" href="command-line-options.html#immutable">-immutable</a> • <a class="text-nowrap" href="command-line-options.html#implode">-implode</a> • <a class="text-nowrap" href="command-line-options.html#insert">-insert</a> • <a class="text-nowrap" href="command-line-options.html#intensity">-intensity</a> • <a class="text-nowrap" href="command-line-options.html#intent">-intent</a> • <a class="text-nowrap" href="command-line-options.html#interlace">-interlace</a> • <a class="text-nowrap" href="command-line-options.html#interpolate">-interpolate</a> • <a class="text-nowrap" href="command-line-options.html#interline-spacing">-interline-spacing</a> • <a class="text-nowrap" href="command-line-options.html#interword-spacing">-interword-spacing</a> • <a class="text-nowrap" href="command-line-options.html#kerning">-kerning</a> • <a class="text-nowrap" href="command-line-options.html#kmeans">-kmeans</a> • <a class="text-nowrap" href="command-line-options.html#kuwahara">-kuwahara</a> • <a class="text-nowrap" href="command-line-options.html#label">-label</a> • <a class="text-nowrap" href="command-line-options.html#lat">-lat</a> • <a class="text-nowrap" href="command-line-options.html#layers">-layers</a> • <a class="text-nowrap" href="command-line-options.html#level">-level</a> • <a class="text-nowrap" href="command-line-options.html#level-colors">-level-colors</a> • <a class="text-nowrap" href="command-line-options.html#limit">-limit</a> • <a class="text-nowrap" href="command-line-options.html#linear-stretch">-linear-stretch</a> • <a class="text-nowrap" href="command-line-options.html#linewidth">-linewidth</a> • <a class="text-nowrap" href="command-line-options.html#liquid-rescale">-liquid-rescale</a> • <a class="text-nowrap" href="command-line-options.html#list">-list</a> • <a class="text-nowrap" href="command-line-options.html#log">-log</a> • <a class="text-nowrap" href="command-line-options.html#loop">-loop</a> • <a class="text-nowrap" href="command-line-options.html#lowlight-color">-lowlight-color</a> • <a class="text-nowrap" href="command-line-options.html#magnify">-magnify</a> • <a class="text-nowrap" href="command-line-options.html#map">-map</a> • <a class="text-nowrap" href="command-line-options.html#map_stream_">-map[stream]</a> • <a class="text-nowrap" href="command-line-options.html#mattecolor">-mattecolor</a> • <a class="text-nowrap" href="command-line-options.html#median">-median</a> • <a class="text-nowrap" href="command-line-options.html#mean-shift">-mean-shift</a> • <a class="text-nowrap" href="command-line-options.html#metric">-metric</a> • <a class="text-nowrap" href="command-line-options.html#mode">-mode</a> • <a class="text-nowrap" href="command-line-options.html#modulate">-modulate</a> • <a class="text-nowrap" href="command-line-options.html#moments">-moments</a> • <a class="text-nowrap" href="command-line-options.html#monitor">-monitor</a> • <a class="text-nowrap" href="command-line-options.html#monochrome">-monochrome</a> • <a class="text-nowrap" href="command-line-options.html#morph">-morph</a> • <a class="text-nowrap" href="command-line-options.html#morphology">-morphology</a> • <a class="text-nowrap" href="command-line-options.html#mosaic">-mosaic</a> • <a class="text-nowrap" href="command-line-options.html#motion-blur">-motion-blur</a> • <a class="text-nowrap" href="command-line-options.html#name">-name</a> • <a class="text-nowrap" href="command-line-options.html#negate">-negate</a> • <a class="text-nowrap" href="command-line-options.html#noise">-noise</a> • <a class="text-nowrap" href="command-line-options.html#normalize">-normalize</a> • <a class="text-nowrap" href="command-line-options.html#opaque">-opaque</a> • <a class="text-nowrap" href="command-line-options.html#ordered-dither">-ordered-dither</a> • <a class="text-nowrap" href="command-line-options.html#orient">-orient</a> • <a class="text-nowrap" href="command-line-options.html#page">-page</a> • <a class="text-nowrap" href="command-line-options.html#paint">-paint</a> • <a class="text-nowrap" href="command-line-options.html#path">-path</a> • <a class="text-nowrap" href="command-line-options.html#pause_animate_">-pause[animate]</a> • <a class="text-nowrap" href="command-line-options.html#pause_import_">-pause[import]</a> • <a class="text-nowrap" href="command-line-options.html#perceptible">-perceptible</a> • <a class="text-nowrap" href="command-line-options.html#ping">-ping</a> • <a class="text-nowrap" href="command-line-options.html#pointsize">-pointsize</a> • <a class="text-nowrap" href="command-line-options.html#polaroid">-polaroid</a> • <a class="text-nowrap" href="command-line-options.html#poly">-poly</a> • <a class="text-nowrap" href="command-line-options.html#posterize">-posterize</a> • <a class="text-nowrap" href="command-line-options.html#precision">-precision</a> • <a class="text-nowrap" href="command-line-options.html#preview">-preview</a> • <a class="text-nowrap" href="command-line-options.html#print">-print</a> • <a class="text-nowrap" href="command-line-options.html#process">-process</a> • <a class="text-nowrap" href="command-line-options.html#profile">-profile</a> • <a class="text-nowrap" href="command-line-options.html#quality">-quality</a> • <a class="text-nowrap" href="command-line-options.html#quantize">-quantize</a> • <a class="text-nowrap" href="command-line-options.html#quiet">-quiet</a> • <a class="text-nowrap" href="command-line-options.html#radial-blur">-radial-blur</a> • <a class="text-nowrap" href="command-line-options.html#raise">-raise</a> • <a class="text-nowrap" href="command-line-options.html#random-threshold">-random-threshold</a> • <a class="text-nowrap" href="command-line-options.html#range-threshold">-range-threshold</a> • <a class="text-nowrap" href="command-line-options.html#read-mask">-read-mask</a> • <a class="text-nowrap" href="command-line-options.html#red-primary">-red-primary</a> • <a class="text-nowrap" href="command-line-options.html#regard-warnings">-regard-warnings</a> • <a class="text-nowrap" href="command-line-options.html#region">-region</a> • <a class="text-nowrap" href="command-line-options.html#remap">-remap</a> • <a class="text-nowrap" href="command-line-options.html#remote">-remote</a> • <a class="text-nowrap" href="command-line-options.html#render">-render</a> • <a class="text-nowrap" href="command-line-options.html#repage">-repage</a> • <a class="text-nowrap" href="command-line-options.html#resample">-resample</a> • <a class="text-nowrap" href="command-line-options.html#resize">-resize</a> • <a class="text-nowrap" href="command-line-options.html#respect-parentheses">-respect-parentheses</a> • <a class="text-nowrap" href="command-line-options.html#reverse">-reverse</a> • <a class="text-nowrap" href="command-line-options.html#roll">-roll</a> • <a class="text-nowrap" href="command-line-options.html#rotate">-rotate</a> • <a class="text-nowrap" href="command-line-options.html#sample">-sample</a> • <a class="text-nowrap" href="command-line-options.html#sampling-factor">-sampling-factor</a> • <a class="text-nowrap" href="command-line-options.html#scale">-scale</a> • <a class="text-nowrap" href="command-line-options.html#scene">-scene</a> • <a class="text-nowrap" href="command-line-options.html#screen">-screen</a> • <a class="text-nowrap" href="command-line-options.html#seed">-seed</a> • <a class="text-nowrap" href="command-line-options.html#segment">-segment</a> • <a class="text-nowrap" href="command-line-options.html#selective-blur">-selective-blur</a> • <a class="text-nowrap" href="command-line-options.html#separate">-separate</a> • <a class="text-nowrap" href="command-line-options.html#sepia-tone">-sepia-tone</a> • <a class="text-nowrap" href="command-line-options.html#set">-set</a> • <a class="text-nowrap" href="command-line-options.html#shade">-shade</a> • <a class="text-nowrap" href="command-line-options.html#shadow">-shadow</a> • <a class="text-nowrap" href="command-line-options.html#shared-memory">-shared-memory</a> • <a class="text-nowrap" href="command-line-options.html#sharpen">-sharpen</a> • <a class="text-nowrap" href="command-line-options.html#shave">-shave</a> • <a class="text-nowrap" href="command-line-options.html#shear">-shear</a> • <a class="text-nowrap" href="command-line-options.html#sigmoidal-contrast">-sigmoidal-contrast</a> • <a class="text-nowrap" href="command-line-options.html#silent">-silent</a> • <a class="text-nowrap" href="command-line-options.html#similarity-threshold">-similarity-threshold</a> • <a class="text-nowrap" href="command-line-options.html#size">-size</a> • <a class="text-nowrap" href="command-line-options.html#sketch">-sketch</a> • <a class="text-nowrap" href="command-line-options.html#smush">-smush</a> • <a class="text-nowrap" href="command-line-options.html#snaps">-snaps</a> • <a class="text-nowrap" href="command-line-options.html#solarize">-solarize</a> • <a class="text-nowrap" href="command-line-options.html#sort-pixels">-sort-pixels</a> • <a class="text-nowrap" href="command-line-options.html#sparse-color">-sparse-color</a> • <a class="text-nowrap" href="command-line-options.html#splice">-splice</a> • <a class="text-nowrap" href="command-line-options.html#spread">-spread</a> • <a class="text-nowrap" href="command-line-options.html#statistic">-statistic</a> • <a class="text-nowrap" href="command-line-options.html#stegano">-stegano</a> • <a class="text-nowrap" href="command-line-options.html#stereo">-stereo</a> • <a class="text-nowrap" href="command-line-options.html#storage-type">-storage-type</a> • <a class="text-nowrap" href="command-line-options.html#stretch">-stretch</a> • <a class="text-nowrap" href="command-line-options.html#strip">-strip</a> • <a class="text-nowrap" href="command-line-options.html#stroke">-stroke</a> • <a class="text-nowrap" href="command-line-options.html#strokewidth">-strokewidth</a> • <a class="text-nowrap" href="command-line-options.html#style">-style</a> • <a class="text-nowrap" href="command-line-options.html#subimage-search">-subimage-search</a> • <a class="text-nowrap" href="command-line-options.html#swap">-swap</a> • <a class="text-nowrap" href="command-line-options.html#swirl">-swirl</a> • <a class="text-nowrap" href="command-line-options.html#synchronize">-synchronize</a> • <a class="text-nowrap" href="command-line-options.html#taint">-taint</a> • <a class="text-nowrap" href="command-line-options.html#text-font">-text-font</a> • <a class="text-nowrap" href="command-line-options.html#texture">-texture</a> • <a class="text-nowrap" href="command-line-options.html#threshold">-threshold</a> • <a class="text-nowrap" href="command-line-options.html#thumbnail">-thumbnail</a> • <a class="text-nowrap" href="command-line-options.html#tile">-tile</a> • <a class="text-nowrap" href="command-line-options.html#tile-offset">-tile-offset</a> • <a class="text-nowrap" href="command-line-options.html#tint">-tint</a> • <a class="text-nowrap" href="command-line-options.html#title">-title</a> • <a class="text-nowrap" href="command-line-options.html#transform">-transform</a> • <a class="text-nowrap" href="command-line-options.html#transparent">-transparent</a> • <a class="text-nowrap" href="command-line-options.html#transparent-color">-transparent-color</a> • <a class="text-nowrap" href="command-line-options.html#transpose">-transpose</a> • <a class="text-nowrap" href="command-line-options.html#transverse">-transverse</a> • <a class="text-nowrap" href="command-line-options.html#treedepth">-treedepth</a> • <a class="text-nowrap" href="command-line-options.html#trim">-trim</a> • <a class="text-nowrap" href="command-line-options.html#type">-type</a> • <a class="text-nowrap" href="command-line-options.html#undercolor">-undercolor</a> • <a class="text-nowrap" href="command-line-options.html#unique-colors">-unique-colors</a> • <a class="text-nowrap" href="command-line-options.html#units">-units</a> • <a class="text-nowrap" href="command-line-options.html#unsharp">-unsharp</a> • <a class="text-nowrap" href="command-line-options.html#update">-update</a> • <a class="text-nowrap" href="command-line-options.html#verbose">-verbose</a> • <a class="text-nowrap" href="command-line-options.html#version">-version</a> • <a class="text-nowrap" href="command-line-options.html#view">-view</a> • <a class="text-nowrap" href="command-line-options.html#vignette">-vignette</a> • <a class="text-nowrap" href="command-line-options.html#virtual-pixel">-virtual-pixel</a> • <a class="text-nowrap" href="command-line-options.html#visual">-visual</a> • <a class="text-nowrap" href="command-line-options.html#watermark">-watermark</a> • <a class="text-nowrap" href="command-line-options.html#wave">-wave</a> • <a class="text-nowrap" href="command-line-options.html#wavelet-denoise">-wavelet-denoise</a> • <a class="text-nowrap" href="command-line-options.html#weight">-weight</a> • <a class="text-nowrap" href="command-line-options.html#white-balance">-white-balance</a> • <a class="text-nowrap" href="command-line-options.html#white-point">-white-point</a> • <a class="text-nowrap" href="command-line-options.html#white-threshold">-white-threshold</a> • <a class="text-nowrap" href="command-line-options.html#window">-window</a> • <a class="text-nowrap" href="command-line-options.html#window-group">-window-group</a> • <a class="text-nowrap" href="command-line-options.html#write">-write</a> • <a class="text-nowrap" href="command-line-options.html#write-mask">-write-mask</a> </p>
+<p class="text-center"><a class="text-nowrap" href="command-line-options.html#adaptive-blur">-adaptive-blur</a> • <a class="text-nowrap" href="command-line-options.html#adaptive-resize">-adaptive-resize</a> • <a class="text-nowrap" href="command-line-options.html#adaptive-sharpen">-adaptive-sharpen</a> • <a class="text-nowrap" href="command-line-options.html#adjoin">-adjoin</a> • <a class="text-nowrap" href="command-line-options.html#affine">-affine</a> • <a class="text-nowrap" href="command-line-options.html#alpha">-alpha</a> • <a class="text-nowrap" href="command-line-options.html#annotate">-annotate</a> • <a class="text-nowrap" href="command-line-options.html#antialias">-antialias</a> • <a class="text-nowrap" href="command-line-options.html#append">-append</a> • <a class="text-nowrap" href="command-line-options.html#attenuate">-attenuate</a> • <a class="text-nowrap" href="command-line-options.html#authenticate">-authenticate</a> • <a class="text-nowrap" href="command-line-options.html#auto-gamma">-auto-gamma</a> • <a class="text-nowrap" href="command-line-options.html#auto-level">-auto-level</a> • <a class="text-nowrap" href="command-line-options.html#auto-orient">-auto-orient</a> • <a class="text-nowrap" href="command-line-options.html#auto-threshold">-auto-threshold</a> • <a class="text-nowrap" href="command-line-options.html#backdrop">-backdrop</a> • <a class="text-nowrap" href="command-line-options.html#background">-background</a> • <a class="text-nowrap" href="command-line-options.html#bench">-bench</a> • <a class="text-nowrap" href="command-line-options.html#bias">-bias</a> • <a class="text-nowrap" href="command-line-options.html#bilateral-blur">-bilateral-blur</a> • <a class="text-nowrap" href="command-line-options.html#black-point-compensation">-black-point-compensation</a> • <a class="text-nowrap" href="command-line-options.html#black-threshold">-black-threshold</a> • <a class="text-nowrap" href="command-line-options.html#blend">-blend</a> • <a class="text-nowrap" href="command-line-options.html#blue-primary">-blue-primary</a> • <a class="text-nowrap" href="command-line-options.html#blue-shift">-blue-shift</a> • <a class="text-nowrap" href="command-line-options.html#blur">-blur</a> • <a class="text-nowrap" href="command-line-options.html#border">-border</a> • <a class="text-nowrap" href="command-line-options.html#bordercolor">-bordercolor</a> • <a class="text-nowrap" href="command-line-options.html#borderwidth">-borderwidth</a> • <a class="text-nowrap" href="command-line-options.html#brightness-contrast">-brightness-contrast</a> • <a class="text-nowrap" href="command-line-options.html#cache">-cache</a> • <a class="text-nowrap" href="command-line-options.html#canny">-canny</a> • <a class="text-nowrap" href="command-line-options.html#caption">-caption</a> • <a class="text-nowrap" href="command-line-options.html#cdl">-cdl</a> • <a class="text-nowrap" href="command-line-options.html#channel">-channel</a> • <a class="text-nowrap" href="command-line-options.html#channel-fx">-channel-fx</a> • <a class="text-nowrap" href="command-line-options.html#charcoal">-charcoal</a> • <a class="text-nowrap" href="command-line-options.html#chop">-chop</a> • <a class="text-nowrap" href="command-line-options.html#clahe">-clahe</a> • <a class="text-nowrap" href="command-line-options.html#clamp">-clamp</a> • <a class="text-nowrap" href="command-line-options.html#clip">-clip</a> • <a class="text-nowrap" href="command-line-options.html#clip-mask">-clip-mask</a> • <a class="text-nowrap" href="command-line-options.html#clip-path">-clip-path</a> • <a class="text-nowrap" href="command-line-options.html#clone">-clone</a> • <a class="text-nowrap" href="command-line-options.html#clut">-clut</a> • <a class="text-nowrap" href="command-line-options.html#coalesce">-coalesce</a> • <a class="text-nowrap" href="command-line-options.html#colorize">-colorize</a> • <a class="text-nowrap" href="command-line-options.html#colormap">-colormap</a> • <a class="text-nowrap" href="command-line-options.html#color-matrix">-color-matrix</a> • <a class="text-nowrap" href="command-line-options.html#colors">-colors</a> • <a class="text-nowrap" href="command-line-options.html#colorspace">-colorspace</a> • <a class="text-nowrap" href="command-line-options.html#color-threshold">-color-threshold</a> • <a class="text-nowrap" href="command-line-options.html#combine">-combine</a> • <a class="text-nowrap" href="command-line-options.html#comment">-comment</a> • <a class="text-nowrap" href="command-line-options.html#compare">-compare</a> • <a class="text-nowrap" href="command-line-options.html#complex">-complex</a> • <a class="text-nowrap" href="command-line-options.html#compose">-compose</a> • <a class="text-nowrap" href="command-line-options.html#composite">-composite</a> • <a class="text-nowrap" href="command-line-options.html#compress">-compress</a> • <a class="text-nowrap" href="command-line-options.html#connected-components">-connected-components</a> • <a class="text-nowrap" href="command-line-options.html#contrast">-contrast</a> • <a class="text-nowrap" href="command-line-options.html#contrast-stretch">-contrast-stretch</a> • <a class="text-nowrap" href="command-line-options.html#convolve">-convolve</a> • <a class="text-nowrap" href="command-line-options.html#copy">-copy</a> • <a class="text-nowrap" href="command-line-options.html#crop">-crop</a> • <a class="text-nowrap" href="command-line-options.html#cycle">-cycle</a> • <a class="text-nowrap" href="command-line-options.html#debug">-debug</a> • <a class="text-nowrap" href="command-line-options.html#decipher">-decipher</a> • <a class="text-nowrap" href="command-line-options.html#deconstruct">-deconstruct</a> • <a class="text-nowrap" href="command-line-options.html#define">-define</a> • <a class="text-nowrap" href="command-line-options.html#delay">-delay</a> • <a class="text-nowrap" href="command-line-options.html#delete">-delete</a> • <a class="text-nowrap" href="command-line-options.html#density">-density</a> • <a class="text-nowrap" href="command-line-options.html#depth">-depth</a> • <a class="text-nowrap" href="command-line-options.html#descend">-descend</a> • <a class="text-nowrap" href="command-line-options.html#deskew">-deskew</a> • <a class="text-nowrap" href="command-line-options.html#despeckle">-despeckle</a> • <a class="text-nowrap" href="command-line-options.html#direction">-direction</a> • <a class="text-nowrap" href="command-line-options.html#displace">-displace</a> • <a class="text-nowrap" href="command-line-options.html#display">-display</a> • <a class="text-nowrap" href="command-line-options.html#dispose">-dispose</a> • <a class="text-nowrap" href="command-line-options.html#dissimilarity-threshold">-dissimilarity-threshold</a> • <a class="text-nowrap" href="command-line-options.html#dissolve">-dissolve</a> • <a class="text-nowrap" href="command-line-options.html#distort">-distort</a> • <a class="text-nowrap" href="command-line-options.html#distribute-cache">-distribute-cache</a> • <a class="text-nowrap" href="command-line-options.html#dither">-dither</a> • <a class="text-nowrap" href="command-line-options.html#draw">-draw</a> • <a class="text-nowrap" href="command-line-options.html#duplicate">-duplicate</a> • <a class="text-nowrap" href="command-line-options.html#edge">-edge</a> • <a class="text-nowrap" href="command-line-options.html#emboss">-emboss</a> • <a class="text-nowrap" href="command-line-options.html#encipher">-encipher</a> • <a class="text-nowrap" href="command-line-options.html#encoding">-encoding</a> • <a class="text-nowrap" href="command-line-options.html#endian">-endian</a> • <a class="text-nowrap" href="command-line-options.html#enhance">-enhance</a> • <a class="text-nowrap" href="command-line-options.html#equalize">-equalize</a> • <a class="text-nowrap" href="command-line-options.html#evaluate">-evaluate</a> • <a class="text-nowrap" href="command-line-options.html#evaluate-sequence">-evaluate-sequence</a> • <a class="text-nowrap" href="command-line-options.html#extent">-extent</a> • <a class="text-nowrap" href="command-line-options.html#extract">-extract</a> • <a class="text-nowrap" href="command-line-options.html#family">-family</a> • <a class="text-nowrap" href="command-line-options.html#features">-features</a> • <a class="text-nowrap" href="command-line-options.html#fft">-fft</a> • <a class="text-nowrap" href="command-line-options.html#fill">-fill</a> • <a class="text-nowrap" href="command-line-options.html#filter">-filter</a> • <a class="text-nowrap" href="command-line-options.html#flatten">-flatten</a> • <a class="text-nowrap" href="command-line-options.html#flip">-flip</a> • <a class="text-nowrap" href="command-line-options.html#floodfill">-floodfill</a> • <a class="text-nowrap" href="command-line-options.html#flop">-flop</a> • <a class="text-nowrap" href="command-line-options.html#font">-font</a> • <a class="text-nowrap" href="command-line-options.html#foreground">-foreground</a> • <a class="text-nowrap" href="command-line-options.html#format">-format</a> • <a class="text-nowrap" href="command-line-options.html#format_identify_">-format[identify]</a> • <a class="text-nowrap" href="command-line-options.html#frame">-frame</a> • <a class="text-nowrap" href="command-line-options.html#frame_import_">-frame[import]</a> • <a class="text-nowrap" href="command-line-options.html#function">-function</a> • <a class="text-nowrap" href="command-line-options.html#fuzz">-fuzz</a> • <a class="text-nowrap" href="command-line-options.html#fx">-fx</a> • <a class="text-nowrap" href="command-line-options.html#gamma">-gamma</a> • <a class="text-nowrap" href="command-line-options.html#gaussian-blur">-gaussian-blur</a> • <a class="text-nowrap" href="command-line-options.html#geometry">-geometry</a> • <a class="text-nowrap" href="command-line-options.html#gravity">-gravity</a> • <a class="text-nowrap" href="command-line-options.html#grayscale">-grayscale</a> • <a class="text-nowrap" href="command-line-options.html#green-primary">-green-primary</a> • <a class="text-nowrap" href="command-line-options.html#hald-clut">-hald-clut</a> • <a class="text-nowrap" href="command-line-options.html#help">-help</a> • <a class="text-nowrap" href="command-line-options.html#highlight-color">-highlight-color</a> • <a class="text-nowrap" href="command-line-options.html#hough-lines">-hough-lines</a> • <a class="text-nowrap" href="command-line-options.html#iconGeometry">-iconGeometry</a> • <a class="text-nowrap" href="command-line-options.html#iconic">-iconic</a> • <a class="text-nowrap" href="command-line-options.html#identify">-identify</a> • <a class="text-nowrap" href="command-line-options.html#ift">-ift</a> • <a class="text-nowrap" href="command-line-options.html#illuminant">-illuminant</a> • <a class="text-nowrap" href="command-line-options.html#immutable">-immutable</a> • <a class="text-nowrap" href="command-line-options.html#implode">-implode</a> • <a class="text-nowrap" href="command-line-options.html#insert">-insert</a> • <a class="text-nowrap" href="command-line-options.html#intensity">-intensity</a> • <a class="text-nowrap" href="command-line-options.html#intent">-intent</a> • <a class="text-nowrap" href="command-line-options.html#interlace">-interlace</a> • <a class="text-nowrap" href="command-line-options.html#interline-spacing">-interline-spacing</a> • <a class="text-nowrap" href="command-line-options.html#interpolate">-interpolate</a> • <a class="text-nowrap" href="command-line-options.html#interpolative-resize">-interpolative-resize</a> • <a class="text-nowrap" href="command-line-options.html#interword-spacing">-interword-spacing</a> • <a class="text-nowrap" href="command-line-options.html#kerning">-kerning</a> • <a class="text-nowrap" href="command-line-options.html#kmeans">-kmeans</a> • <a class="text-nowrap" href="command-line-options.html#kuwahara">-kuwahara</a> • <a class="text-nowrap" href="command-line-options.html#label">-label</a> • <a class="text-nowrap" href="command-line-options.html#lat">-lat</a> • <a class="text-nowrap" href="command-line-options.html#layers">-layers</a> • <a class="text-nowrap" href="command-line-options.html#level">-level</a> • <a class="text-nowrap" href="command-line-options.html#level-colors">-level-colors</a> • <a class="text-nowrap" href="command-line-options.html#limit">-limit</a> • <a class="text-nowrap" href="command-line-options.html#linear-stretch">-linear-stretch</a> • <a class="text-nowrap" href="command-line-options.html#linewidth">-linewidth</a> • <a class="text-nowrap" href="command-line-options.html#liquid-rescale">-liquid-rescale</a> • <a class="text-nowrap" href="command-line-options.html#list">-list</a> • <a class="text-nowrap" href="command-line-options.html#log">-log</a> • <a class="text-nowrap" href="command-line-options.html#loop">-loop</a> • <a class="text-nowrap" href="command-line-options.html#lowlight-color">-lowlight-color</a> • <a class="text-nowrap" href="command-line-options.html#magnify">-magnify</a> • <a class="text-nowrap" href="command-line-options.html#map">-map</a> • <a class="text-nowrap" href="command-line-options.html#map_stream_">-map[stream]</a> • <a class="text-nowrap" href="command-line-options.html#mattecolor">-mattecolor</a> • <a class="text-nowrap" href="command-line-options.html#median">-median</a> • <a class="text-nowrap" href="command-line-options.html#mean-shift">-mean-shift</a> • <a class="text-nowrap" href="command-line-options.html#metric">-metric</a> • <a class="text-nowrap" href="command-line-options.html#mode">-mode</a> • <a class="text-nowrap" href="command-line-options.html#modulate">-modulate</a> • <a class="text-nowrap" href="command-line-options.html#moments">-moments</a> • <a class="text-nowrap" href="command-line-options.html#monitor">-monitor</a> • <a class="text-nowrap" href="command-line-options.html#monochrome">-monochrome</a> • <a class="text-nowrap" href="command-line-options.html#morph">-morph</a> • <a class="text-nowrap" href="command-line-options.html#morphology">-morphology</a> • <a class="text-nowrap" href="command-line-options.html#mosaic">-mosaic</a> • <a class="text-nowrap" href="command-line-options.html#motion-blur">-motion-blur</a> • <a class="text-nowrap" href="command-line-options.html#name">-name</a> • <a class="text-nowrap" href="command-line-options.html#negate">-negate</a> • <a class="text-nowrap" href="command-line-options.html#noise">-noise</a> • <a class="text-nowrap" href="command-line-options.html#normalize">-normalize</a> • <a class="text-nowrap" href="command-line-options.html#opaque">-opaque</a> • <a class="text-nowrap" href="command-line-options.html#ordered-dither">-ordered-dither</a> • <a class="text-nowrap" href="command-line-options.html#orient">-orient</a> • <a class="text-nowrap" href="command-line-options.html#page">-page</a> • <a class="text-nowrap" href="command-line-options.html#paint">-paint</a> • <a class="text-nowrap" href="command-line-options.html#path">-path</a> • <a class="text-nowrap" href="command-line-options.html#pause_animate_">-pause[animate]</a> • <a class="text-nowrap" href="command-line-options.html#pause_import_">-pause[import]</a> • <a class="text-nowrap" href="command-line-options.html#perceptible">-perceptible</a> • <a class="text-nowrap" href="command-line-options.html#ping">-ping</a> • <a class="text-nowrap" href="command-line-options.html#pointsize">-pointsize</a> • <a class="text-nowrap" href="command-line-options.html#polaroid">-polaroid</a> • <a class="text-nowrap" href="command-line-options.html#poly">-poly</a> • <a class="text-nowrap" href="command-line-options.html#posterize">-posterize</a> • <a class="text-nowrap" href="command-line-options.html#precision">-precision</a> • <a class="text-nowrap" href="command-line-options.html#preview">-preview</a> • <a class="text-nowrap" href="command-line-options.html#print">-print</a> • <a class="text-nowrap" href="command-line-options.html#process">-process</a> • <a class="text-nowrap" href="command-line-options.html#profile">-profile</a> • <a class="text-nowrap" href="command-line-options.html#quality">-quality</a> • <a class="text-nowrap" href="command-line-options.html#quantize">-quantize</a> • <a class="text-nowrap" href="command-line-options.html#quiet">-quiet</a> • <a class="text-nowrap" href="command-line-options.html#radial-blur">-radial-blur</a> • <a class="text-nowrap" href="command-line-options.html#raise">-raise</a> • <a class="text-nowrap" href="command-line-options.html#random-threshold">-random-threshold</a> • <a class="text-nowrap" href="command-line-options.html#range-threshold">-range-threshold</a> • <a class="text-nowrap" href="command-line-options.html#read-mask">-read-mask</a> • <a class="text-nowrap" href="command-line-options.html#red-primary">-red-primary</a> • <a class="text-nowrap" href="command-line-options.html#regard-warnings">-regard-warnings</a> • <a class="text-nowrap" href="command-line-options.html#region">-region</a> • <a class="text-nowrap" href="command-line-options.html#remap">-remap</a> • <a class="text-nowrap" href="command-line-options.html#remote">-remote</a> • <a class="text-nowrap" href="command-line-options.html#render">-render</a> • <a class="text-nowrap" href="command-line-options.html#repage">-repage</a> • <a class="text-nowrap" href="command-line-options.html#resample">-resample</a> • <a class="text-nowrap" href="command-line-options.html#resize">-resize</a> • <a class="text-nowrap" href="command-line-options.html#respect-parentheses">-respect-parentheses</a> • <a class="text-nowrap" href="command-line-options.html#reverse">-reverse</a> • <a class="text-nowrap" href="command-line-options.html#roll">-roll</a> • <a class="text-nowrap" href="command-line-options.html#rotate">-rotate</a> • <a class="text-nowrap" href="command-line-options.html#sample">-sample</a> • <a class="text-nowrap" href="command-line-options.html#sampling-factor">-sampling-factor</a> • <a class="text-nowrap" href="command-line-options.html#scale">-scale</a> • <a class="text-nowrap" href="command-line-options.html#scene">-scene</a> • <a class="text-nowrap" href="command-line-options.html#screen">-screen</a> • <a class="text-nowrap" href="command-line-options.html#seed">-seed</a> • <a class="text-nowrap" href="command-line-options.html#segment">-segment</a> • <a class="text-nowrap" href="command-line-options.html#selective-blur">-selective-blur</a> • <a class="text-nowrap" href="command-line-options.html#separate">-separate</a> • <a class="text-nowrap" href="command-line-options.html#sepia-tone">-sepia-tone</a> • <a class="text-nowrap" href="command-line-options.html#set">-set</a> • <a class="text-nowrap" href="command-line-options.html#shade">-shade</a> • <a class="text-nowrap" href="command-line-options.html#shadow">-shadow</a> • <a class="text-nowrap" href="command-line-options.html#shared-memory">-shared-memory</a> • <a class="text-nowrap" href="command-line-options.html#sharpen">-sharpen</a> • <a class="text-nowrap" href="command-line-options.html#shave">-shave</a> • <a class="text-nowrap" href="command-line-options.html#shear">-shear</a> • <a class="text-nowrap" href="command-line-options.html#sigmoidal-contrast">-sigmoidal-contrast</a> • <a class="text-nowrap" href="command-line-options.html#silent">-silent</a> • <a class="text-nowrap" href="command-line-options.html#similarity-threshold">-similarity-threshold</a> • <a class="text-nowrap" href="command-line-options.html#size">-size</a> • <a class="text-nowrap" href="command-line-options.html#sketch">-sketch</a> • <a class="text-nowrap" href="command-line-options.html#smush">-smush</a> • <a class="text-nowrap" href="command-line-options.html#snaps">-snaps</a> • <a class="text-nowrap" href="command-line-options.html#solarize">-solarize</a> • <a class="text-nowrap" href="command-line-options.html#sort-pixels">-sort-pixels</a> • <a class="text-nowrap" href="command-line-options.html#sparse-color">-sparse-color</a> • <a class="text-nowrap" href="command-line-options.html#splice">-splice</a> • <a class="text-nowrap" href="command-line-options.html#spread">-spread</a> • <a class="text-nowrap" href="command-line-options.html#statistic">-statistic</a> • <a class="text-nowrap" href="command-line-options.html#stegano">-stegano</a> • <a class="text-nowrap" href="command-line-options.html#stereo">-stereo</a> • <a class="text-nowrap" href="command-line-options.html#storage-type">-storage-type</a> • <a class="text-nowrap" href="command-line-options.html#stretch">-stretch</a> • <a class="text-nowrap" href="command-line-options.html#strip">-strip</a> • <a class="text-nowrap" href="command-line-options.html#stroke">-stroke</a> • <a class="text-nowrap" href="command-line-options.html#strokewidth">-strokewidth</a> • <a class="text-nowrap" href="command-line-options.html#style">-style</a> • <a class="text-nowrap" href="command-line-options.html#subimage-search">-subimage-search</a> • <a class="text-nowrap" href="command-line-options.html#swap">-swap</a> • <a class="text-nowrap" href="command-line-options.html#swirl">-swirl</a> • <a class="text-nowrap" href="command-line-options.html#synchronize">-synchronize</a> • <a class="text-nowrap" href="command-line-options.html#taint">-taint</a> • <a class="text-nowrap" href="command-line-options.html#text-font">-text-font</a> • <a class="text-nowrap" href="command-line-options.html#texture">-texture</a> • <a class="text-nowrap" href="command-line-options.html#threshold">-threshold</a> • <a class="text-nowrap" href="command-line-options.html#thumbnail">-thumbnail</a> • <a class="text-nowrap" href="command-line-options.html#tile">-tile</a> • <a class="text-nowrap" href="command-line-options.html#tile-offset">-tile-offset</a> • <a class="text-nowrap" href="command-line-options.html#tint">-tint</a> • <a class="text-nowrap" href="command-line-options.html#title">-title</a> • <a class="text-nowrap" href="command-line-options.html#transform">-transform</a> • <a class="text-nowrap" href="command-line-options.html#transparent">-transparent</a> • <a class="text-nowrap" href="command-line-options.html#transparent-color">-transparent-color</a> • <a class="text-nowrap" href="command-line-options.html#transpose">-transpose</a> • <a class="text-nowrap" href="command-line-options.html#transverse">-transverse</a> • <a class="text-nowrap" href="command-line-options.html#treedepth">-treedepth</a> • <a class="text-nowrap" href="command-line-options.html#trim">-trim</a> • <a class="text-nowrap" href="command-line-options.html#type">-type</a> • <a class="text-nowrap" href="command-line-options.html#undercolor">-undercolor</a> • <a class="text-nowrap" href="command-line-options.html#unique-colors">-unique-colors</a> • <a class="text-nowrap" href="command-line-options.html#units">-units</a> • <a class="text-nowrap" href="command-line-options.html#unsharp">-unsharp</a> • <a class="text-nowrap" href="command-line-options.html#update">-update</a> • <a class="text-nowrap" href="command-line-options.html#verbose">-verbose</a> • <a class="text-nowrap" href="command-line-options.html#version">-version</a> • <a class="text-nowrap" href="command-line-options.html#view">-view</a> • <a class="text-nowrap" href="command-line-options.html#vignette">-vignette</a> • <a class="text-nowrap" href="command-line-options.html#virtual-pixel">-virtual-pixel</a> • <a class="text-nowrap" href="command-line-options.html#visual">-visual</a> • <a class="text-nowrap" href="command-line-options.html#watermark">-watermark</a> • <a class="text-nowrap" href="command-line-options.html#wave">-wave</a> • <a class="text-nowrap" href="command-line-options.html#wavelet-denoise">-wavelet-denoise</a> • <a class="text-nowrap" href="command-line-options.html#weight">-weight</a> • <a class="text-nowrap" href="command-line-options.html#white-balance">-white-balance</a> • <a class="text-nowrap" href="command-line-options.html#white-point">-white-point</a> • <a class="text-nowrap" href="command-line-options.html#white-threshold">-white-threshold</a> • <a class="text-nowrap" href="command-line-options.html#window">-window</a> • <a class="text-nowrap" href="command-line-options.html#window-group">-window-group</a> • <a class="text-nowrap" href="command-line-options.html#write">-write</a> • <a class="text-nowrap" href="command-line-options.html#write-mask">-write-mask</a> </p>
<p class="lead magick-description">Below is list of command-line options recognized by the ImageMagick <a href="command-line-tools.html">command-line tools</a>. If you want a description of a particular option, click on the option name in the navigation bar above and you will go right to it. Unless otherwise noted, each option is recognized by the commands: <a href="../www/convert.html">convert</a> and <a href="mogrify.html">mogrify</a>.</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="adaptive-blur"></a>-adaptive-blur <var>radius</var>[x<var>sigma</var>]</h3>
+ <h2><a class="anchor" id="adaptive-blur"></a>-adaptive-blur <var>radius</var>[x<var>sigma</var>]</h2>
</div>
<p class="magick-description">Adaptively blur pixels, with decreasing effect near edges.</p>
@@ -105,7 +105,7 @@
defaults to 1.</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="adaptive-resize"></a>-adaptive-resize <var>geometry</var></h3>
+ <h2><a class="anchor" id="adaptive-resize"></a>-adaptive-resize <var>geometry</var></h2>
</div>
<p class="magick-description">Resize the image using data-dependent triangulation.</p>
@@ -117,7 +117,7 @@
href="command-line-options.html#gravity">-gravity</a> option has no effect.</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="adaptive-sharpen"></a>-adaptive-sharpen <var>radius</var>[x<var>sigma</var>]</h3>
+ <h2><a class="anchor" id="adaptive-sharpen"></a>-adaptive-sharpen <var>radius</var>[x<var>sigma</var>]</h2>
</div>
<p class="magick-description">Adaptively sharpen pixels, with increasing effect near edges.</p>
@@ -127,7 +127,7 @@
defaults to 1.</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="adjoin"></a>-adjoin</h3>
+ <h2><a class="anchor" id="adjoin"></a>-adjoin</h2>
</div>
<p class="magick-description">Join images into a single multi-image file.</p>
@@ -147,12 +147,12 @@
<p>Including a C-style integer format string in the output filename will
automagically enable <a href="command-line-options.html#adjoin">+adjoin</a> and are used to specify
where the <a href="command-line-options.html#scene">-scene</a> number is placed in the filenames. These
-strings, such as '<code>%d</code>' or '<code>%03d</code>', are familiar to those
-who have used the standard <code>printf()</code>' C-library function. As an
+strings, such as '<samp>%d</samp>' or '<samp>%03d</samp>', are familiar to those
+who have used the standard <samp>printf()</samp>' C-library function. As an
example, the command</p>
-<pre class="highlight"><code>magick logo: rose: -morph 15 my%02dmorph.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick logo: rose: -morph 15 my%02dmorph.jpg
+</samp></pre></ul>
<p>will create a sequence of 17 images (the two given plus 15 more created by
<a href="command-line-options.html#morph">-morph</a>), named: my00morph.jpg, my01morph.jpg,
@@ -169,8 +169,8 @@
<div style="margin: auto;">
- <h3><a class="anchor" id="affine"></a>-affine
- <var>s<sub>x</sub></var>,<var>r<sub>x</sub></var>,<var>r<sub>y</sub></var>,<var>s<sub>y</sub></var>[,<var>t<sub>x</sub></var>,<var>t<sub>y</sub></var>]</h3>
+ <h2><a class="anchor" id="affine"></a>-affine
+ <var>s<sub>x</sub></var>,<var>r<sub>x</sub></var>,<var>r<sub>y</sub></var>,<var>s<sub>y</sub></var>[,<var>t<sub>x</sub></var>,<var>t<sub>y</sub></var>]</h2>
</div>
<p class="magick-description">Set the drawing transformation matrix for combined rotating and scaling.</p>
@@ -208,24 +208,24 @@
respectively, is accomplished with the following.</p>
<p>See <a href="command-line-options.html#transform">-transform</a>, and the <a
-href="command-line-options.html#distort">-distort</a> method '<code>Affineprojection</code> for more
+href="command-line-options.html#distort">-distort</a> method '<samp>Affineprojection</samp> for more
information </p>
-<pre class="highlight"><code>-affine <var>s<sub>x</sub></var>,0,0,<var>s<sub>y</sub></var>
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>-affine <var>s<sub>x</sub></var>,0,0,<var>s<sub>y</sub></var>
+</samp></pre></ul>
<p>Translation by a displacement (<var>t<sub>x</sub></var>, <var>t<sub>y</sub></var>) is accomplished like so:</p>
-<pre class="highlight"><code>-affine 1,0,0,1,<var>t<sub>x</sub></var>,<var>t<sub>y</sub></var>
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>-affine 1,0,0,1,<var>t<sub>x</sub></var>,<var>t<sub>y</sub></var>
+</samp></pre></ul>
<p>Rotate clockwise about the origin (the upper left-hand corner) by an angle
<var>a</var> by letting <var>c</var> = cos(<var>a</var>), <var>s</var>
= sin(<var>a</var>), and using the following.</p>
-<pre class="highlight"><code>-affine <var>c</var>,<var>s</var>,-<var>s</var>,<var>c</var>
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>-affine <var>c</var>,<var>s</var>,-<var>s</var>,<var>c</var>
+</samp></pre></ul>
<p>The cumulative effect of a sequence of <a href="command-line-options.html#affine" >-affine</a>
transformations can be accomplished by instead by a single <a href="command-line-options.html#affine"
@@ -236,7 +236,7 @@
matrix determinant has a sufficiently small absolute value it is rejected.</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="alpha"></a>-alpha <var>type</var></h3>
+ <h2><a class="anchor" id="alpha"></a>-alpha <var>type</var></h2>
</div>
<p class="magick-description">Gives control of the alpha/matte channel of an image.</p>
@@ -244,7 +244,7 @@
<p>Used to set a flag on an image indicating whether or not to use existing alpha
channel data, to create an alpha channel, or to perform other operations on the alpha channel. Choose the argument <var>type</var> from the list below.</p>
-<div class="pre-scrollable highlight">
+<div class="pre-scrollable bg-light text-dark">
<dl class="row">
<dt class="col-md-4">Activate</dt>
<dd class="col-md-8">
@@ -322,15 +322,15 @@
</div>
<br/>
-<p>Note that while the obsolete <code>+matte</code> operation was the
-same as "<code><a href="command-line-options.html#alpha" >-alpha</a> Off</code>", the <code>
->-matte</code> operation was the same as "<code><a href="command-line-options.html#alpha" >-alpha</a>
-Set</code>" and not "<code><a href="command-line-options.html#alpha" >-alpha</a> On</code>". </p>
+<p>Note that while the obsolete <samp>+matte</samp> operation was the
+same as "<samp><a href="command-line-options.html#alpha" >-alpha</a> Off</samp>", the <samp>
+>-matte</samp> operation was the same as "<samp><a href="command-line-options.html#alpha" >-alpha</a>
+Set</samp>" and not "<samp><a href="command-line-options.html#alpha" >-alpha</a> On</samp>". </p>
-<div class="pre-scrollable highlight" style="margin: auto;">
- <h3><a class="anchor" id="annotate"></a>
+<div class="pre-scrollable bg-light text-dark" style="margin: auto;">
+ <h2><a class="anchor" id="annotate"></a>
-annotate <var>degrees</var> <var>text</var><br />
- -annotate <var>Xdegrees</var>x<var>Ydegrees</var> <var>text</var><br /> -annotate <var>Xdegrees</var>x<var>Ydegrees</var>{+-}<var>t<sub>x</sub></var>{+-}<var>t<sub>y</sub></var> <var>text</var><br /> -annotate {+-}<var>t<sub>x</sub></var>{+-}<var>t<sub>y</sub></var> <var>text</var></h3>
+ -annotate <var>Xdegrees</var>x<var>Ydegrees</var> <var>text</var><br /> -annotate <var>Xdegrees</var>x<var>Ydegrees</var>{+-}<var>t<sub>x</sub></var>{+-}<var>t<sub>y</sub></var> <var>text</var><br /> -annotate {+-}<var>t<sub>x</sub></var>{+-}<var>t<sub>y</sub></var> <var>text</var></h2>
</div>
<p class="magick-description">Annotate an image with text</p>
@@ -360,11 +360,11 @@
<p>Text is any UTF-8 encoded character sequence. If <var>text</var>
is of the form '@mytext.txt', the text is read from the file
-<code>mytext.txt</code>. Text in a file is taken literally; no embedded
+<samp>mytext.txt</samp>. Text in a file is taken literally; no embedded
formatting characters are recognized.</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="antialias"></a>-antialias</h3>
+ <h2><a class="anchor" id="antialias"></a>-antialias</h2>
</div>
<p class="magick-description">Enable/Disable of the rendering of anti-aliasing pixels when drawing fonts and lines.</p>
@@ -376,7 +376,7 @@
are added when drawing such objects. </p>
<div style="margin: auto;">
- <h3><a class="anchor" id="append"></a>-append</h3>
+ <h2><a class="anchor" id="append"></a>-append</h2>
</div>
<p class="magick-description">Join current images vertically or horizontally.</p>
@@ -390,9 +390,11 @@
position relative to each other can be controlled by the current <a
href="command-line-options.html#gravity">-gravity</a> setting. </p>
+<p>For more flexible options, including the ability to add space between images,
+use <a href="command-line-options.html#smush">-smush</a>.</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="attenuate"></a>-attenuate <var>value</var></h3>
+ <h2><a class="anchor" id="attenuate"></a>-attenuate <var>value</var></h2>
</div>
<p class="magick-description">Lessen (or intensify) when adding noise to an image.</p>
@@ -400,7 +402,7 @@
<p>If unset the value is equivalent to 1.0, or a maximum noise addition</p>
<div style="margin: auto;">
- <h3><a class="anchor" id="authenticate"></a>-authenticate <var>password</var></h3>
+ <h2><a class="anchor" id="authenticate"></a>-authenticate <var>password</var></h2>
</div>
<p class="magick-description">Decrypt a PDF with a password.</p>
@@ -414,7 +416,7 @@
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/command-line-processing.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Processing</title>
+ <title>ImageMagick – Command-line Processing</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="Create, edit, compose, and convert digital images from the command-line." />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, processing, image processing software" />
@@ -96,16 +96,16 @@
<p class="lead magick-description">The ImageMagick command-line <a href="command-line-tools.html">tools</a> can be as simple as this:</p>
-<pre class="highlight"><code>magick image.jpg image.png </code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick image.jpg image.png </samp></pre></ul>
<p>Or it can be complex with a plethora of <a href="command-line-processing.html#option">options</a>, as in the following:</p>
-<pre class="highlight"><code>magick label.gif +matte \
+<ul><pre class="bg-light text-dark"><samp>magick label.gif +matte \
\( +clone -shade 110x90 -normalize -negate +clone -compose Plus -composite \) \
\( -clone 0 -shade 110x50 -normalize -channel BG -fx 0 +channel -matte \) \
- -delete 0 +swap -compose Multiply -composite button.gif");</code></pre>
+ -delete 0 +swap -compose Multiply -composite button.gif");</samp></pre></ul>
-<p class="text-info">This example command is long enough that the command must be written across several lines, so we formatted it for clarity by inserting backslashes (<code>\</code>). The backslash is the Unix <var>line-continuation</var> character. In the Windows shell, use a carat character (<code>^</code>) for line-continuation. We use the Unix style on these web pages, as above. Sometimes, however, the lines are wrapped by your browser if the browser window is small enough, but the command-lines, shown in white, are still intended to be typed as one line. Line continuation characters need not be entered. The <var>parentheses</var> that are <var>escaped</var> above using the backslash are not escaped in Windows. There are some other differences between Windows and Unix (involving quotation marks, for instance), but we'll discuss some of those issues later, as they arise. </p>
+<p class="text-info">This example command is long enough that the command must be written across several lines, so we formatted it for clarity by inserting backslashes (<samp>\</samp>). The backslash is the Linux <var>line-continuation</var> character. In the Windows shell, use a carat character (<samp>^</samp>) for line-continuation. We use the Linux style on these web pages, as above. Sometimes, however, the lines are wrapped by your browser if the browser window is small enough, but the command-lines, shown in white, are still intended to be typed as one line. Line continuation characters need not be entered. The <var>parentheses</var> that are <var>escaped</var> above using the backslash are not escaped in Windows. There are some other differences between Windows and Linux (involving quotation marks, for instance), but we'll discuss some of those issues later, as they arise. </p>
<p>Without knowing much about the ImageMagick command-line, you can probably surmise that the first command above converts an image in the JPEG format to one in the PNG format. However, very few may realize the second, more complex command, gives a flat two-dimensional label a three-dimensional look with rich textures and simulated depth:</p>
@@ -125,7 +125,7 @@
<p>Given the complexity of the rendering, you might be surprised it is accomplished by a single command-line:</p>
-<pre class="highlight"><code>magick -size 320x90 canvas:none -stroke snow4 -size 1x90 -tile gradient:white-snow4 \
+<ul><pre class="bg-light text-dark"><samp>magick -size 320x90 canvas:none -stroke snow4 -size 1x90 -tile gradient:white-snow4 \
-draw 'roundrectangle 16, 5, 304, 85 20,40' +tile -fill snow \
-draw 'roundrectangle 264, 5, 304, 85 20,40' -tile gradient:chartreuse-green \
-draw 'roundrectangle 16, 5, 180, 85 20,40' -tile gradient:chartreuse1-chartreuse3 \
@@ -135,7 +135,7 @@
-shadow 80x3+3+3 \) +swap -background none -layers merge \( +size -pointsize 90 \
-strokewidth 1 -fill red label:'50 %' -trim +repage \( +clone -background firebrick3 \
-shadow 80x3+3+3 \) +swap -background none -layers merge \) -insert 0 -gravity center \
- -append -background white -gravity center -extent 320x200 cylinder_shaded.png</code></pre>
+ -append -background white -gravity center -extent 320x200 cylinder_shaded.png</samp></pre></ul>
<p>In the next sections we dissect the anatomy of the ImageMagick command-line. Hopefully, after carefully reading and better understanding how the command-line works, you should be able to accomplish complex image-processing tasks without resorting to the sometimes daunting <a href="develop.html">program interfaces</a>.</p>
@@ -180,139 +180,139 @@
<p>These extensions are explained in the next few paragraphs.</p>
-<h5>Filename Globbing</h5>
-<p>In Unix shells, certain characters such as the asterisk (<code>*</code>) and question mark (<code>?</code>) automagically cause lists of filenames to be generated based on pattern matches. This feature is known as globbing. ImageMagick supports filename globbing for systems, such as Windows, that does not natively support it. For example, suppose you want to convert <code>1.jpg</code>, <code>2.jpg</code>, <code>3.jpg</code>, <code>4.jpg</code>, and <code>5.jpg</code> in your current directory to a GIF animation. You can conveniently refer to all of the JPEG files with this command:
+<h4>Filename Globbing</h4>
+<p>In Linux shells, certain characters such as the asterisk (<samp>*</samp>) and question mark (<samp>?</samp>) automagically cause lists of filenames to be generated based on pattern matches. This feature is known as globbing. ImageMagick supports filename globbing for systems, such as Windows, that does not natively support it. For example, suppose you want to convert <samp>1.jpg</samp>, <samp>2.jpg</samp>, <samp>3.jpg</samp>, <samp>4.jpg</samp>, and <samp>5.jpg</samp> in your current directory to a GIF animation. You can conveniently refer to all of the JPEG files with this command:
</p>
-<pre class="highlight"><code>magick *.jpg images.gif</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick *.jpg images.gif</samp></pre></ul>
-<h5>Explicit Image Format</h5>
+<h4>Explicit Image Format</h4>
<p>Images are stored in a myriad of image formats including
the better known JPEG, PNG, TIFF and others. ImageMagick must know the format
of the image before it can be read and processed. Most formats have a
signature within the image that uniquely identifies the format. Failing
that, ImageMagick leverages the filename extension to determine the format.
-For example, <code>image.jpg</code> or <code>image.JPG</code> tells ImageMagick
+For example, <samp>image.jpg</samp> or <samp>image.JPG</samp> tells ImageMagick
it is reading an image in the JPEG format. </p>
<p>In some cases the image may not contain a signature
and/or the filename does not identify the image format. In these cases an
explicit image format must be specified. For example, suppose our image
-is named <code>image</code> and contains raw red, green, and blue intensity
+is named <samp>image</samp> and contains raw red, green, and blue intensity
values. ImageMagick has no way to automagically determine the image format
so we explicitly set one:
</p>
-<pre class="highlight"><code>magick -size 640x480 -depth 8 rgb:image image.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 640x480 -depth 8 rgb:image image.png</samp></pre></ul>
-<h5>Built-in Images and Patterns</h5>
+<h4>Built-in Images and Patterns</h4>
<p>ImageMagick has a number of built-in <a href="formats.html#builtin-images">images</a> and <a href="formats.html#builtin-patterns">patterns</a>. To utilize the checkerboard pattern, for example, use:
</p>
-<pre class="highlight"><code>magick -size 640x480 pattern:checkerboard checkerboard.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 640x480 pattern:checkerboard checkerboard.png</samp></pre></ul>
-<h5>STDIN, STDOUT, and file descriptors</h5>
-<p>Unix and Windows permit the output of one command to be piped to the input of another. ImageMagick permits image data to be read and written from the <a href="http://en.wikipedia.org/wiki/Standard_streams">standard streams</a> STDIN (<var>standard in</var>) and STDOUT (<var>standard out</var>), respectively, using a pseudo-filename of <code>-</code>. In this example we pipe the output of
+<h4>STDIN, STDOUT, and file descriptors</h4>
+<p>Linux and Windows permit the output of one command to be piped to the input of another. ImageMagick permits image data to be read and written from the <a href="http://en.wikipedia.org/wiki/Standard_streams">standard streams</a> STDIN (<var>standard in</var>) and STDOUT (<var>standard out</var>), respectively, using a pseudo-filename of <samp>-</samp>. In this example we pipe the output of
<a href="magick.html">magick</a> to the <a href="display.html">display</a> program:
</p>
-<pre class="highlight"><code>magick logo: gif:- | display gif:-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick logo: gif:- | magick display gif:-</samp></pre></ul>
-<p>The second explicit format "<code>gif:</code>" is optional in the preceding example. The GIF image format has a unique signature within the image so ImageMagick's <a href="display.html">display</a> command can readily recognize the format as GIF. The <a href="magick.html">magick</a> program also accepts STDIN as input in this way:
+<p>The second explicit format "<samp>gif:</samp>" is optional in the preceding example. The GIF image format has a unique signature within the image so ImageMagick's <a href="display.html">display</a> command can readily recognize the format as GIF. The <a href="magick.html">magick</a> program also accepts STDIN as input in this way:
</p>
-<pre class="highlight"><code>magick rose: gif:- | magick - -resize "200%" bigrose.jpg'</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick rose: gif:- | magick - -resize "200%" bigrose.jpg'</samp></pre></ul>
-<p>Other pipes can be accessed via their <var>file descriptors</var> (as of version 6.4.9-3). The file descriptors 0, 1, and 2 are reserved for the standard streams STDIN, STDOUT, and STDERR, respectively, but a pipe associated with a file descriptor number <var>N</var>>2 can be accessed using the pseudonym <code>fd:</code><var>N</var>. (The pseudonyms <code>fd:0</code> and <code>fd:1</code> can be used for STDIN and STDOUT.) The next example shows how to append image data piped from files with descriptors 3 and 4 and direct the result to the file with descriptor number 5.
+<p>Other pipes can be accessed via their <var>file descriptors</var> (as of version 6.4.9-3). The file descriptors 0, 1, and 2 are reserved for the standard streams STDIN, STDOUT, and STDERR, respectively, but a pipe associated with a file descriptor number <var>N</var>>2 can be accessed using the pseudonym <samp>fd:</samp><var>N</var>. (The pseudonyms <samp>fd:0</samp> and <samp>fd:1</samp> can be used for STDIN and STDOUT.) The next example shows how to append image data piped from files with descriptors 3 and 4 and direct the result to the file with descriptor number 5.
</p>
-<pre class="highlight"><code>magick fd:3 fd:4 -append fd:5</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick fd:3 fd:4 -append fd:5</samp></pre></ul>
<p>When needed, explicit image formats can be given as mentioned earlier, as in the following.
</p>
-<pre class="highlight"><code>magick gif:fd:3 jpg:fd:4 -append tif:fd:5</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick gif:fd:3 jpg:fd:4 -append tif:fd:5</samp></pre></ul>
-<h5>Selecting Frames</h5>
+<h4>Selecting Frames</h4>
<p>Some images formats contain more than one image frame. Perhaps you only want the first image, or the last, or some number of images in-between. You can specify which image frames to read by appending the image filename with the frame range enclosed in brackets. Here our image (an animated GIF) contains more than one frame but we only want the first:
</p>
-<pre class="highlight"><code>magick 'images.gif[0]' image.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick 'images.gif[0]' image.png</samp></pre></ul>
-<p class="text-info">Unix shells generally interpret brackets so we enclosed the filename in quotes above.
-In a Windows command shell the brackets are not interpreted but using quotes doesn't hurt. However, in most cases the roles of single-quotes and double-quotes are reversed with respect to Unix and Windows, so Windows users should usually try double-quotes where we display single-quotes, and vice versa.
+<p class="text-info">Linux shells generally interpret brackets so we enclosed the filename in quotes above.
+In a Windows command shell the brackets are not interpreted but using quotes doesn't hurt. However, in most cases the roles of single-quotes and double-quotes are reversed with respect to Linux and Windows, so Windows users should usually try double-quotes where we display single-quotes, and vice versa.
</p>
<p>You can read more than one image from a sequence with a frame range. For example, you can extract the first four frames of an image sequence:
</p>
-<pre class="highlight"><code>magick 'images.gif[0-3]' images.mng</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick 'images.gif[0-3]' images.mng</samp></pre></ul>
-<p>The default is to step one frame at a time so frames 0, 1, 2, and 3 are returned. Set the step to 2 with <code>-define frames:step=2</code> and we instead get frames 0 and 2.</p>
+<p>The default is to step one frame at a time so frames 0, 1, 2, and 3 are returned. Set the step to 2 with <samp>-define frames:step=2</samp> and we instead get frames 0 and 2.</p>
<p>Finally, you can read more than one image from a sequence, out-of-order. The next command gets the third image in the sequence, followed by the second, and then the fourth:
</p>
-<pre class="highlight"><code>magick 'images.gif[3,2,4]' images.mng</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick 'images.gif[3,2,4]' images.mng</samp></pre></ul>
<p>Notice that in the last two commands, a single image is written. The output in this case, where the image type is MNG, is a multi-frame file because the MNG format supports multiple frames. Had the output format been JPG, which only supports single frames, the output would have consisted of separate frames. More about that below, in the section about the <a href="command-line-processing.html#output">Output Filename</a>.
</p>
-<h5>Selecting an Image Region</h5>
+<h4>Selecting an Image Region</h4>
<p>Raw images are a sequence of color intensities without additional meta information such as width, height, or image signature. With raw image formats, you must specify the image width and height but you can also specify a region of the image to read. In our example, the image is in the raw 8-bit RGB format and is 6000 pixels wide and 4000 pixels high. However, we only want a region of 600 by 400 near the center of the image:
</p>
-<pre class="highlight"><code>magick -size 6000x4000 -depth 8 'rgb:image[600x400+1900+2900]' image.jpg</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 6000x4000 -depth 8 'rgb:image[600x400+1900+2900]' image.jpg</samp></pre></ul>
<p>
You can get the same results with the <a class="text-nowrap" href="command-line-options.html#extract">-extract</a> option:
</p>
-<pre class="highlight"><code>magick -size 6000x4000 -depth 8 -extract 600x400+1900+2900 rgb:image image.jpg</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 6000x4000 -depth 8 -extract 600x400+1900+2900 rgb:image image.jpg</samp></pre></ul>
-<h5>Inline Image Resize</h5>
+<h4>Inline Image Resize</h4>
<p>It is sometimes convenient to resize an image as they are read. Suppose you have hundreds of large JPEG images you want to convert to a sequence of PNG thumbails:
</p>
-<pre class="highlight"><code>magick '*.jpg' -resize 120x120 thumbnail%03d.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick '*.jpg' -resize 120x120 thumbnail%03d.png</samp></pre></ul>
<p>Here <var>all</var> the images are read and subsequently
resized. It is faster and less resource intensive to resize each image as it
is read:
</p>
-<pre class="highlight"><code>magick '*.jpg[120x120]' thumbnail%03d.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick '*.jpg[120x120]' thumbnail%03d.png</samp></pre></ul>
-<h5>Inline Image Crop</h5>
+<h4>Inline Image Crop</h4>
<p>It is sometimes convenient to crop an image as they are read. Suppose you have hundreds of large JPEG images you want to convert to a sequence of PNG thumbails:
</p>
-<pre class="highlight"><code>magick '*.jpg' -crop 120x120+10+5 thumbnail%03d.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick '*.jpg' -crop 120x120+10+5 thumbnail%03d.png</samp></pre></ul>
<p>Here <var>all</var> the images are read and subsequently cropped. It is faster and less resource-intensive to crop each image as it is read:
</p>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/command-line-tools.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools</title>
+ <title>ImageMagick – Command-line Tools</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="Command-line tools to create, edit, compose, and convert digital images." />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools, image processing software" />
@@ -114,10 +114,10 @@
<dt class="col-md-4"><a class="anchor" id="import"></a><a href="import.html">magick import</a></dt><dd class="col-md-8">save any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen.</dd>
<dt class="col-md-4"><a class="anchor" id="mogrify"></a><a href="mogrify.html">magick mogrify</a></dt><dd class="col-md-8">resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. Mogrify overwrites the original image file, whereas, <a href="magick.html">magick</a> writes to a different image file.</dd>
<dt class="col-md-4"><a class="anchor" id="montage"></a><a href="montage.html">magick montage</a></dt><dd class="col-md-8">create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more.</dd>
- <dt class="col-md-4"><a class="anchor" id="stream"></a><a href="../www/stream.html">magick stream</a></dt><dd class="col-md-8">a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making <code>stream</code> desirable when working with large images or when you require raw pixel components.</dd>
+ <dt class="col-md-4"><a class="anchor" id="stream"></a><a href="../www/stream.html">magick stream</a></dt><dd class="col-md-8">a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making <samp>stream</samp> desirable when working with large images or when you require raw pixel components.</dd>
</dl>
<p>Your installation may have direct ImageMagick version 6 compatibility links. If so, you can access the tools directly by referring to them by name. For example,
-<pre class="highlight"><code>magick identify -verbose myImage.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick identify -verbose myImage.png</samp></pre></ul>
</div>
</div>
@@ -148,4 +148,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:34 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:07 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/compare.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Compare</title>
+ <title>ImageMagick – Command-line Tools: Compare</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, compare, image processing software" />
@@ -94,16 +94,15 @@
<h1 class="text-center">Image Simularity Comparison</h1>
<p class="text-center"><a href="compare.html#usage">Example Usage</a> • <a href="compare.html#options">Option Summary</a></p>
-<p class="lead magick-description">Use the <code>compare</code> program to mathematically and visually annotate the difference between an image and its reconstruction. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>compare</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>compare</samp> program to mathematically and visually annotate the difference between an image and its reconstruction. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>compare</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>compare</code> command here to illustrate its usefulness and ease of use. To get started, lets compare an image to one thats been sharpened:</p>
+<p>We list a few examples of the <samp>compare</samp> command here to illustrate its usefulness and ease of use. To get started, lets compare an image to one thats been sharpened:</p>
-<pre class="highlight"><code>magick rose.jpg -sharpen 0x1 reconstruct.jpg
+<ul><pre class="bg-light text-dark"><samp>magick rose.jpg -sharpen 0x1 reconstruct.jpg
magick compare rose.jpg reconstruct.jpg difference.png
-magick compare -compose src rose.jpg reconstruct.jpg difference.png
-</code></pre>
+magick compare -compose src rose.jpg reconstruct.jpg difference.png </samp></pre></ul>
<ul>
<a href="../images/rose.jpg"><img src="../images/rose.jpg" width="70" height="46" alt="rose" /></a>
@@ -116,33 +115,29 @@
<p>In addition to the visual interpretation of the difference in an image and its reconstruction, we report a mathematical measure of the difference:</p>
-<pre class="highlight"><code>-> magick compare -verbose -metric mae rose.jpg reconstruct.jpg difference.png
+<ul><pre class="bg-light text-dark"><samp>$ magick compare -verbose -metric mae rose.jpg reconstruct.jpg difference.png
Image: rose.jpg
Channel distortion: MAE
red: 2282.91 (0.034835)
green: 1853.99 (0.0282901)
blue: 2008.67 (0.0306503)
- all: 1536.39 (0.0234439)
-</code></pre>
+ all: 1536.39 (0.0234439) </samp></pre></ul>
<p>Or, if you just want the red channel distortion, use this command:</p>
-<pre class="highlight"><code>-> magick compare -channel red -metric PSNR rose.jpg reconstruct.jpg difference.png
-19.63
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick compare -channel red -metric PSNR rose.jpg reconstruct.jpg difference.png
+19.63 </samp></pre></ul>
<p>Or, if you just want the overall image distortion, use this command:</p>
-<pre class="highlight"><code>-> magick compare -metric PSNR rose.jpg reconstruct.jpg difference.png
-28.31
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick compare -metric PSNR rose.jpg reconstruct.jpg difference.png
+28.31 </samp></pre></ul>
<p>If the reconstructed image is a subimage of the image, the compare program returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between:</p>
-<pre class="highlight"><code>-> magick compare -metric RMSE -subimage-search logo.png wizard.jpg similarity.gif
-85.05 (0.00129778) @ 353,157
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick compare -metric RMSE -subimage-search logo.png wizard.jpg similarity.tif
+85.05 (0.00129778) @ 353,157 </samp></pre></ul>
-<p>You can find additional examples of using <code>compare</code> in <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>compare</samp> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<p>Two images are considered similar if their difference according to the specified metric and fuzz value is 0, with the exception of the normalized cross correlation metric (NCC), where two images are considered similar when their normalized cross correlation is 1. The default metric is NCC.</p>
@@ -150,7 +145,7 @@
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>compare</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>compare</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -466,4 +461,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:42 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/compose.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Alpha Compositing</title>
+ <title>ImageMagick – Alpha Compositing</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="alpha, compositing, image processing software" />
@@ -224,10 +224,10 @@
this behavior. </p>
<p>On top of the above 12 Duff-Porter Alpha Composition methods, one special
-related method '<code>Copy</code>' has been provided. This is equivalent to
-using the '<code>Src</code>' with the special <a href="../www/command-line-options.html#define"
->-define</a> option '<code>compose:outside-overlay</code>' set to
-'<code>false</code>', so as to only modify the overlaid area, without clearing
+related method '<samp>Copy</samp>' has been provided. This is equivalent to
+using the '<samp>Src</samp>' with the special <a href="../www/command-line-options.html#define"
+>-define</a> option '<samp>compose:outside-overlay</samp>' set to
+'<samp>false</samp>', so as to only modify the overlaid area, without clearing
the rest of the image outside the overlaid area. </p>
<p>The following mathematical composition methods are also available. </p>
@@ -471,7 +471,7 @@
<tr>
<td>copy</td>
<td>This is equivalent to the Duff-Porter composition method
- '<code>Src,</code>' but without clearing the parts of the destination
+ '<samp>Src,</samp>' but without clearing the parts of the destination
image that is not overlaid. </td>
</tr>
@@ -481,7 +481,7 @@
Magenta, Yellow, Black, or Opacity) in the source image to the
same channel in the destination image. If the channel specified
does not exist in the source image, (which can only happen for methods,
- '<code>copy-opacity</code>' or '<code>copy-black</code>') then it is
+ '<samp>copy-opacity</samp>' or '<samp>copy-black</samp>') then it is
assumed that the source image is a special grayscale channel image
of the values that is to be copied. </td>
</tr>
@@ -505,24 +505,22 @@
the two images that are being merged or overlaid, but have some extra numerical
arguments, which are tabled below. </p>
-<p>In the "<code>composite</code>" command these composition methods are
+<p>In the "<samp>composite</samp>" command these composition methods are
selected using special options with the arguments needed. They are usually,
but not always, the same name as the composite 'method' they use, and replaces
the normal use of the <a href="../www/command-line-options.html#compose" >-compose</a>
-setting in the "<code>composite</code>" command. For example... </p>
+setting in the "<samp>composite</samp>" command. For example... </p>
-<pre class="highlight"><code>composite ... -blend 50x50 ...
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>composite ... -blend 50x50 ... </samp></pre></ul>
-<p>The "<code>magick</code>" command can accept these extra arguments to its <a href="../www/command-line-options.html#composite"
+<p>The "<samp>magick</samp>" command can accept these extra arguments to its <a href="../www/command-line-options.html#composite"
>-composite</a> operator, using the special <a href="../www/command-line-options.html#define">-define</a>
-attribute of '<code class="arg">compose:args</code>'. This means you can now
+attribute of '<code class="arg">compose:args</samp>'. This means you can now
make use of these special augmented <a href="../www/command-line-options.html#compose"
>-compose</a> methods, those the argument and the method both need to be set
separately. For example... </p>
-<pre class="highlight"><code>magick ... -compose blend -define compose:args=50,50 -composite ...
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick ... -compose blend -define compose:args=50,50 -composite ... </samp></pre></ul>
<p>The following is a table of these special 'argumented' compose methods,
with a brief summary of what they do. For more details see the equivalent
@@ -539,11 +537,11 @@
<td>dissolve</td>
<td>Arguments:
<var>src_percent</var>[x<var>dst_percent</var>]
- <br/>Equivalent to "<code>composite</code>" <a href="../www/command-line-options.html#dissolve">-dissolve</a>
+ <br/>Equivalent to "<samp>composite</samp>" <a href="../www/command-line-options.html#dissolve">-dissolve</a>
<br/>Dissolve the 'source' image by the percentage given before overlaying
'over' the 'destination' image. If <var>src_percent</var> is
greater than 100, it starts dissolving the main image so it will
- become transparent at a value of '<code class="arg">200</code>'. If
+ become transparent at a value of '<code class="arg">200</samp>'. If
both percentages are given, each image are dissolved to the
percentages given.
</td>
@@ -553,24 +551,24 @@
<td>blend</td>
<td>Arguments:
<var>src_percent</var>[x<var>dst_percent</var>]
- <br/>Equivalent to "<code>composite</code>" <a
+ <br/>Equivalent to "<samp>composite</samp>" <a
href="../www/command-line-options.html#blend">-blend</a>
<br/>Average the images together ('plus') according to the percentages
given and each pixels transparency. If only a single percentage value
is given it sets the weight of the composite or 'source' image, while
the background image is weighted by the exact opposite amount. That is
- a <code>-blend 30</code> merges 30% of the 'source' image with 70% of
- the 'destination' image. Thus it is equivalent to <code>-blend
- 30x70</code>.
+ a <samp>-blend 30</samp> merges 30% of the 'source' image with 70% of
+ the 'destination' image. Thus it is equivalent to <samp>-blend
+ 30x70</samp>.
</td>
</tr>
<tr>
<td>mathematics</td>
<td>Arguments: <var>A, B, C, D</var>
- <br/>Not available in "<code>composite</code>" at this time.
+ <br/>Not available in "<samp>composite</samp>" at this time.
<br/>Merge the source and destination images according to the formula
- <br/> <code>A*Sc*Dc + B*Sc + C*Dc + D</code>
+ <br/> <samp>A*Sc*Dc + B*Sc + C*Dc + D</samp>
<br/>Can be used to generate a custom composition method that would
otherwise need to be implemented using the slow <a
href="../www/command-line-options.html#fx">-fx</a> DIY image operator.
@@ -581,7 +579,7 @@
<td>modulate</td>
<td>Arguments:
<var>brightness</var>[x<var>saturation</var>]
- <br/>Equivalent to "<code>composite</code>" <a href="../www/command-line-options.html#watermark">-watermark</a>
+ <br/>Equivalent to "<samp>composite</samp>" <a href="../www/command-line-options.html#watermark">-watermark</a>
<br/>Take a grayscale image (with alpha mask) and modify the destination
image's brightness according to watermark image's grayscale value and
the <var>brightness</var> percentage. The destinations
@@ -595,7 +593,7 @@
<td>displace</td>
<td>Arguments:
<var>X-scale</var>[x<var>Y-scale</var>][!][%]
- <br/>Equivalent to "<code>composite</code>" <a href="../www/command-line-options.html#displace">-displace</a>
+ <br/>Equivalent to "<samp>composite</samp>" <a href="../www/command-line-options.html#displace">-displace</a>
<br/>With this option, the 'overlay' image, and optionally the 'mask'
image, is used as a relative displacement map, which is used to
displace the lookup of what part of the destination image is seen at
@@ -623,7 +621,7 @@
<td>distort</td>
<td>Arguments:
<var>X-scale</var>[x<var>Y-scale</var>[+<var>X-center</var>+<var>Y-center</var>]][!][%]
- <br/>Not available in "<code>composite</code>" at this time.
+ <br/>Not available in "<samp>composite</samp>" at this time.
<br/>Exactly as per 'Displace' (above), but using absolute coordinates,
relative to the center of the overlay (or that given). Basically
allows you to generate absolute distortion maps where 'black' will
@@ -642,7 +640,7 @@
<td>blur</td>
<td>Arguments:
<var>Width</var>[x<var>Height</var>[+<var>Angle</var>][+<var>Angle2</var>]]
- <br/>Equivalent to "<code>composite</code>" <a href="../www/command-line-options.html#blur-composite">-blur</a>
+ <br/>Equivalent to "<samp>composite</samp>" <a href="../www/command-line-options.html#blur-composite">-blur</a>
<br/>A Variable Blur Mapping Composition method, where each pixel in the
overlaid region is replaced with an Elliptical Weighted Average (EWA),
with an ellipse (typically a circle) of the given sigma size, scaled
@@ -697,4 +695,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:08 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/composite.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Composite</title>
+ <title>ImageMagick – Command-line Tools: Composite</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, composite, image processing software" />
@@ -94,14 +94,13 @@
<h1 class="text-center">Overlap One Image over Another</h1>
<p class="text-center"><a href="composite.html#usage">Example Usage</a> • <a href="composite.html#options">Option Summary</a></p>
-<p class="lead magick-description">Use the <code>composite</code> program to overlap one image over another. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>composite</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>composite</samp> program to overlap one image over another. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>composite</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>composite</code> command here to illustrate its usefulness and ease of use. To get started, lets overlay a smiley face over a rose:</p>
+<p>We list a few examples of the <samp>composite</samp> command here to illustrate its usefulness and ease of use. To get started, lets overlay a smiley face over a rose:</p>
-<pre class="highlight"><code>magick composite -gravity center smile.gif rose: rose-over.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick composite -gravity center smile.gif rose: rose-over.png </samp></pre></ul>
<ul>
<a href="../images/smile.gif"><img src="../images/smile.gif" width="48" height="48" alt="smile" /></a>
@@ -113,11 +112,10 @@
<p>You can create three-dimensional effect with the <var>Atop</var>:</p>
-<pre class="highlight"><code>magick convert -size 70x70 canvas:none -fill red -draw 'circle 35,35 10,30' red-circle.png
+<ul><pre class="bg-light text-dark"><samp>magick convert -size 70x70 canvas:none -fill red -draw 'circle 35,35 10,30' red-circle.png
magick convert -size 70x70 canvas:none -draw 'circle 35,35 35,20' -negate \
-channel A -gaussian-blur 0x8 white-highlight.png
-magick composite -compose atop -geometry -13-17 white-highlight.png red-circle.png red-ball.png
-</code></pre>
+magick composite -compose atop -geometry -13-17 white-highlight.png red-circle.png red-ball.png </samp></pre></ul>
<ul>
<a href="../images/white-highlight.png"><img src="../images/white-highlight.png" width="70" height="70" alt="white highlight" /></a>
@@ -127,11 +125,11 @@
<a href="../images/red-ball.png"><img src="../images/red-ball.png" width="70" height="70" alt="red ball" /></a>
</ul>
-<p>You can find additional examples of using <code>composite</code> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>. You can find out more about them and the mathematics by looking at <a href="http://www.w3.org/TR/SVG12/rendering.html">SVG Alpha Compositing</a></p>
+<p>You can find additional examples of using <samp>composite</samp> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>. You can find out more about them and the mathematics by looking at <a href="http://www.w3.org/TR/SVG12/rendering.html">SVG Alpha Compositing</a></p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>composite</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>composite</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -568,4 +566,3 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/conjure.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Conjure</title>
+ <title>ImageMagick – Command-line Tools: Conjure</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, conjure, image processing software" />
@@ -93,18 +93,18 @@
<div class="magick-header">
<p class="text-center"><a href="conjure.html#usage">Example Usage</a> • <a href="conjure.html#options">Option Summary</a> • <a href="conjure.html#msl">Magick Scripting Language (MSL)</a> </p>
-<p class="lead magick-description">The <code>conjure</code> program gives you the ability to perform custom image processing tasks from a script written in the Magick Scripting Language (MSL). MSL is XML-based and consists of action statements with attributes. Actions include reading an image, processing an image, getting attributes from an image, writing an image, and more. An attribute is a key/value pair that modifies the behavior of an action. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>conjure</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">The <samp>conjure</samp> program gives you the ability to perform custom image processing tasks from a script written in the Magick Scripting Language (MSL). MSL is XML-based and consists of action statements with attributes. Actions include reading an image, processing an image, getting attributes from an image, writing an image, and more. An attribute is a key/value pair that modifies the behavior of an action. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>conjure</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>conjure</code> command here to illustrate its usefulness and ease of use. To get started, here is simple <code>conjure</code> command:</p>
+<p>We list a few examples of the <samp>conjure</samp> command here to illustrate its usefulness and ease of use. To get started, here is simple <samp>conjure</samp> command:</p>
-<pre class="highlight"><code>magick conjure -dimensions 400x400 msl:incantation.msl
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick conjure -dimensions 400x400 msl:incantation.msl
+</samp></pre></ul>
<p>The MSL script <a href="https://imagemagick.org/source/incantation.msl">incantation.msl</a> used above is here:</p>
-<pre class="highlight"><code><?xml version="1.0" encoding="UTF-8"?>
+<ul><pre class="bg-light text-dark"><samp><?xml version="1.0" encoding="UTF-8"?>
<image>
<read filename="image.gif" />
<get width="base-width" height="base-height" />
@@ -113,11 +113,11 @@
<print output="Image sized from %[base-width]x%[base-height] to %[resize-width]x%[resize-height].\n" />
<write filename="image.png" />
</image>
-</code></pre>
+</samp></pre></ul>
<p>In this example, a family stayed home for their vacation but as far as their friends are concerned they went to a beautiful beach in the Caribbean:</p>
-<pre class="highlight"><code><?xml version="1.0" encoding="UTF-8"?>
+<ul><pre class="bg-light text-dark"><samp><?xml version="1.0" encoding="UTF-8"?>
<group>
<image id="family">
<read filename="family.gif"/>
@@ -134,20 +134,20 @@
</image>
<write filename="family-vacation.png"/>
</group>
-</code></pre>
+</samp></pre></ul>
<p>Here we display the width in pixels of text for a particular font and pointsize.</p>
-<pre class="highlight"><code><?xml version="1.0" encoding="UTF-8"?>
+<ul><pre class="bg-light text-dark"><samp><?xml version="1.0" encoding="UTF-8"?>
<image>
<query-font-metrics text="ImageMagick" font="helvetica" pointsize="48" />
<print output="Text width is %[msl:font-metrics.width] pixels.\n" />
</image>
-</code></pre>
+</samp></pre></ul>
-<p>The <code>query-font-metrics</code> tag supports these properties:</p>
+<p>The <samp>query-font-metrics</samp> tag supports these properties:</p>
-<pre class="highlight"><code>msl:font-metrics.pixels_per_em.x
+<ul><pre class="bg-light text-dark"><samp>msl:font-metrics.pixels_per_em.x
msl:font-metrics.pixels_per_em.y
msl:font-metrics.ascent
msl:font-metrics.descent
@@ -160,27 +160,29 @@
msl:font-metrics.bounds.y2
msl:font-metrics.origin.x
msl:font-metrics.origin.y
-</code></pre>
+</samp></pre></ul>
<p>MSL supports most methods and attributes discussed in the <a href="../www/perl-magick.html">Perl API for ImageMagick</a>.
</p>
-<p>In addition, MSL supports the <code>swap</code> element with a single <code>indexes</code> element.</p>
+<p>In addition, MSL supports the <samp>swap</samp> element with a single <samp>indexes</samp> element.</p>
-<p>You can find additional examples of using <code>conjure</code> in <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>conjure</samp> in <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>conjure</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>conjure</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
- <tbody>
+<thead>
<tr>
<th align="left">Option</th>
<th align="left">Description</th>
</tr>
+</thead>
+<tbody>
<tr>
<td><a href="command-line-options.html#debug">-debug <var>events</var></a></td>
<td>display copious debugging information</td>
@@ -230,15 +232,18 @@
</table>
<h2><a class="anchor" id="msl"></a>Magick Scripting Language</h2>
-<p>The <code>conjure</code> command recognizes these MSL elements. Any element with a strike-thru is not supported yet.</p>
-<table class="table table-sm table-hover">
+<p>The <samp>conjure</samp> command recognizes these MSL elements. Any element with a strike-thru is not supported yet.</p>
+<table class="table table-sm table-hover caption-top">
<caption>Magick Scripting Language (MSL)</caption>
-<tbody>
+<thead>
<tr>
<th>Method</th>
<th style="width: 40%;">Parameters</th>
<th style="width: 40%;">Description</th>
</tr>
+</thead>
+
+<tbody>
<tr>
<td><strike>adaptiveblur</strike></td>
<td>geometry="geometry", radius="double", sigma="double", bias="double", channel="All, Default, Alpha, Black, Blue, CMYK, Cyan, Gray, Green, Index, Magenta, Opacity, Red, RGB, Yellow"</td>
@@ -1176,4 +1181,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:33 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/connected-components.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Connected Components Labeling</title>
+ <title>ImageMagick – Connected Components Labeling</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="connected, components, labeling, image processing software" />
@@ -97,37 +97,37 @@
<a href="../images/objects.gif"><img src="../images/objects.gif" width="256" height="171" class="image-slices" alt="purse" /></a>
</ul>
<p>To identify the objects in this image, use this command:</p>
-<ul><pre class="highlight"><code>magick objects.gif -connected-components 4 -auto-level -depth 8 objects.png</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>magick objects.gif -connected-components 4 -auto-level -depth 8 objects.png</samp></pre></ul>
<p>The detected objects are uniquely labeled. Use auto leveling to visualize the detected objects:</p>
<ul>
<a href="../images/objects.png"><img src="../images/objects.png" width="256" height="171" class="image-slices" alt="Objects" /></a>
</ul>
<p>Object statistics is useful to review. To display them, use this command:</p>
-<ul><pre class="highlight"><code>magick objects.gif -define connected-components:verbose=true -connected-components 4 objects.png</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>magick objects.gif -define connected-components:verbose=true -connected-components 4 objects.png</samp></pre></ul>
<p>Five objects were detected in the source image with these statistics:</p>
-<ul><pre class="highlight"><code>Objects (id: bounding-box centroid area mean-color):
+<ul><pre class="bg-light text-dark"><samp>Objects (id: bounding-box centroid area mean-color):
0: 256x171+0+0 119.2,80.8 33117 srgb(0,0,0)
2: 120x135+104+18 159.5,106.5 8690 srgb(255,255,255)
3: 50x36+129+44 154.2,63.4 1529 srgb(0,0,0)
4: 21x23+0+45 8.8,55.9 409 srgb(255,255,255)
1: 4x10+252+0 253.9,4.1 31 srgb(255,255,255)
-</code></pre></ul>
-<p>Add <code>-define connected-components:exclude-header=true</code> to show the objects without the header-line. Add <code>-define connected-components:exclude-ids=true</code>.</p>
-<p>Use <code>-connected-components 8</code> to visit 8 neighbors rather than 4. By default, neighbor colors must be exact to be part of a unique object. Use the <a href="../www/command-line-options.html#fuzz">-fuzz</a> option to include pixels as part of an object that are <var>close</var> in color.</p>
+</samp></pre></ul>
+<p>Add <samp>-define connected-components:exclude-header=true</samp> to show the objects without the header-line. Add <samp>-define connected-components:exclude-ids=true</samp>.</p>
+<p>Use <samp>-connected-components 8</samp> to visit 8 neighbors rather than 4. By default, neighbor colors must be exact to be part of a unique object. Use the <a href="../www/command-line-options.html#fuzz">-fuzz</a> option to include pixels as part of an object that are <var>close</var> in color.</p>
<p>You might want to eliminate small objects by merging them with their larger neighbors. If so, use this command:</p>
-<ul><pre class="highlight"><code>magick objects.gif -define connected-components:area-threshold=410 -connected-components 4 \
- -auto-level objects.jpg</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>magick objects.gif -define connected-components:area-threshold=410 -connected-components 4 \
+ -auto-level objects.jpg</samp></pre></ul>
<p>Here are the expected results. Notice, how the small objects are now merged with the background.</p>
<ul>
<a href="../images/objects.jpg"><img src="../images/objects.jpg" width="256" height="171" class="image-slices" alt="Objects" /></a>
</ul>
<p>Notice how two of the objects were merged leaving three remaining objects:</p>
-<ul><pre class="highlight"><code>Objects (id: bounding-box centroid area mean-color):
+<ul><pre class="bg-light text-dark"><samp>Objects (id: bounding-box centroid area mean-color):
0: 256x171+0+0 118.0,80.4 33557 srgb(0,0,0)
2: 120x135+104+18 159.5,106.5 8690 srgb(255,255,255)
- 3: 50x36+129+44 154.2,63.4 1529 srgb(0,0,0)</code></pre></ul>
-<p>By default, the labeled image is grayscale. You can instead replace the object color in the labeled image with the mean-color from the source image. Simply add this setting, <code>-define connected-components:mean-color=true</code>, to your command line.</p>
-<p>Thresholds can optionally include ranges, e.g. <code>-define connected-components:area-threshold=410-1600</code>. To keep the background object, identify it with <code>-define connected-components:background-id=<var>object-id</var></code>. The default background object is the object with the largest area.</p>
+ 3: 50x36+129+44 154.2,63.4 1529 srgb(0,0,0)</samp></pre></ul>
+<p>By default, the labeled image is grayscale. You can instead replace the object color in the labeled image with the mean-color from the source image. Simply add this setting, <samp>-define connected-components:mean-color=true</samp>, to your command line.</p>
+<p>Thresholds can optionally include ranges, e.g. <samp>-define connected-components:area-threshold=410-1600</samp>. To keep the background object, identify it with <samp>-define connected-components:background-id=<var>object-id</var></samp>. The default background object is the object with the largest area.</p>
<p>In addition to area, there is support for these thresholding metrics:</p>
<ul>
<li>connected-components:angle-threshold (from equivalent ellipse)</li>
@@ -138,10 +138,10 @@
<li>connected-components:minor-axis-threshold (diameter from equivalent ellipse)</li>
<li>connected-components:perimeter-threshold</li>
</ul>
-<p>You may want to remove certain objects. Use <code>-define connected-components:remove-ids=<em>list-of-ids</em></code> (e.g. -define connected-components:remove-ids=2,4-5). Or use <code>-define connected-components:keep-ids=<em>list-of-ids</em></code> to keep these objects and merge all others. For convenience, you can keep the top objects with this option: <code>-define connected-components:keep-top=<em>number-of-objects</em></code>. Rather than object ids, you can instead remove or keep objects identified by there color, e.g. <code>-define connected-components:keep-colors=<em>red;green;blue</em></code>.</p>
-<p>Objects in your image may look homogeneous but have slightly different color values. By default, only pixels that match exactly are considered as part of a particular object. For slight variations of color in an object, use <code>-fuzz</code>. For example,</p>
-<ul><pre class="highlight"><code>magick star-map.png -fuzz 5% -define connected-components:verbose=true \
- -define connected-components:mean-color=true -connected-components 4 stars.gif</code></pre></ul>
+<p>You may want to remove certain objects. Use <samp>-define connected-components:remove-ids=<em>list-of-ids</em></samp> (e.g. -define connected-components:remove-ids=2,4-5). Or use <samp>-define connected-components:keep-ids=<em>list-of-ids</em></samp> to keep these objects and merge all others. For convenience, you can keep the top objects with this option: <samp>-define connected-components:keep-top=<em>number-of-objects</em></samp>. Rather than object ids, you can instead remove or keep objects identified by there color, e.g. <samp>-define connected-components:keep-colors=<em>red;green;blue</em></samp>.</p>
+<p>Objects in your image may look homogeneous but have slightly different color values. By default, only pixels that match exactly are considered as part of a particular object. For slight variations of color in an object, use <samp>-fuzz</samp>. For example,</p>
+<ul><pre class="bg-light text-dark"><samp>magick star-map.png -fuzz 5% -define connected-components:verbose=true \
+ -define connected-components:mean-color=true -connected-components 4 stars.gif</samp></pre></ul>
</div>
</div>
</main><!-- /.container -->
@@ -171,4 +171,3 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:13 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/contact.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Contact the Development Team</title>
+ <title>ImageMagick – Contact the Development Team</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="contact, the, development, team, image processing software" />
@@ -93,14 +93,14 @@
<div class="magick-header">
<div>
<h1 class="text-center">Contact the Wizards</h1>
- <p class="lead magick-description">Post here for any of the issues listed below. You can expect a response from our team if your issue is a sponsorship, <a href="license.html">license</a>, security, or paid support issue. If you require a response for any other issue, post to the ImageMagick public <a href="https://github.com/ImageMagick/ImageMagick/discussions">forums</a>. You can also post bug reports to the <a href="https://github.com/ImageMagick/ImageMagick/issues">issues</a> forum. Note, we do <u>not</u> offer sponsored links <u>nor do we respond to solicitations</u>.</p>
+ <p class="lead magick-description">Post here for any of the issues listed below. You can expect a response from our team if your issue is a sponsorship, <a href="license.html">license</a>, security, or paid support issue. If you require a response for any other issue, post to the ImageMagick public <a href="https://github.com/ImageMagick/ImageMagick/discussions">forums</a>. You can also post bug and security issues to the <a href="https://github.com/ImageMagick/ImageMagick/issues">issues</a> forum. Note, we do <u>not</u> offer sponsored links <u>nor do we respond to solicitations</u>.</p>
<fieldset>
<h2>Contact the Wizards</h2>
- <p>Enter this code, <code>
-1bf0c1</code>, in the Authenticate field and fill in the remaining fields. Press Send to forward your message to the ImageMagick wizards:</p>
+ <p>Enter this code, <samp>
+83c3aa</samp>, in the Authenticate field and fill in the remaining fields. Press Send to forward your message to the ImageMagick wizards:</p>
<br/>
<form method="post" name="post" id="post" action="https://imagemagick.org/script/contact.php" enctype="application/x-www-form-urlencoded">
- <div class="table-responsive" style="font-size:87.5% !important;">
+ <div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td><label id="authenticate" title="Your authentication code">Authenticate</label></td>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/convert.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Convert</title>
+ <title>ImageMagick – Command-line Tools: Convert</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="Convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more." />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, convert, image processing software" />
@@ -92,17 +92,15 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Convert Between Image Formats</h1>
-<p class="lead magick-description">Use the <code>magick</code> program to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>magick</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>magick</samp> program to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>magick</samp> command or see below for example usages of the command.</p>
-<p>We list a few examples of the <code>magick</code> command here to illustrate its usefulness and ease of use. To get started, lets convert an image in the JPEG format to PNG:</p>
+<p>We list a few examples of the <samp>magick</samp> command here to illustrate its usefulness and ease of use. To get started, lets convert an image in the JPEG format to PNG:</p>
-<pre class="highlight"><code>magick convert rose.jpg rose.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick convert rose.jpg rose.png</samp></pre></ul>
<p>Next, we reduce the image size before it is written to the PNG format:</p>
-<pre class="highlight"><code>magick convert rose.jpg -resize 50% rose.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick convert rose.jpg -resize 50% rose.png</samp></pre></ul>
<ul>
<a href="../images/rose.jpg">
@@ -116,10 +114,9 @@
<p>You can combine multiple image-processing operations to produce complex results:</p>
-<pre class="highlight"><code>magick convert -size 320x85 canvas:none -font Bookman-DemiItalic -pointsize 72 \
+<ul><pre class="bg-light text-dark"><samp>magick convert -size 320x85 canvas:none -font Bookman-DemiItalic -pointsize 72 \
-draw "text 25,60 \'Magick\'" -channel RGBA -blur 0x6 -fill darkred -stroke magenta \
- -draw "text 20,55 \'Magick\'" fuzzy-magick.png
-</code></pre>
+ -draw "text 20,55 \'Magick\'" fuzzy-magick.png</samp></pre></ul>
<ul>
<a href="../images/fuzzy-magick.png"><img src="../images/fuzzy-magick.png" width="320" height="85" alt="fuzzy-magick" /></a>
@@ -127,18 +124,17 @@
<p>or here we resize an image with improved quality:</p>
-<pre class="highlight"><code>magick convert input.png -colorspace RGB +sigmoidal-contrast 11.6933 \
+<ul><pre class="bg-light text-dark"><samp>magick convert input.png -colorspace RGB +sigmoidal-contrast 11.6933 \
-define filter:filter=Sinc -define filter:window=Jinc -define filter:lobes=3 \
- -resize 400% -sigmoidal-contrast 11.6933 -colorspace sRGB output.png');
-</code></pre>
+ -resize 400% -sigmoidal-contrast 11.6933 -colorspace sRGB output.png');</samp></pre></ul>
-<p>You can find additional examples of using <code>magick</code> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>magick</samp> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>magick</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>magick</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td><a href="../www/command-line-options.html#adaptive-blur">-adaptive-blur <var>geometry</var></a></td>
@@ -697,6 +693,11 @@
</tr>
<tr>
+ <td><a href="../www/command-line-options.html#illuminant">-illuminant <var>type</var></a></td>
+ <td>reference illuminant</td>
+ </tr>
+
+ <tr>
<td><a href="../www/command-line-options.html#implode">-implode <var>amount</var></a></td>
<td>implode image pixels about the center</td>
</tr>
@@ -1397,4 +1398,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:53 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/convex-hull.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Convex Hull</title>
+ <title>ImageMagick – Convex Hull</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="convex, hull, image processing software" />
@@ -102,7 +102,7 @@
magick [-fuzz <var>value</var>%] [-background <var>background-color</var>] -format "%[convex-hull]" info:
</pre></ul>
-<p>where the string format is sensitive to an optional <code>-fuzz</code> value and to an optional background color specified by the define. The command above will find the background color automatically according to the fuzz value unless the background color is defined. The fuzz value defaults to 0 when not specified.</p>
+<p>where the string format is sensitive to an optional <samp>-fuzz</samp> value and to an optional background color specified by the define. The command above will find the background color automatically according to the fuzz value unless the background color is defined. The fuzz value defaults to 0 when not specified.</p>
<p>For example, consider the following white rectangle on a black background:</p>
@@ -114,7 +114,7 @@
190,121 193,122 281,154 377,189 378,190 377,193 345,281 310,377 309,378 306,377 218,345 122,310 121,309 122,306 154,218 189,122 190,121
</pre></ul>
-<p>The convex hull may also be drawn as a polygon (filled or unfilled) using <code>-draw</code> as follows:</p>
+<p>The convex hull may also be drawn as a polygon (filled or unfilled) using <samp>-draw</samp> as follows:</p>
<ul><pre class="code">magick rect.png -set option:hull "%[convex-hull]" -fill none -stroke red -strokewidth 1 -draw "polygon %[hull]" blocks_hull.png</pre></ul>
@@ -136,12 +136,12 @@
<ul><img class="img-fluid d-block" src="../images/convex-hull-barn-closure.jpg" alt="[Convex Hull Barn Closure]" width="250" height="250" name="convert-hull-barn-closure" /></ul>
<h2><a class="anchor" id="box"></a>Minimum Bounding Box</h2>
-<p>Similar to the convex hull of the image foreground object(s), is the minimum bounding box. Use <code>%[minimum-bounding-box]</code> to return the points that make up the bounding box. In addition, these properties are set: <code>minimum-bounding-box:area</code>, <code>minimum-bounding-box:width</code>, <code>minimum-bounding-box:height</code>, and <code>minimum-bounding-box:angle</code>.
+<p>Similar to the convex hull of the image foreground object(s), is the minimum bounding box. Use <samp>%[minimum-bounding-box]</samp> to return the points that make up the bounding box. In addition, these properties are set: <samp>minimum-bounding-box:area</samp>, <samp>minimum-bounding-box:width</samp>, <samp>minimum-bounding-box:height</samp>, and <samp>minimum-bounding-box:angle</samp>.
-<ul><pre class="code">magick barn_rot20.png -fuzz 10% -background black -set MBR "%[minimum-bounding-box]" -fill none -stroke red -strokewidth 1 -draw "polygon %[MBR]" barn-mbr.png</pre></ul>
+<ul><pre class="code">magick barn_rot20.png -fuzz 10% -background gray25 -set MBR "%[minimum-bounding-box]" -fill none -stroke red -strokewidth 1 -draw "polygon %[MBR]" barn-mbr.png</pre></ul>
<h2><a class="anchor" id="unrotate"></a>Unrotate an Image</h2>
-<p>Use <code>%[minimum-bounding-box:unrotate]</code> to correct for any rotation the image may exhibit. Unless you specify the image orientation, the unrotate angle should properly align the image to the correct coordinate axis for angles <= 45. For angles > 45, the image will align with the wrong coordinate axis. Set the correct image orientation to ensure the proper unrotate angle is returned. Use <code>-define minimum-bounding-box:orientation=<em>{landscape,portrait}</em></code> to set the image orientation. Note, that like convex-hull, the string format is sensitive to an optional <a href="../www/command-line-options.html#fuzz">-fuzz</a> value and an optional <a href="../www/command-line-options.html#background">-background</a> color.</p>
+<p>Use <samp>%[minimum-bounding-box:unrotate]</samp> to correct for any rotation the image may exhibit. Unless you specify the image orientation, the unrotate angle should properly align the image to the correct coordinate axis for angles <= 45. For angles > 45, the image will align with the wrong coordinate axis. Set the correct image orientation to ensure the proper unrotate angle is returned. Use <samp>-define minimum-bounding-box:orientation=<em>{landscape,portrait}</em></samp> to set the image orientation. Note, that like convex-hull, the string format is sensitive to an optional <a href="../www/command-line-options.html#fuzz">-fuzz</a> value and an optional <a href="../www/command-line-options.html#background">-background</a> color.</p>
<p>The barn image above is rotated by 20 degrees. Here is how we can automatically correct for the rotation and return it to its original landscape orientation:
@@ -177,4 +177,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:09 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/defines.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Defines</title>
+ <title>ImageMagick – Defines</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="defines, image processing software" />
@@ -97,7 +97,7 @@
<p>This option creates one or more definitions for coders and decoders to use
while reading and writing image data. Definitions are generally used to
control image file format coder modules, and image processing operations,
-beyond what is provided by normal means. Defined settings are listed in <a href="../www/command-line-options.html#verbose">-verbose</a> information ("<code>info:</code>" output format) as "Artifacts". </p>
+beyond what is provided by normal means. Defined settings are listed in <a href="../www/command-line-options.html#verbose">-verbose</a> information ("<samp>info:</samp>" output format) as "Artifacts". </p>
<p>If <var>value</var> is missing for a definition, an empty-valued
definition of a flag is created with that name. This used to control on/off
@@ -112,20 +112,18 @@
<p>Such settings are global in scope, and affect all images and operations. </p>
-<pre class="highlight"><code>magick bilevel.tif -define ps:imagemask eps3:stencil.ps
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick bilevel.tif -define ps:imagemask eps3:stencil.ps </samp></pre></ul>
<p>Set attributes of the image registry by prefixing the value with
-<code>registry:</code>. For example, to set a temporary path to put work files,
+<samp>registry:</samp>. For example, to set a temporary path to put work files,
use:</p>
-<pre class="highlight"><code>-define registry:temporary-path=/data/tmp
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>-define registry:temporary-path=/data/tmp </samp></pre></ul>
<p>Here is a list of recognized defines:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
@@ -138,7 +136,12 @@
<tr>
<td>auto-threshold:verbose</td>
- <td>return derived threshold as the <code>auto-threshold:threshold</code> image property.</td>
+ <td>return derived threshold as the <samp>auto-threshold:threshold</samp> image property.</td>
+ </tr>
+
+ <tr>
+ <td>color:illuminant</td>
+ <td>reference illuminant, defaults to D65.</td>
</tr>
<tr>
@@ -338,6 +341,11 @@
</tr>
<tr>
+ <td>filename:literal=<var>true</var></td>
+ <td>By default, an output filename can contain <a href="../www/command-line-processing.html#output">embedded formatting characters</a>. Use this option to bypass interpretting embedded formatting characters and instead use the filename literally.</td>
+ </tr>
+
+ <tr>
<td>filter:option=<var>value</var></td>
<td>Set a filter option for use with <a href="../www/command-line-options.html#resize">-resize</a>.
See below for specific options.</td>
@@ -544,7 +552,7 @@
<tr>
<td>phash:normalize=<var>true</var></td>
<td>Normalize the phash metric by dividing by the number of channels
- specified by <code>-define phash:colorspaces</code> when using compare
+ specified by <samp>-define phash:colorspaces</samp> when using compare
-metric phash. (as of IM 7.0.3-8)</td>
</tr>
@@ -565,7 +573,7 @@
<tr>
<td>preserve-timestamp=<var>true|false</var></td>
- <td>Preserve file timestamp (<code>mogrify</code> only).</td>
+ <td>Preserve file timestamp (<samp>mogrify</samp> only).</td>
</tr>
<tr>
@@ -575,12 +583,12 @@
<tr>
<td>quantum:format=<var>type</var></td>
- <td>Set the type to <code>floating-point</code> to specify a floating-point
+ <td>Set the type to <samp>floating-point</samp> to specify a floating-point
format for raw files (e.g. GRAY:) or for MIFF and TIFF images in HDRI mode
to preserve negative values. If <a href="../www/command-line-options.html#depth">-depth</a> 16 is
included, the result is a single precision floating point format.
If <a href="../www/command-line-options.html#depth">-depth</a> 32 is included, the result is
- double precision floating point format. For signed pixel data, use <code>-define quantum:format=signed</code></td>
+ double precision floating point format. For signed pixel data, use <samp>-define quantum:format=signed</samp></td>
</tr>
<tr>
@@ -598,8 +606,8 @@
<tr>
<td>quantum:polarity=<var>photometric-interpretation</var></td>
<td>Set the photometric-interpretation of an image (typically for TIFF
- image file format) to either <code>min-is-black</code> (default) or
- <code>min-is-white</code>.</td>
+ image file format) to either <samp>min-is-black</samp> (default) or
+ <samp>min-is-white</samp>.</td>
</tr>
<tr>
@@ -719,6 +727,11 @@
</tr>
<tr>
+ <td>{caption,label}:{max,start}-pointsize=<var>value</var></td>
+ <td>This sets the bounding pointsize to use when searching for the maximum pointsize where the text annotation still fits within the image boundaries.</td>
+ </tr>
+
+ <tr>
<td>dcm:display-range=<var>reset</var></td>
<td>Set the display range to the minimum and maximum pixel values for the
DCM image format.</td>
@@ -762,6 +775,11 @@
</tr>
<tr>
+ <td>dng:no-auto-bright=<var>true</var></td>
+ <td>Disable the histogram-based white level.</td>
+ </tr>
+
+ <tr>
<td>dng:output-color=<var>value</var></td>
<td>Select the output colorspace. The choices are:
0 - Raw color (unique to each camera),
@@ -774,8 +792,8 @@
</tr>
<tr>
- <td>dng:use-auto-bright=<var>false</var></td>
- <td>Disable the histogram-based white level.</td>
+ <td>dng:read-thumbnail=<var>true</var></td>
+ <td>Read the embedded thumbnail and store it as a profile called 'dng:thumbnail'.</td>
</tr>
<tr>
@@ -791,7 +809,7 @@
<tr>
<td>dot:layout-engine=<var>value</var></td>
<td>Specify the layout engine for the DOT image format (e.g.
- <code>neato</code>).</td>
+ <samp>neato</samp>).</td>
</tr>
<tr>
@@ -814,6 +832,24 @@
</tr>
<tr>
+ <td>heic:chroma=<var>value</var></td>
+ <td>set the HEIC chroma parameter.</td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>heic:depth-image=<var>true</var></td>
+ <td>extract the depth image if the container has one.</td>
+ </td>
+ </tr>
+
+ <tr>
+ <td>heic:speed=<var>value</var></td>
+ <td>set the HEIC speed parameter.</td>
+ </td>
+ </tr>
+
+ <tr>
<td>heic:preserve-orientation=<var>true</var></td>
<td>Preserve the original EXIF orientation during HEIC decoding and rotate
the pixels accordingly. By default, EXIF orientation is reset to "1" to
@@ -879,16 +915,16 @@
<tr>
<td>jpeg:dct-method=<var>value</var></td>
- <td>Choose from <code>default</code>, <code>fastest</code>,
- <code>float</code>, <code>ifast</code>, and <code>islow</code>.</td>
+ <td>Choose from <samp>default</samp>, <samp>fastest</samp>,
+ <samp>float</samp>, <samp>ifast</samp>, and <samp>islow</samp>.</td>
</tr>
<tr>
<td>jpeg:extent=<var>value</var></td>
- <td>Restrict the maximum JPEG file size, for example <code>-define
- jpeg:extent=400KB</code>. The JPEG encoder will search for the highest
+ <td>Restrict the maximum JPEG file size, for example <samp>-define
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/develop.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Develop</title>
+ <title>ImageMagick – Develop</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="develop, image processing software" />
@@ -244,4 +244,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:59 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:07 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/display.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Display</title>
+ <title>ImageMagick – Command-line Tools: Display</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, display, image processing software" />
@@ -94,35 +94,31 @@
<h1 class="text-center">Image Viewer</h1>
<p class="text-center"><a href="display.html#usage">Example Usage</a> • <a href="display.html#options">Option Summary</a></p>
-<p class="lead magick-description">Use the <code>display</code> program to display an image or image sequence on any X server. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>display</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>display</samp> program to display an image or image sequence on any X server. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>display</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>display</code> command here to illustrate its usefulness and ease of use. To get started, lets display an image in the JPEG format:</p>
+<p>We list a few examples of the <samp>display</samp> command here to illustrate its usefulness and ease of use. To get started, lets display an image in the JPEG format:</p>
-<pre class="highlight"><code>magick display rose.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick display rose.jpg </samp></pre></ul>
<p>To tile a slate texture onto the root window, use:</p>
-<pre class="highlight"><code>magick display -size 1280x1024 -window root slate.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick display -size 1280x1024 -window root slate.png </samp></pre></ul>
<p>To display a visual image directory of all your JPEG images, use:</p>
-<pre class="highlight"><code>magick display 'vid:*.jpg'
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick display 'vid:*.jpg' </samp></pre></ul>
<p>The display program defaults to the X screen resolution. To display vector formats at their intended size, override the default resolution:</p>
-<pre class="highlight"><code>magick display -density 72 drawing.svg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick display -density 72 drawing.svg </samp></pre></ul>
-<p>You can find additional examples of using <code>display</code> in <a href="http://www.ibm.com/developerworks/library/l-graf/">Graphics from the Command Line</a>. Further discussion is available in <a href="https://www.ibm.com/developerworks/library/l-graf2/">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>display</samp> in <a href="http://www.ibm.com/developerworks/library/l-graf/">Graphics from the Command Line</a>. Further discussion is available in <a href="https://www.ibm.com/developerworks/library/l-graf2/">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>display</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>display</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -608,4 +604,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:35 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/distribute-pixel-cache.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Distributed Pixel Cache</title>
+ <title>ImageMagick – Distributed Pixel Cache</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="distributed, pixel, cache, image processing software" />
@@ -93,18 +93,16 @@
<div class="magick-header">
<h1 class="text-center">Distributed Pixel Cache</h1>
<p class="lead magick-description">A distributed pixel cache is an extension of the traditional pixel cache available on a single host. The distributed pixel cache may span multiple servers so that it can grow in size and transactional capacity to support very large images or large image sequences. Start up the pixel cache server on one or more hosts. When you read or operate on an image and the local pixel cache resources are exhausted, ImageMagick contacts one or more of these remote pixel servers to store or retrieve pixels.</p>
-<p>For really large images or large image sequences, or if there is limited resources on your host, you can utilize a distributed pixel cache on one or more remote hosts. To get started, first set your shared secret in the <code>policy.xml</code> security policy configuration file:</p>
-<pre class="highlight">
-<policy domain="cache" name="shared-secret" value="<em>passhrase</em>" stealth="true"/>
-</pre>
+<p>For really large images or large image sequences, or if there is limited resources on your host, you can utilize a distributed pixel cache on one or more remote hosts. To get started, first set your shared secret in the <samp>policy.xml</samp> security policy configuration file:</p>
+<ul><pre class="bg-light text-dark"><samp>
+<policy domain="cache" name="shared-secret" value="<em>passhrase</em>" stealth="true"/> </samp></pre></ul>
<p>Here we create two distributed pixel caches and utilize them from our desktop:</p>
-<pre class="highlight"><code>magick -distribute-cache 6668 & # start on 192.168.100.50
+<ul><pre class="bg-light text-dark"><samp>magick -distribute-cache 6668 & # start on 192.168.100.50
magick -distribute-cache 6668 & # start on 192.168.100.51
magick -limit memory 1GiB -limit map 2GiB -limit disk 4GiB \
-define registry:cache:hosts=192.168.100.50:6668,192.168.100.51:6668 \
- myhugeimage.jpg -sharpen 5x2 myhugeimage.png
-</code></pre>
+ myhugeimage.jpg -sharpen 5x2 myhugeimage.png </samp></pre></ul>
<p>For large image sequences, the servers are contacted in a round-robin fashion to distribute the load over multiple distributed pixel caches (assuming you have a host list rather than a single host). In our example, some modest resources are available on the desktop as defined by the -limit option. For smaller images, they are allocated on the desktop up to the specified limits.</p>
<p>Your image processing tasks are likely to perform slower when utilizing a distributed pixel cache due to pixels shuffling between the client and the server over a network. Algorithms that access virtual pixels (e.g. -sharpen) are noticeably slower, up to 3 times slower, than algorithms that only access authentic pixels (e.g. -negate) due to increased network traffic.</p>
<p>A client can only contact a compatible distributed pixel cache server. Compatibility requires the same ImageMagick library interface, quantum depth, HDRI status, OS word size, and endianness. The distributed pixel cache checks these attributes and exits if these requirements are not met.</p>
@@ -137,4 +135,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/download.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Download</title>
+ <title>ImageMagick – Download</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="Source and binary distributions are available for download." />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="download, image processing software" />
@@ -92,17 +92,17 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Download</h1>
-<p class="text-center"><a href="download.html#unix">Unix Binary Release</a> • <a href="download.html#macosx">Mac OS X Binary Release</a> • <a href="download.html#iOS">iOS Binary Release</a> • <a href="download.html#windows">Windows Binary Release</a></p>
+<p class="text-center"><a href="download.html#linux">Linux Binary Release</a> • <a href="download.html#macosx">Mac OS X Binary Release</a> • <a href="download.html#iOS">iOS Binary Release</a> • <a href="download.html#windows">Windows Binary Release</a></p>
-<p class="lead magick-description">You can install ImageMagick from <a href="../www/install-source.html">source</a>. However, if you don't have a proper development environment or if you're anxious to get started, download a ready-to-run <a href="download.html#unix">Unix</a> or <a href="download.html#windows">Windows</a> executable. Before you download, you may want to review recent <a href="../www/changelog.html">changes</a> to the ImageMagick distribution.</p>
+<p class="lead magick-description">You can install ImageMagick from <a href="../www/install-source.html">source</a>. However, if you don't have a proper development environment or if you're anxious to get started, download a ready-to-run <a href="download.html#linux">Linux</a> or <a href="download.html#windows">Windows</a> executable. Before you download, you may want to review recent <a href="../www/changelog.html">changes</a> to the ImageMagick distribution.</p>
<p>ImageMagick source and binary distributions are available from a variety of FTP and Web <a href="../www/mirror.html">mirrors</a> around the world.</p>
-<h2><a class="anchor" id="unix"></a>Unix Binary Release</h2>
+<h2><a class="anchor" id="linux"></a>Linux Binary Release</h2>
-<p>These are the Unix variations that we support. If your system is not on the list, try installing from <a href="../www/install-source.html">source</a>. Although ImageMagick runs fine on a single core computer, it automagically runs in parallel on multi-core systems reducing run times considerably.</p>
+<p>These are the Linux variations that we support. If your system is not on the list, try installing from <a href="../www/install-source.html">source</a>. Although ImageMagick runs fine on a single core computer, it automagically runs in parallel on multi-core systems reducing run times considerably.</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<col width="40%"/> <col width="60%"/>
<thead>
@@ -115,16 +115,16 @@
<tr>
<td><a href= "https://download.imagemagick.org/ImageMagick/download/binaries/magick">magick</a></td>
- <td>Complete portable application on Linux, no installation required. Just download and run. AppImages require <a href="https://github.com/AppImage/AppImageKit/wiki/FUSE">FUSE</a> and <code>libc</code> to run. Many distributions have a working FUSE setup out-of-the-box. However if it is not working for you, you must install and configure FUSE manually.</td>
+ <td>Complete portable application on Linux, no installation required. Just download and run. This <a href="https://appimage.org/">AppImage</a> has an open security policy. ImageMagick recommended practices <b>strongly</b> encourage you to configure a <a href="security-policy.html">security policy</a> that suits your local environment. Simply add a custom security policy in your local path, .e.g., `~/.config/ImageMagick/policy.xml` and verify with this command: `./magick -list policy`.</td>
</tr>
<tr>
- <td><a href= "https://download.imagemagick.org/ImageMagick/download/linux/CentOS/x86_64/ImageMagick-7.0.10-62.x86_64.rpm">ImageMagick-7.0.10-62.x86_64.rpm</a></td>
+ <td><a href= "https://download.imagemagick.org/ImageMagick/download/linux/CentOS/x86_64/ImageMagick-7.1.0-13.x86_64.rpm">ImageMagick-7.1.0-13.x86_64.rpm</a></td>
<td>Redhat / CentOS 8.3 x86_64 RPM</td>
</tr>
<tr>
- <td><a href= "https://download.imagemagick.org/ImageMagick/download/linux/CentOS/x86_64/ImageMagick-libs-7.0.10-62.x86_64.rpm">ImageMagick-libs-7.0.10-62.x86_64.rpm</a></td>
+ <td><a href= "https://download.imagemagick.org/ImageMagick/download/linux/CentOS/x86_64/ImageMagick-libs-7.1.0-13.x86_64.rpm">ImageMagick-libs-7.1.0-13.x86_64.rpm</a></td>
<td>Redhat / CentOS 8.3 x86_64 RPM</td>
</tr>
@@ -154,55 +154,52 @@
<p>ImageMagick RPM's are self-installing. Simply type the following command and you're ready to start using ImageMagick:</p>
-<ul><pre><span class="crtprompt">$ </span><span class='crtin'>rpm -Uvh ImageMagick-7.0.10-62.x86_64.rpm</span></pre></ul>
-<p>You'll need the libraries as well:</p>
-<ul><pre><span class="crtprompt">$ </span><span class='crtin'>rpm -Uvh ImageMagick-libs-7.0.10-62.x86_64.rpm</span></pre></ul>
-
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>rpm -Uvh ImageMagick-7.1.0-13.x86_64.rpm</span></code></pre></ul><p>You'll need the libraries as well:</p>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>rpm -Uvh ImageMagick-libs-7.1.0-13.x86_64.rpm</span></code></pre></ul>
<p>Note, if there are missing dependencies, install them from the <a href="https://fedoraproject.org/wiki/EPEL">EPEL</a> repo.</p>
<p>For other systems, create (or choose) a directory to install the package into and change to that directory, for example:</p>
-<ul><pre class="highlight"><code>cd $HOME</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>cd $HOME</samp></pre></ul>
<p>Next, extract the contents of the package. For example:</p>
-<ul><pre class="highlight"><code>tar xvzf ImageMagick.tar.gz</code></pre></ul>
-
-<p>Set the <code>MAGICK_HOME</code> environment variable to the path where you extracted the ImageMagick files. For example:</p>
+<ul><pre class="bg-light text-dark"><samp>tar xvzf ImageMagick.tar.gz</samp></pre></ul>
-<ul><pre><span class="crtprompt">$ </span><span class='crtin'>export MAGICK_HOME="$HOME/ImageMagick-7.0.10"</span></pre></ul>
+<p>Set the <samp>MAGICK_HOME</samp> environment variable to the path where you extracted the ImageMagick files. For example:</p>
-<p>If the <code>bin</code> subdirectory of the extracted package is not already in your executable search path, add it to your <code>PATH</code> environment variable. For example:</p>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>export MAGICK_HOME="$HOME/ImageMagick-7.1.0"</span></code></pre></ul>
+<p>If the <samp>bin</samp> subdirectory of the extracted package is not already in your executable search path, add it to your <samp>PATH</samp> environment variable. For example:</p>
-<ul><pre class="highlight"><code>export PATH="$MAGICK_HOME/bin:$PATH</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>export PATH="$MAGICK_HOME/bin:$PATH</samp></pre></ul>
-<p>On Linux and Solaris machines add <code>$MAGICK_HOME/lib</code> to the <code>LD_LIBRARY_PATH</code> environment variable:</p>
+<p>On Linux and Solaris machines add <samp>$MAGICK_HOME/lib</samp> to the <samp>LD_LIBRARY_PATH</samp> environment variable:</p>
-<ul><pre class="highlight"><code>LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$MAGICK_HOME/lib
-export LD_LIBRARY_PATH</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$MAGICK_HOME/lib
+export LD_LIBRARY_PATH</samp></pre></ul>
<p>Finally, to verify ImageMagick is working properly, type the following on the command line:</p>
-<ul><pre class="highlight"><code>magick logo: logo.gif
+<ul><pre class="bg-light text-dark"><samp>magick logo: logo.gif
identify logo.gif
-display logo.gif</code></pre></ul>
+display logo.gif</samp></pre></ul>
-<p>Congratulations, you have a working ImageMagick distribution under Unix or Linux and you are ready to use ImageMagick to <a href="https://legacy.imagemagick.org/Usage/">convert, compose, or edit</a> your images or perhaps you'll want to use one of the <a href="develop.html">Application Program Interfaces</a> for C, C++, Perl, and others.</p>
+<p>Congratulations, you have a working ImageMagick distribution under Linux or Linux and you are ready to use ImageMagick to <a href="https://legacy.imagemagick.org/Usage/">convert, compose, or edit</a> your images or perhaps you'll want to use one of the <a href="develop.html">Application Program Interfaces</a> for C, C++, Perl, and others.</p>
<h2><a class="anchor" id="macosx"></a>Mac OS X Binary Release</h2>
<p>We recommend <a href="https://brew.sh">Homebrew</a> which provides pre-built binaries for Mac (some users prefer <a href="https://macports.org">MacPorts</a>). Download HomeBrew and type:</p>
-<ul><pre class="highlight"><code>brew install imagemagick</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>brew install imagemagick</samp></pre></ul>
<p>ImageMagick depends on Ghostscript fonts. To install them, type:</p>
-<ul><pre class="highlight"><code>brew install ghostscript</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>brew install ghostscript</samp></pre></ul>
-<p>The <code>brew</code> command downloads and installs ImageMagick with many of its delegate libraries (e.g. JPEG, PNG, Freetype, etc). Homebrew <a href="https://github.com/Homebrew/homebrew-core/issues/31510">no longer allows</a> configurable builds; if you need different compile options (e.g. librsvg support), you can download the ImageMagick Mac OS X distribution we provide:</p>
+<p>The <samp>brew</samp> command downloads and installs ImageMagick with many of its delegate libraries (e.g. JPEG, PNG, Freetype, etc). Homebrew <a href="https://github.com/Homebrew/homebrew-core/issues/31510">no longer allows</a> configurable builds; if you need different compile options (e.g. librsvg support), you can download the ImageMagick Mac OS X distribution we provide:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<col width="40%"/> <col width="60%"/>
<thead>
@@ -223,31 +220,31 @@
<p>Create (or choose) a directory to install the package into and change to that directory, for example:</p>
-<ul><pre class="highlight"><code>cd $HOME</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>cd $HOME</samp></pre></ul>
<p>Next, extract the contents of the package. For example:</p>
-<ul><pre class="highlight"><code>tar xvzf ImageMagick-x86_64-apple-darwin20.1.0.tar.gz</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>tar xvzf ImageMagick-x86_64-apple-darwin20.1.0.tar.gz</samp></pre></ul>
-<p>Set the <code>MAGICK_HOME</code> environment variable to the path where you extracted the ImageMagick files. For example:</p>
+<p>Set the <samp>MAGICK_HOME</samp> environment variable to the path where you extracted the ImageMagick files. For example:</p>
-<pre><span class="crtprompt">$ </span><span class='crtin'>export MAGICK_HOME="$HOME/ImageMagick-7.0.10"</span></pre>
-<p>If the <code>bin</code> subdirectory of the extracted package is not already in your executable search path, add it to your <code>PATH</code> environment variable. For example:</p>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>export MAGICK_HOME="$HOME/ImageMagick-7.1.0"</span></code></pre></ul>
+<p>If the <samp>bin</samp> subdirectory of the extracted package is not already in your executable search path, add it to your <samp>PATH</samp> environment variable. For example:</p>
-<ul><pre class="highlight"><code>export PATH="$MAGICK_HOME/bin:$PATH"</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>export PATH="$MAGICK_HOME/bin:$PATH"</samp></pre></ul>
-<p>Set the <code>DYLD_LIBRARY_PATH</code> environment variable:</p>
+<p>Set the <samp>DYLD_LIBRARY_PATH</samp> environment variable:</p>
-<ul><pre class="highlight"><code>export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib/"</samp></pre></ul>
<p>Finally, to verify ImageMagick is working properly, type the following on the command line:</p>
-<ul><pre class="highlight"><code>magick logo: logo.gif
+<ul><pre class="bg-light text-dark"><samp>magick logo: logo.gif
identify logo.gif
-display logo.gif</code></pre></ul>
+display logo.gif</samp></pre></ul>
-<p><b>Note</b>, the <a href="display.html">display</a> program requires the X11 server available on your Mac OS X installation DVD. Once that is installed, you will also need to set <code>export DISPLAY=:0</code>.</p>
+<p><b>Note</b>, the <a href="display.html">display</a> program requires the X11 server available on your Mac OS X installation DVD. Once that is installed, you will also need to set <samp>export DISPLAY=:0</samp>.</p>
<p>The best way to deal with all the exports is to put them at the end of your .profile file</p>
@@ -257,7 +254,7 @@
<p><a href="http://www.cloudgoessocial.net/2011/03/21/im-xcode4-ios4-3/">~Claudio</a> provides iOS builds of ImageMagick.</p>
-<h5>Download iOS Distribution</h5>
+<h4>Download iOS Distribution</h4>
<p>You can download the iOS distribution directly from ImageMagick's <a href="https://download.imagemagick.org/ImageMagick/download/iOS">repository</a>.</p>
@@ -270,11 +267,11 @@
<p>The first one includes headers and compiled libraries that have been used to compile ImageMagick. Most users would need this one.</p>
-<h5>ImageMagick compiling script for iOS OS and iOS Simulator</h5>
+<h4>ImageMagick compiling script for iOS OS and iOS Simulator</h4>
<p>To run the script:</p>
-<ul><pre class="highlight"><code>./imagemagick_compile.sh <var>VERSION</var></code></pre></ul>
-<p>where <var>VERSION</var> is the version of ImageMagick you want to compile (i.e.: 7.0.10-62, svn, ...)</p>
+<ul><pre class="bg-light text-dark"><samp>./imagemagick_compile.sh <var>VERSION</var></samp></pre></ul>
+<p>where <var>VERSION</var> is the version of ImageMagick you want to compile (i.e.: 7.1.0-13, svn, ...)</p>
<p>This script compiles ImageMagick as a static library to be included in iOS projects and adds support for</p>
<ul>
@@ -283,9 +280,9 @@
<li>tiff</li>
</ul>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/escape.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Format and Print Image Properties</title>
+ <title>ImageMagick – Format and Print Image Properties</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="format, print, image, properties, image processing software" />
@@ -93,7 +93,7 @@
<div class="magick-header">
<p class="lead magick-description">There are copious amounts of extra data associated with images (metadata), beyond the actual image pixels. This metadata can be useful, either for display, or for various calculations, or in modifying the behavior of later image processing operations. You can utilize percent escapes in a number of options, for example in <a href="../www/command-line-options.html#format_identify_">-format</a> or in montage <a href="../www/command-line-options.html#label" >-label</a>, to print various properties and other settings associated with an image.</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-hover">
<tr>
<td><b>Profile Data</b></td>
@@ -129,9 +129,9 @@
</td></tr>
</table></div>
-<h3>Percent Escape Handling</h3>
+<h2>Percent Escape Handling</h2>
-<p>If you request a percent escape such as <code>%[key]</code> the setting
+<p>If you request a percent escape such as <samp>%[key]</samp> the setting
is looked for in the following order until the first match has been
found...</p>
@@ -140,10 +140,10 @@
'fx:'. This includes and calculations and or globs of those prefixes such
as 'exif:*' or 'artifact:*' (see below).</li>
-<li>If <code>key</code> contains a glob pattern (but no known prefix)
+<li>If <samp>key</samp> contains a glob pattern (but no known prefix)
search free-form properties table.</li>
-<li>If <code>key</code> is a special image 'attribute' name (see list
+<li>If <samp>key</samp> is a special image 'attribute' name (see list
above) return the associated or calculated image attribute.</li>
<li>Search for setting as a free-form 'property'</li>
@@ -160,19 +160,18 @@
free-form string tables directly, allowing you to override the above sequence,
and avoid accessing an attribute or property of the same name.</p>
-<pre class="highlight"><code>%[artifact:<var>setting</var>]
-%[option:<var>setting</var>]
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>%[artifact:<var>setting</var>]
+%[option:<var>setting</var>] </samp></pre></ul>
-<p>Escape handling requires access to an image container. If none are available, a blank image is created to ensure the expression can be processed and a value returned. For example, <code>magick -print "%[fx:.8765/3.14]" null: null:</code>.</p>
+<p>Escape handling requires access to an image container. If none are available, a blank image is created to ensure the expression can be processed and a value returned. For example, <samp>magick -print "%[fx:.8765/3.14]" null: null:</samp>.</p>
-<h3>Single Letter Attribute Percent Escapes</h3>
+<h2>Single Letter Attribute Percent Escapes</h2>
<p>Here are common single letter escapes (short form) is used to report the most
common attributes and properties of an image, such as: the image filename
filename, type, width, height. </p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td>\</td>
@@ -377,31 +376,30 @@
</table></div>
<p>Here is a sample command and its output for an image with filename
-<code>bird.miff</code> and whose width is 512 and height is 480.</p>
+<samp>bird.miff</samp> and whose width is 512 and height is 480.</p>
-<pre class="highlight"><code>-> identify -format "%m:%f %wx%h" bird.miff
-MIFF:bird.miff 512x480
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>-> identify -format "%m:%f %wx%h" bird.miff
+MIFF:bird.miff 512x480 </samp></pre></ul>
<p>Note that all single letter percent escapes can also be used using long
-form (from IM version 6.7.6-9, see next). For example <code>%[f]</code> is
-equivalent to the <code>%f</code> short form. </p>
+form (from IM version 6.7.6-9, see next). For example <samp>%[f]</samp> is
+equivalent to the <samp>%f</samp> short form. </p>
<p><b>WARNING</b>: short form percent escapes are NOT performed when the percent
-is after a number. For example, <code>10%x10</code> does not expand the
-<code>%x</code> as a percent escape. If you specifically want to expand the
+is after a number. For example, <samp>10%x10</samp> does not expand the
+<samp>%x</samp> as a percent escape. If you specifically want to expand the
'x', use the long form which overrides this special case. EG:
-<code>10%[x]10</code>. </p>
+<samp>10%[x]10</samp>. </p>
<p>Also be warned that calculated attributes can take some time to generate,
especially for large images.</p>
-<h3>Long Form Attribute Percent Escapes</h3>
+<h2>Long Form Attribute Percent Escapes</h2>
<p>In addition to the above specific and calculated attributes are recognized
when enclosed in braces (long form):</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td>%[basename]</td>
@@ -449,7 +447,7 @@
</tr>
<tr>
<td><a href="convex-hull.html">%[convex-hull]</a></td>
- <td>points that form a convex hull around the foreground object. Use <code><a href="../www/command-line-options.html#define">-define</a> convex-hull:background-color=<em>color</em></code> to identify the image background color. Use <code><a href="../www/command-line-options.html#fuzz">-fuzz</a> to allow for a non-uniform background color. </td>
+ <td>points that form a convex hull around the foreground object. Use <samp><a href="../www/command-line-options.html#define">-define</a> convex-hull:background-color=<em>color</em></samp> to identify the image background color. Use <samp><a href="../www/command-line-options.html#fuzz">-fuzz</a> to allow for a non-uniform background color. </td>
</tr>
<tr>
<td>%[copyright]</td>
@@ -533,7 +531,7 @@
</tr>
<tr>
<td><a href="convex-hull.html">%[minimum-bounding-box]</a></td>
- <td>Use <code><a href="../www/command-line-options.html#define">-define</a> convex-hull:background-color=<em>color</em></code> to identify the image background color. Use <code><a href="../www/command-line-options.html#fuzz">-fuzz</a> to allow for a non-uniform background color. In addition to the bounding box points, these properties are set: <code>minimum-bounding-box:area</code>, <code>minimum-bounding-box:width</code>, <code>minimum-bounding-box:height</code>, <code>minimum-bounding-box:angle</code>, and <code>minimum-bounding-box:unrotate</code>.</td>
+ <td>Use <samp><a href="../www/command-line-options.html#define">-define</a> convex-hull:background-color=<em>color</em></samp> to identify the image background color. Use <samp><a href="../www/command-line-options.html#fuzz">-fuzz</a> to allow for a non-uniform background color. In addition to the bounding box points, these properties are set: <samp>minimum-bounding-box:area</samp>, <samp>minimum-bounding-box:width</samp>, <samp>minimum-bounding-box:height</samp>, <samp>minimum-bounding-box:angle</samp>, and <samp>minimum-bounding-box:unrotate</samp>.</td>
</tr>
<tr>
<td>%[opaque]</td>
@@ -629,7 +627,7 @@
</tr>
</table></div>
-<h3>Properties</h3>
+<h2>Properties</h2>
<p>All other long forms of percent escapes (not single letter long form) are
handled in a case insensitive manner. Such escapes will attempt to look
@@ -657,7 +655,7 @@
images when write, if the image file format allows. </p>
-<h3>Artifacts and Options</h3>
+<h2>Artifacts and Options</h2>
<p>The previous percent escapes are associated with the primary Attributes and
Properties. Which is the original and primary focus of such percent escapes.
@@ -672,7 +670,7 @@
artifacts, being an internal operational setting, is not saved with images (if
such is possible). </p>
-<p>For example when you use <code>-define 'distort:viewport=100x100'</code> you
+<p>For example when you use <samp>-define 'distort:viewport=100x100'</samp> you
are in fact generating a global option, which the <a href="../www/command-line-options.html#distort"
>-distort</a> operator will use to modify its behavior (distorted output
image 'view'). </p>
@@ -682,7 +680,7 @@
identical, in that a Option, is simply a global Artifact for all the
associated images. </p>
-<p>As such you can use <code>-set 'option:distort:viewport' '100x100'</code> to
+<p>As such you can use <samp>-set 'option:distort:viewport' '100x100'</samp> to
achieve the same result of setting a Artifact for the disort operation to use.
</p>
@@ -690,7 +688,7 @@
<p>The Core library ('MagickCore') does not generally directly understand
Global Options. As such, continuing the previous example, the
-<code>DistortImages()</code> function only looks up an artifact to discover if
+<samp>DistortImages()</samp> function only looks up an artifact to discover if
a 'viewport' has been provided to it. </p>
<p>How Global Options are used when a library function requests an Artifact is
@@ -711,54 +709,50 @@
Artifact. </p>
-<h3>Glob-Pattern Listing of Properties, Artifacts and Options</h3>
+<h2>Glob-Pattern Listing of Properties, Artifacts and Options</h2>
<p>The <var>setting</var> can contain a glob pattern. As such you can
now list all free-form string properties, artifacts, and options, (but not
specific image attributes) using...</p>
-<pre class="highlight"><code>magick ... \
+<ul><pre class="bg-light text-dark"><samp>magick ... \
-print "__Properties__\n%[*]" \
-print "__Artifacts__\n%[artifact:*]" \
-print "__Options__\n%[option:*]" \
- ...
-</code></pre>
+ ... </samp></pre></ul>
<p> The format of glob patterns are very specific and as such is generally
only used to list specific settings, such as when debugging, rather than being
used for image processing use. </p>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/examples.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Examples of ImageMagick Usage</title>
+ <title>ImageMagick – Examples of ImageMagick Usage</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="examples, of, imagemagick, usage, image processing software" />
@@ -94,7 +94,7 @@
<h1 class="text-center">Showcase</h1>
<p class="lead magick-description">These examples of ImageMagick usage illustrate what you can do with an image from the command line, a program interface, or script. You can generate this image yourself with this <a href="perl-magick.html">PerlMagick</a> script, <a href="https://imagemagick.org/source/examples.pl">examples.pl</a>.</p>
-<p><img class="img-fluid mx-auto d-block" src="../images/examples.jpg" alt="[ImageMagick Examples]" width="734" height="2972" name="imagemagick-examples" /></p>
+<ul><img class="img-fluid me-auto d-block" src="../images/examples.jpg" alt="[ImageMagick Examples]" width="734" height="2972" name="imagemagick-examples" /></ul>
</div>
</div>
</main><!-- /.container -->
@@ -124,4 +124,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:07 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/exception.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Exceptions</title>
+ <title>ImageMagick – Exceptions</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="exceptions, image processing software" />
@@ -94,9 +94,9 @@
<p class="lead magick-description">ImageMagick returns a status of 0 whenever a command or algorithm successfully complete without complaint. A warning code generally is typically just a notice that something unusual occurred but the command or algorithm still completed and most likely the results are still usable. An error means the command or algorithm could not complete as expected and any results are unreliable. A fatal error means the command or algorithm could not complete and the process exits prematurely and no results are returned.</p>
-<table class="table table-sm table-hover">
+<table class="table table-sm table-hover caption-top">
<caption>ImageMagick Error and Warning Codes</caption>
- <tbody>
+ <thead>
<tr>
<th>Domain</th>
<th>Description</th>
@@ -104,7 +104,8 @@
<th>Error</th>
<th>Fatal Error</th>
</tr>
-
+ </thead>
+ <tbody>
<tr>
<td>Success</td>
<td>the command or algorithm completed successfully without complaint</td>
@@ -312,4 +313,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:12 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/export.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Export Classification</title>
+ <title>ImageMagick – Export Classification</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="export, classification, image processing software" />
@@ -124,4 +124,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:04 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/formats.html
^
|
@@ -7,12 +7,12 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Formats</title>
+ <title>ImageMagick – Image Formats</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="Read and write images in a variety of formats (over 200)." />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
- <meta name="keywords" content="formats, image processing software" />
+ <meta name="keywords" content="image, formats, image processing software" />
<meta name="rating" content="GENERAL" />
<meta name="robots" content="INDEX, FOLLOW" />
<meta name="generator" content="ImageMagick Studio LLC" />
@@ -94,14 +94,13 @@
<h1 class="text-center">Image Formats</h1>
<p class="text-center"><a href="formats.html#colorspace">A Word about Colorspaces</a> • <a href="formats.html#supported">Supported Formats</a> • <a href="formats.html#pseudo">Pseudo Formats</a> • <a href="formats.html#builtin-images">Built-in Images</a> • <a href="formats.html#builtin-patterns">Built-in Patterns</a> • <a href="formats.html#embedded">Embedded Profiles</a></p>
-<p class="lead magick-description">ImageMagick uses an ASCII string known as <var>magick</var> (e.g. <code>GIF</code>) to identify file formats, algorithms acting as formats, built-in patterns, and embedded profile types. Support for some of the formats are delegated to libraries or external programs. The Installation Guide describes where to find these distributions and any special configuration options required.</p>
+<p class="lead magick-description">ImageMagick uses an ASCII string known as <var>magick</var> (e.g. <samp>GIF</samp>) to identify file formats, algorithms acting as formats, built-in patterns, and embedded profile types. Support for some of the formats are delegated to libraries or external programs. The Installation Guide describes where to find these distributions and any special configuration options required.</p>
<p>To get a complete listing of which image formats are supported on your system, type</p>
-<pre class="highlight"><code>magick identify -list format
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick identify -list format </samp></pre></ul>
-<p>On some platforms, ImageMagick automagically processes these extensions: .gz for Zip compression, .Z for Unix compression, .bz2 for block compression, and .pgp for PGP encryption. For example, a PNM image called image.pnm.gz is automagically uncompressed.</p>
+<p>On some platforms, ImageMagick automagically processes these extensions: .gz for Zip compression, .Z for Linux compression, .bz2 for block compression, and .pgp for PGP encryption. For example, a PNM image called image.pnm.gz is automagically uncompressed.</p>
<h2><a class="anchor" id="colorspace"></a>A Word about Colorspaces</h2>
<p>A majority of the image formats assume an sRGB
@@ -111,17 +110,15 @@
(e.g. TIFF, PSD, JPG, JP2). To determine the colorspace of your image, use
this command:</p>
-<pre class="highlight"><code>-> magick identify -verbose image.jpg
+<ul><pre class="bg-light text-dark"><samp>$ magick identify -verbose image.jpg
Image: image.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
...
-Colorspace: sRGB
-</code></pre>
+Colorspace: sRGB </samp></pre></ul>
OR use the appropriate percent escape
-<pre class="highlight"><code>-> magick image.jpg -print "%[colorspace]\n" null:
-sRGB
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick image.jpg -print "%[colorspace]\n" null:
+sRGB </samp></pre></ul>
<p>When processing an image, be aware of the colorspace. Many image
@@ -130,16 +127,14 @@
results in linear RGB (essentially sRGB with the gamma function removed). For
example,</p>
-<pre class="highlight"><code>magick image.jpg -colorspace RGB -resize 50% -colorspace sRGB resize.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick image.jpg -colorspace RGB -resize 50% -colorspace sRGB resize.jpg </samp></pre></ul>
<p>As of IM 6.7.8-2 one can properly work in LAB colorspace whether or not
Imagemagick is <a href="high-dynamic-range.html">HDRI</a>-enabled. Essentially the A and
B channels are stored with a 50% gray bias, to allow it to handle the
negatives required by the format.</p>
-<pre class="highlight"><code>magick lab.tif -resize 50% resize.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick lab.tif -resize 50% resize.jpg </samp></pre> </ul>
<p>Again, it may not make sense for some image processing operators to work
directly in LAB space, but ImageMagick permits it and generally returns
@@ -151,7 +146,7 @@
including sub-formats). The following table provides a summary of
the supported image formats.</p>
-<div class="pre-scrollable highlight table-responsive" style="font-size:87.5% !important;">
+<div class="pre-scrollable bg-light text-dark table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tbody>
<tr>
@@ -172,7 +167,7 @@
<td><a href="https://en.wikipedia.org/wiki/APNG">APNG</a></td>
<td>RW</td>
<td>Animated Portable Network Graphics</td>
- <td>Note, you must use an explicit image format specifier to read an APNG (<code>apng:myImage.apng</code>) image sequence, otherwise it assumes a PNG image and only reads the first frame.</td>
+ <td>Note, you must use an explicit image format specifier to read an APNG (<samp>apng:myImage.apng</samp>) image sequence, otherwise it assumes a PNG image and only reads the first frame.</td>
</tr>
<tr>
@@ -186,7 +181,7 @@
<td>ARW</td>
<td>R</td>
<td>Sony Digital Camera Alpha Raw Image Format</td>
- <td>Set <code>-define dng:use-camera-wb=true</code> to use the RAW-embedded color profile for Sony cameras. You can also set these options: <code>use-auto-wb</code>, <code>use-auto-bright</code>, and <code>output-color</code>.</td>
+ <td>Set <samp>-define dng:use-camera-wb=true</samp> to use the RAW-embedded color profile for Sony cameras. You can also set these options: <samp>use-auto-wb</samp>, <samp>use-auto-bright</samp>, and <samp>output-color</samp>.</td>
</tr>
<tr>
@@ -221,7 +216,7 @@
<td><a href="http://www.fileformat.info/format/bmp/egff.htm">BMP, BMP2, BMP3</a></td>
<td>RW</td>
<td>Microsoft Windows bitmap</td>
- <td>By default the BMP format is version 4. Use BMP3 and BMP2 to write versions 3 and 2 respectively. Use <code>-define bmp:ignore-filesize</code> to ignore the filesize check.</td>
+ <td>By default the BMP format is version 4. Use BMP3 and BMP2 to write versions 3 and 2 respectively. Use <samp>-define bmp:ignore-filesize</samp> to ignore the filesize check.</td>
</tr>
<tr>
@@ -249,7 +244,7 @@
<td><a href="http://www.cineon.com/ff_draft.html">CIN</a></td>
<td>RW</td>
<td>Kodak Cineon Image Format</td>
- <td>Use <a href="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <code>-set gamma 1.7</code>, <code>-set reference-black 95</code>, <code>-set reference-white 685</code>). Properties include cin:file.create_date, cin:file.create_time, cin:file.filename, cin:file.version, cin:film.count, cin:film.format, cin:film.frame_id, cin:film.frame_position, cin:film.frame_rate, cin:film.id, cin:film.offset, cin:film.prefix, cin:film.slate_info, cin:film.type, cin:image.label, cin:origination.create_date, cin:origination.create_time, cin:origination.device, cin:origination.filename, cin:origination.model, cin:origination.serial, cin:origination.x_offset, cin:origination.x_pitch, cin:origination.y_offset, cin:origination.y_pitch, cin:user.data.</td>
+ <td>Use <a href="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <samp>-set gamma 1.7</samp>, <samp>-set reference-black 95</samp>, <samp>-set reference-white 685</samp>). Properties include cin:file.create_date, cin:file.create_time, cin:file.filename, cin:file.version, cin:film.count, cin:film.format, cin:film.frame_id, cin:film.frame_position, cin:film.frame_rate, cin:film.id, cin:film.offset, cin:film.prefix, cin:film.slate_info, cin:film.type, cin:image.label, cin:origination.create_date, cin:origination.create_time, cin:origination.device, cin:origination.filename, cin:origination.model, cin:origination.serial, cin:origination.x_offset, cin:origination.x_pitch, cin:origination.y_offset, cin:origination.y_pitch, cin:user.data.</td>
</tr>
<tr>
@@ -263,14 +258,14 @@
<td>CMYK</td>
<td>RW</td>
<td>Raw cyan, magenta, yellow, and black samples</td>
- <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
+ <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
</tr>
<tr>
<td>CMYKA</td>
<td>RW</td>
<td>Raw cyan, magenta, yellow, black, and alpha samples</td>
- <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <code>-define quantum:format=floating-point</code>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
+ <td>Use <a href="command-line-options.html#size">-size</a> and <a href="command-line-options.html#depth">-depth</a> to specify the image width, height, and depth. To specify a single precision floating-point format, use <samp>-define quantum:format=floating-point</samp>. Set the depth to 32 for single precision floats, 64 for double precision, and 16 for half-precision.</td>
</tr>
<tr>
@@ -333,7 +328,7 @@
<td><a href="http://en.wikipedia.org/wiki/DirectDraw_Surface">DDS</a></td>
<td>RW</td>
<td>Microsoft Direct Draw Surface</td>
- <td>Use <a href="command-line-options.html#define">-define</a> to specify the compression (e.g. <code>-define dds:compression={dxt1, dxt5, none}</code>). Other defines include <code>dds:cluster-fit={true,false}</code>, <code>dds:weight-by-alpha={true,false}</code>, <code>dds:fast-mipmaps={true,false}</code>, and use <code>dds:mipmaps</code> to set the number of mipmaps (use <code>fromlist</code> to use the image list).</td>
+ <td>Use <a href="command-line-options.html#define">-define</a> to specify the compression (e.g. <samp>-define dds:compression={dxt1, dxt5, none}</samp>). Other defines include <samp>dds:cluster-fit={true,false}</samp>, <samp>dds:weight-by-alpha={true,false}</samp>, <samp>dds:fast-mipmaps={true,false}</samp>, and use <samp>dds:mipmaps</samp> to set the number of mipmaps (use <samp>fromlist</samp> to use the image list).</td>
</tr>
@@ -362,14 +357,14 @@
<td><a href="http://www.graphviz.org">DOT</a></td>
<td>R</td>
<td>Graph Visualization</td>
- <td>Use <a href="command-line-options.html#define">-define</a> to specify the layout engine (e.g. <code>-define dot:layout-engine=twopi</code>).</td>
+ <td>Use <a href="command-line-options.html#define">-define</a> to specify the layout engine (e.g. <samp>-define dot:layout-engine=twopi</samp>).</td>
</tr>
<tr>
<td><a href="motion-picture.html">DPX</a></td>
<td>RW</td>
<td>SMPTE Digital Moving Picture Exchange 2.0 (SMPTE 268M-2003)</td>
- <td>Use <a href="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <code>-set gamma 1.7</code>, <code>-set reference-black 95</code>, <code>-set reference-white 685</code>).</td>
+ <td>Use <a href="command-line-options.html#set">-set</a> to specify the image gamma or black and white points (e.g. <samp>-set gamma 1.7</samp>, <samp>-set reference-black 95</samp>, <samp>-set reference-white 685</samp>).</td>
</tr>
<tr>
@@ -390,56 +385,56 @@
<td>EPI</td>
<td>RW</td>
<td>Adobe Encapsulated PostScript Interchange format</td>
- <td>Requires <a href="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
+ <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
</tr>
<tr>
<td>EPS</td>
<td>RW</td>
<td>Adobe Encapsulated PostScript</td>
- <td>Requires <a href="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
+ <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
</tr>
<tr>
<td>EPS2</td>
<td>W</td>
<td>Adobe Level II Encapsulated PostScript</td>
- <td>Requires <a href="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
+ <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
</tr>
<tr>
<td>EPS3</td>
<td>W</td>
<td>Adobe Level III Encapsulated PostScript</td>
- <td>Requires <a href="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
+ <td>Requires <a href="https://www.ghostscript.com/download.html">Ghostscript</a> to read.</td>
</tr>
<tr>
<td>EPSF</td>
<td>RW</td>
<td>Adobe Encapsulated PostScript</td>
- <td>Requires <a href="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read.</td>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/fx.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - The FX Special Effects Image Operator</title>
+ <title>ImageMagick – The FX Special Effects Image Operator</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="the, fx, special, effects, image, operator, image processing software" />
@@ -109,8 +109,8 @@
<p>The expression can be simple:</p>
-<pre class="highlight"><code>magick -size 64x64 canvas:black -channel blue -fx "1/2" fx_navy.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 64x64 canvas:black -channel blue -fx "1/2" fx_navy.png
+</samp></pre></ul>
<p>Here, we convert a black to a navy blue image:</p>
@@ -122,10 +122,10 @@
<p>Or the expression can be complex:</p>
-<pre class="highlight"><code>magick rose: \
+<ul><pre class="bg-light text-dark"><samp>magick rose: \
-fx "(1.0/(1.0+exp(10.0*(0.5-u)))-0.006693)*1.0092503" \
rose-sigmoidal.png
-</code></pre>
+</samp></pre></ul>
<p>This expression results in a high contrast version of the source image:</p>
@@ -137,10 +137,10 @@
<p>The expression can include variable assignments. Assignments, in most cases, reduce the complexity of an expression and permit some operations that might not be possible any other way. For example, lets create a radial gradient:</p>
-<pre class="highlight"><code>magick -size 70x70 canvas: \
+<ul><pre class="bg-light text-dark"><samp>magick -size 70x70 canvas: \
-fx "Xi=i-w/2; Yj=j-h/2; 1.2*(0.5-hypot(Xi,Yj)/70.0)+0.5" \
radial-gradient.png
-</code></pre>
+</samp></pre></ul>
<p>The command above returns this image:</p>
@@ -150,15 +150,15 @@
<p>This FX expression adds random noise to an image:</p>
-<pre class="highlight"><code>magick photo.jpg -fx 'iso=32; rone=rand(); rtwo=rand(); \
+</ul><pre class="bg-light text-dark"><samp>magick photo.jpg -fx 'iso=32; rone=rand(); rtwo=rand(); \
myn=sqrt(-2*ln(rone))*cos(2*Pi*rtwo); myntwo=sqrt(-2*ln(rtwo))* \
cos(2*Pi*rone); pnoise=sqrt(p)*myn*sqrt(iso)* \
channel(4.28,3.86,6.68,0)/255; max(0,p+pnoise)' noisy.png
-</code></pre>
+</samp></pre></ul>
<p>This FX script utilizes a loop to create a <a href="https://en.wikipedia.org/wiki/Julia_set">Julia set</a>:</p>
-<pre class="highlight"><code>magick -size 400x400 xc:black -colorspace gray -fx " \
+<ul><pre class="bg-light text-dark"><samp>magick -size 400x400 xc:black -colorspace gray -fx " \
Xi=2.4*i/w-1.2; \
Yj=2.4*j/h-1.2; \
for (pixel=0.0, (hypot(Xi,Yj) < 2.0) && (pixel < 1.0), \
@@ -170,17 +170,17 @@
pixel == 1.0 ? 0.0 : pixel" \
\( -size 1x1 xc:white xc:red xc:orange xc:yellow xc:green1 xc:cyan xc:blue \
xc:blueviolet xc:white -reverse +append -filter Cubic -resize 1024x1! \) \
- -clut -rotate -90 julia-set.png</code></pre>
+ -clut -rotate -90 julia-set.png</samp></pre></ul>
<ul>
<a href="../images/julia-set.png"><img src="../images/julia-set.png" width="160" height="160" alt="Julia Fractals" /></a>
</ul>
<p>This FX script prints the first 10 prime numbers:</p>
-<pre class="highlight"><code>magick xc: -channel gray -fx " \
+<ul><pre class="bg-light text-dark"><samp>magick xc: -channel gray -fx " \
for (prime=2, prime < 30, composite=0; \
for (nn=2, nn < (prime/2+1), if ((prime % nn) == 0, composite++, ); nn++); \
- if (composite <= 0, debug(prime), ); prime++)" null:</code></pre>
+ if (composite <= 0, debug(prime), ); prime++)" null:</samp></pre></ul>
<p>See <a href="https://legacy.imagemagick.org/Usage/transform/index.html#fx">Using FX, The Special Effects Image Operator</a> for more examples.</p>
@@ -188,7 +188,7 @@
<h2><a class="anchor" id="anatomy"></a>The Anatomy of an FX Expression</h2>
-<h5>The FX Expression Language</h5>
+<h4>The FX Expression Language</h4>
<p>The formal FX expression language is defined here:</p>
@@ -196,7 +196,7 @@
<dt class="col-md-4"> numbers:</dt>
<dd class="col-md-8"> integer, floating point, scientific notation (+/- required, e.g. 3.81469e-06), International System number postfixes (.e.g KB, Mib, GB, etc.)</dd>
<dt class="col-md-4"> constants: </dt>
- <dd class="col-md-8"> E (Euler's number), Epsilon, QuantumRange, QuantumScale, Opaque, Phi (golden ratio), Pi, Transparent</dd>
+ <dd class="col-md-8"> E (Euler's number), Epsilon, Opaque, Phi (golden ratio), Pi, QuantumRange, QuantumScale, Transparent</dd>
<dt class="col-md-4"> FX operators (in order of precedence): </dt>
<dd class="col-md-8"> ^ (power), unary -, *, /, % (modulo), +, -,
<<, >>, <, <=, >, >=, +=, -=, *=, /=, %=, <<=
@@ -217,163 +217,163 @@
<dt class="col-md-4"> color hex values:</dt>
<dd class="col-md-8"> #ccc, #cbfed0, #b9e1cc00, etc.</dd>
<dt class="col-md-4"> symbols:</dt><dd class="col-md-8"><dl>
- <dd><code>u</code>: first image in list</dd>
- <dd><code>v</code>: second image in list</dd>
- <dd><code>s</code>: current image in list (for %[fx:] otherwise = u)</dd>
- <dd><code>t</code>: index of current image (s) in list</dd>
- <dd><code>n</code>: number of images in list</dd>
-
- <dd><code>i</code>: column offset</dd>
- <dd><code>j</code>: row offset</dd>
- <dd><code>p</code>: pixel to use (absolute or relative to current pixel)</dd>
-
- <dd><code>w</code>: width of this image</dd>
- <dd><code>h</code>: height of this image</dd>
- <dd><code>z</code>: channel depth</dd>
-
- <dd><code>r</code>: red value (from RGBA), of a specific or current pixel</dd>
- <dd><code>g</code>: green</dd>
- <dd><code>b</code>: blue</dd>
- <dd><code>a</code>: alpha</dd>
- <dd><code>o</code>: opacity</dd>
-
- <dd><code>c</code>: cyan value of CMYK color of pixel</dd>
- <dd><code>y</code>: yellow</dd>
- <dd><code>m</code>: magenta</dd>
- <dd><code>k</code>: black</dd>
-
- <dd><code>intensity</code>: pixel intensity</dd>
-
- <dd><code>hue</code>: pixel hue</dd>
- <dd><code>saturation</code>: pixel saturation</dd>
- <dd><code>lightness</code>: pixel lightness</dd>
- <dd><code>luma</code>: pixel luma</dd>
-
- <dd><code>page.width</code>: page width</dd>
- <dd><code>page.height</code>: page height</dd>
- <dd><code>page.x</code>: page x offset</dd>
- <dd><code>page.y</code>: page y offset</dd>
-
- <dd><code>printsize.x</code>: x printsize</dd>
- <dd><code>printsize.y</code>: y printsize</dd>
-
- <dd><code>resolution.x</code>: x resolution</dd>
- <dd><code>resolution.y</code>: y resolution</dd>
-
- <dd><code>depth</code>: image depth</dd>
- <dd><code>extent</code>: image extent</dd>
- <dd><code>minima</code>: image minima</dd>
- <dd><code>maxima</code>: image maxima</dd>
- <dd><code>mean</code>: image mean</dd>
- <dd><code>median</code>: image median</dd>
- <dd><code>standard_deviation</code>: image standard deviation</dd>
- <dd><code>kurtosis</code>: image kurtosis</dd>
- <dd><code>skewness</code>: image skewness (add a channel specifier to compute a statistic for that channel, e.g. depth.r)</dd></dl></dd>
+ <dd><samp>u</samp>: first image in list</dd>
+ <dd><samp>v</samp>: second image in list</dd>
+ <dd><samp>s</samp>: current image in list (for %[fx:] otherwise = u)</dd>
+ <dd><samp>t</samp>: index of current image (s) in list</dd>
+ <dd><samp>n</samp>: number of images in list</dd>
+
+ <dd><samp>i</samp>: column offset</dd>
+ <dd><samp>j</samp>: row offset</dd>
+ <dd><samp>p</samp>: pixel to use (absolute or relative to current pixel)</dd>
+
+ <dd><samp>w</samp>: width of this image</dd>
+ <dd><samp>h</samp>: height of this image</dd>
+ <dd><samp>z</samp>: channel depth</dd>
+
+ <dd><samp>r</samp>: red value (from RGBA), of a specific or current pixel</dd>
+ <dd><samp>g</samp>: green</dd>
+ <dd><samp>b</samp>: blue</dd>
+ <dd><samp>a</samp>: alpha</dd>
+ <dd><samp>o</samp>: opacity</dd>
+
+ <dd><samp>c</samp>: cyan value of CMYK color of pixel</dd>
+ <dd><samp>y</samp>: yellow</dd>
+ <dd><samp>m</samp>: magenta</dd>
+ <dd><samp>k</samp>: black</dd>
+
+ <dd><samp>intensity</samp>: pixel intensity</dd>
+
+ <dd><samp>hue</samp>: pixel hue</dd>
+ <dd><samp>saturation</samp>: pixel saturation</dd>
+ <dd><samp>lightness</samp>: pixel lightness</dd>
+ <dd><samp>luma</samp>: pixel luma</dd>
+
+ <dd><samp>page.width</samp>: page width</dd>
+ <dd><samp>page.height</samp>: page height</dd>
+ <dd><samp>page.x</samp>: page x offset</dd>
+ <dd><samp>page.y</samp>: page y offset</dd>
+
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/gradient.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Image Gradients</title>
+ <title>ImageMagick – Image Gradients</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="image, gradients, image processing software" />
@@ -96,52 +96,48 @@
<p>For a linear gradient, the operator is either:</p>
-<pre class="highlight"><code>gradient:
-gradient:color1-color2
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>gradient:
+gradient:color1-color2 </samp></pre></ul>
<p> The for a radial gradient, the operator is either:</p>
-<pre class="highlight"><code>radial-gradient:
-radial-gradient:color1-color2
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>radial-gradient:
+radial-gradient:color1-color2 </samp></pre></ul>
<p> In the above, color1 is the fromColor and color2 is the toColor, as described in more detail below. The default is white for color1 and black for color2, i.e., white-black.</p>
<p>The default for a linear gradient has color1 at the top of the image and color2 at the bottom of the image. Similarly, the default for a radial gradient has color1 at the center of the image and color2 at the boundary of the image.</p>
-<p>Gradient colors may be any valid color defined per <a href="color.html" target="_blank">../www/color.html</a>. The named colors of black/white/grayXX and gray(XX[%]) are non-linear gray. For Unix systems, enclose rgb(a) and hex colors in quotes. Use double quotes, if using variables for the values.</p>
+<p>Gradient colors may be any valid color defined per <a href="color.html" target="_blank">../www/color.html</a>. The named colors of black/white/grayXX and gray(XX[%]) are non-linear gray. For Linux systems, enclose rgb(a) and hex colors in quotes. Use double quotes, if using variables for the values.</p>
<p>Here is an example linear (as opposed to radial) gradient:</p>
-<pre class="highlight"><code>magick -size 256x256 gradient: linear_gradient.png
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x256 gradient: linear_gradient.png
magick -size 256x256 gradient:white-black linear_gradient.png
-</code></pre>
+</samp></pre></ul>
+
<p><img src="../images/gradients/linear_gradient.png" width="256" height="256" /></p>
<p>If you want a radial gradient, try:</p>
-<pre class="highlight"><code>magick -size 256x256 radial-gradient: radial_gradient.png
-magick -size 256x256 radial-gradient:white-black radial_gradient.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x256 radial-gradient: radial_gradient.png
+magick -size 256x256 radial-gradient:white-black radial_gradient.png </samp></pre></ul>
<p><img src="../images/gradients/radial_gradient.png" width="256" height="256" /></p>
<p>If you want non-linear grayscale gradients, then add -colorspace RGB -colorspace gray
before saving the output. For example:<p>
-<pre class="highlight"><code>magick -size 256x256 gradient: linear_gradient.png
-magick -size 256x256 gradient:white-black -colorspace RGB -colorspace gray linear_linear_gradient.png
-</code></pre>
-
-<pre class="highlight"><code>magick -size 256x256 radial-gradient: radial_gradient.png
-magick -size 256x256 radial-gradient:white-black -colorspace RGB -colorspace gray linea_radial_gradient.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x256 gradient: linear_gradient.png
+magick -size 256x256 gradient:white-black -colorspace RGB -colorspace gray linear_linear_gradient.png </samp></pre></ul>
+
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x256 radial-gradient: radial_gradient.png
+magick -size 256x256 radial-gradient:white-black -colorspace RGB -colorspace gray linea_radial_gradient.png </samp></pre></ul>
<p>As of IM 6.9.2.5, gradients have been enhanced through the use of several -defines.</p>
<table class="table table-sm table-hover">
<tr>
- <td><code>-define gradient:vector=<var>x1</var>,<var>y1</var>, <var>x2</var>,<var>y2</var></code></td>
+ <td><samp>-define gradient:vector=<var>x1</var>,<var>y1</var>, <var>x2</var>,<var>y2</var></samp></td>
<td>Specifies the direction of the linear gradient going from vector1
(x1,y1) to vector2 (x2,y2). Color1 (fromColor) will be located at vector
position x1,y1 and color2 (toColor) will be located at vector position
@@ -149,13 +145,13 @@
</tr>
<tr>
- <td><code>-define gradient:center=<var>x</var>,<var>y</var></code></td>
+ <td><samp>-define gradient:center=<var>x</var>,<var>y</var></samp></td>
<td>Specifies the coordinates of the center point for the radial gradient.
The default is the center of the image.</td>
</tr>
<tr>
- <td><code>-define gradient:radii=<var>x</var>,<var>y</var></code></td>
+ <td><samp>-define gradient:radii=<var>x</var>,<var>y</var></samp></td>
<td>Specifies the x and y radii of the gradient. If the x radius and the y
radius are equal, the shape of the radial gradient will be a circle. If
they differ, then the shape will be an ellipse. The default values are the
@@ -163,7 +159,7 @@
</tr>
<tr>
- <td><code>-define gradient:angle=<var>angle in degrees</var></code></td>
+ <td><samp>-define gradient:angle=<var>angle in degrees</var></samp></td>
<td>For a linear gradient, this specifies the direction of the gradient
going from color1 to color2 in a clockwise positive manner relative to
north (up). For a radial gradient, this specifies the rotation of the
@@ -172,7 +168,7 @@
</tr>
<tr>
- <td><code>-define gradient:bounding-box=<var>width</var>x<var>height</var>+<var>x</var>+<var>y</var></code></td>
+ <td><samp>-define gradient:bounding-box=<var>width</var>x<var>height</var>+<var>x</var>+<var>y</var></samp></td>
<td>Limits the gradient to a larger or smaller region than the image
dimensions. If the region defined by the bounding box is smaller than the
image, then color1 will be the color of the background.</td>
@@ -184,13 +180,13 @@
<table class="table table-sm table-hover">
<tr>
- <td><code>-define gradient:direction=<em>{NorthWest, North, Northeast, West, East, SouthWest, South, SouthEast}</em></code></td>
+ <td><samp>-define gradient:direction=<em>{NorthWest, North, Northeast, West, East, SouthWest, South, SouthEast}</em></samp></td>
<td>Specifies the direction of the linear gradient towards the
top/bottom/left/right or diagonal corners.</td>
</tr>
<tr>
- <td><code>-define gradient:extent=<em>{Circle, Diagonal, Ellipse, Maximum, Minimum}</em></code></td>
+ <td><samp>-define gradient:extent=<em>{Circle, Diagonal, Ellipse, Maximum, Minimum}</em></samp></td>
<td>Specifies the shape of an image centered radial gradient. Circle and
Maximum draw a circular radial gradient even for rectangular shaped images
of radius equal to the larger of the half-width and half-height of the
@@ -209,48 +205,43 @@
<p>The default linear gradient may also be generated in any of the following ways (or by reversing the direction and swapping color1 and color2):</p>
-<pre class="highlight"><code>magick -size 256x128 -define gradient:direction=north gradient:black-white linear_gradient_default.png
-magick -size 256x128 -define gradient:angle=0 gradient:black-white linear_gradient_default.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x128 -define gradient:direction=north gradient:black-white linear_gradient_default.png
+magick -size 256x128 -define gradient:angle=0 gradient:black-white linear_gradient_default.png </samp></pre></ul>
<p><img src="../images/gradients/linear_gradient_default.png" width="256" height="128" /></p>
<p>The equivalent of </p>
-<pre class="highlight"><code>magick -size 128x256 gradient: -rotate 90 linear_gradient_east.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 128x256 gradient: -rotate 90 linear_gradient_east.png </samp></pre></ul>
<p>can be generate by either of the following (or by reversing the direction and swapping color1 and color2):</p>
-<pre class="highlight"><code>magick -size 256x128 -define gradient:direction=east gradient:black-white linear_gradient_east.png
-magick -size 256x128 -define gradient:angle=90 gradient:black-white linear_gradient_east.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x128 -define gradient:direction=east gradient:black-white linear_gradient_east.png
+magick -size 256x128 -define gradient:angle=90 gradient:black-white linear_gradient_east.png </samp></pre></ul>
+
<p><img src="../images/gradients/linear_gradient_east.png" width="256" height="128" /></p>
<p>Examples of radial gradients going from black in the center to white at the boundary for the cases of "maximum/circle/default", "minimum", "diagonal", "ellipse" and 45 degree rotated ellipse, respectively, follow below.</p>
-<pre class="highlight"><code>magick -size 256x128 radial-gradient:black-white radial_gradient_maximum.png
-magick -size 256x128 -define gradient:radii=128,128 radial-gradient:black-white radial_gradient_maximum.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x128 radial-gradient:black-white radial_gradient_maximum.png
+magick -size 256x128 -define gradient:radii=128,128 radial-gradient:black-white radial_gradient_maximum.png </samp></pre></ul>
<p><img src="../images/gradients/radial_gradient_maximum.png" width="256" height="128" /></p>
-<pre class="highlight"><code>magick -size 256x128 -define gradient:extent=minimum radial-gradient:black-white radial_gradient_minimum.png
-magick -size 256x128 -define gradient:radii=64,64 radial-gradient:black-white radial_gradient_minimum.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x128 -define gradient:extent=minimum radial-gradient:black-white radial_gradient_minimum.png
+magick -size 256x128 -define gradient:radii=64,64 radial-gradient:black-white radial_gradient_minimum.png </samp></pre></ul>
<p><img src="../images/gradients/radial_gradient_minimum.png" width="256" height="128" /></p>
-<pre class="highlight"><code>magick -size 256x128 -define gradient:extent=diagonal radial-gradient:black-white radial_gradient_diagonal.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x128 -define gradient:extent=diagonal radial-gradient:black-white radial_gradient_diagonal.png </samp></pre></ul>
+
<p><img src="../images/gradients/radial_gradient_diagonal.png" width="256" height="128" /></p>
-<pre class="highlight"><code>magick -size 256x128 -define gradient:extent=ellipse radial-gradient:black-white radial_gradient_ellipse.png
-magick -size 256x128 -define gradient:radii=128,64 radial-gradient:black-white radial_gradient_ellipse.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick -size 256x128 -define gradient:extent=ellipse radial-gradient:black-white radial_gradient_ellipse.png
+magick -size 256x128 -define gradient:radii=128,64 radial-gradient:black-white radial_gradient_ellipse.png </samp></pre></ul>
<p><img src="../images/gradients/radial_gradient_ellipse.png" width="256" height="128" /></p>
-<pre class="highlight"><code>conmagickvert -size 256x256 -define gradient:radii=128,64 -define gradient:angle=45 radial-gradient:black-white radial_gradient_ellipse_angle45.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>conmagickvert -size 256x256 -define gradient:radii=128,64 -define gradient:angle=45 radial-gradient:black-white radial_gradient_ellipse_angle45.png </samp></pre></ul>
+
<p><img src="../images/gradients/radial_gradient_ellipse_angle45.png" width="256" height="256" /></p>
</div>
@@ -283,4 +274,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/high-dynamic-range.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - High Dynamic-Range Images</title>
+ <title>ImageMagick – High Dynamic-Range Images</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="high, dynamic-range, images, image processing software" />
@@ -109,18 +109,18 @@
<p>The most promising HDR image format is EXR. You must have the <a href="http://www.openexr.org">OpenEXR</a> delegate library installed to read or write this format. Other HDR formats include TIFF 48-bit integer and 96-bit float formats, HDR, PFM, and ImageMagick's own MIFF format.</p>
-<p>To disable the HDRI version of ImageMagick, use this Unix/Linux command:</p>
+<p>To disable the HDRI version of ImageMagick, use this Linux/Linux command:</p>
-<pre class="highlight"><code>./configure --disable-hdri
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>./configure --disable-hdri
+</samp></pre></ul>
<p>Under Windows, follow the instructions (straightforward for a non-programmer) in a one hour process to build and configure your own executables: <a href="install-source.html">Install from Windows Source</a>.</p>
<p>To verify HDRI is properly configured, look for "HDRI" as a feature:</p>
-<pre class="highlight"><code>magick identify -version
+<ul><pre class="bg-light text-dark"><samp>magick identify -version
Features: HDRI
-</code></pre>
+</samp></pre></ul>
</div>
</div>
</main><!-- /.container -->
@@ -150,4 +150,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:41 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:07 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/history.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - History</title>
+ <title>ImageMagick – History</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="history, image processing software" />
@@ -92,12 +92,12 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Genesis</h1>
-<p class="blockquote">
-I swear by my life and my love of it that I will never live for the sake of another man, nor ask another man to live for mine.<br />-- John Galt in "Atlas Shrugged", by Ayn Rand</p>
+<blockquote>
+ I swear by my life and my love of it that I will never live for the sake of another man, nor ask another man to live for mine. -- John Galt in "Atlas Shrugged", by Ayn Rand</blockquote>
<p class="lead magick-description">ImageMagick started with a request from my DuPont supervisor, Dr. David Pensak, to display computer-generated images on a monitor only capable of showing 256 unique colors simultaneously.</p>
-<p>In 1987, monitors that could display 24-bit true color images were rare and quite expensive. There were a plethora of chemists and biologists at DuPont, but very were computer scientists to confer with. Instead, I turned to Usenet for help, and posted a request for an algorithm to reduce 24-bit images to 256 colors. Paul Raveling of the USC Information Sciences Institute responded, with not only a solution, but one that was already in source code and available from USC's FTP site. Over the course of the next few years, I had frequent opportunities to get help with other vexing computer science problems I encountered in the course of doing my job at DuPont. Eventually I felt compelled to give thanks for the help I received from the knowledgeable folks on Usenet. I decided to freely release the image processing tools I developed to the world so that others could benefit from my efforts.</p>
+<p>In 1987, monitors that could display 24-bit true color images were rare and quite expensive. There were a plethora of chemists and biologists at DuPont, but very few were computer scientists to confer with. Instead, I turned to Usenet for help, and posted a request for an algorithm to reduce 24-bit images to 256 colors. Paul Raveling of the USC Information Sciences Institute responded, with not only a solution, but one that was already in source code and available from USC's FTP site. Over the course of the next few years, I had frequent opportunities to get help with other vexing computer science problems I encountered in the course of doing my job at DuPont. Eventually I felt compelled to give thanks for the help I received from the knowledgeable folks on Usenet. I decided to freely release the image processing tools I developed to the world so that others could benefit from my efforts.</p>
<p>In 1990 there were few freely available image processing tools so I expected an enthusiastic reception. Before a release was possible, Dr. Pensak had to convince upper management at DuPont to give away what they might perceive as valuable intellectual property. I suspect they agreed simply because ImageMagick was not chemically or biologically based, so they did not understand its value to the company. Either way, ImageMagick would not be available today without DuPont transferring the copyright to ImageMagick Studio LLC. ImageMagick was posted to Usenet's comp.archives group on August 1st, 1990.</p>
@@ -141,4 +141,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:03 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/identify.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Identify</title>
+ <title>ImageMagick – Command-line Tools: Identify</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, identify, image processing software" />
@@ -94,23 +94,22 @@
<h1 class="text-center">Image Format and Characteristics</h1>
<p class="text-center"><a href="identify.html#usage">Example Usage</a> • <a href="identify.html#options">Option Summary</a></p>
-<p class="lead magick-description">The <code>magick identify</code> program describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image, the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>magick identify</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">The <samp>magick identify</samp> program describes the format and characteristics of one or more image files. It also reports if an image is incomplete or corrupt. The information returned includes the image number, the file name, the width and height of the image, whether the image is colormapped or not, the number of colors in the image, the number of bytes in the image, the format of the image (JPEG, PNM, etc.), and finally the number of seconds it took to read and process the image. Many more attributes are available with the verbose option. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>magick identify</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>magick identify</code> command here to illustrate its usefulness and ease of use. To get started, lets identify an image in the JPEG format:</p>
+<p>We list a few examples of the <samp>magick identify</samp> command here to illustrate its usefulness and ease of use. To get started, lets identify an image in the JPEG format:</p>
-<pre class="highlight"><code>-> magick identify rose.jpg
-rose.jpg JPEG 70x46 70x46+0+0 8-bit sRGB 2.36KB 0.000u 0:00.000
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick identify rose.jpg
+rose.jpg JPEG 70x46 70x46+0+0 8-bit sRGB 2.36KB 0.000u 0:00.000 </samp></pre></ul>
-<p>By default, <code>magick identify</code> provides the following output:</p>
+<p>By default, <samp>magick identify</samp> provides the following output:</p>
-<ul><code>Filename[frame #] image-format widthxheight page-widthxpage-height+x-offset+y-offset colorspace user-time elapsed-time</code></ul>
+<ul><samp>Filename[frame #] image-format widthxheight page-widthxpage-height+x-offset+y-offset colorspace user-time elapsed-time</samp></ul>
<p>Next, we look at the same image in greater detail:</p>
-<pre class="pre-scrollable highlight"><code>-> magick identify -verbose rose.jpg
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>$ magick identify -verbose rose.jpg
Image: rose.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: images/jpeg
@@ -191,39 +190,37 @@
Number pixels: 3.22K
User time: 0.000u
Elapsed time: 0:01.000
- Version: ImageMagick 7.0.4-8 Q16 x86_64 http://imagemagick.org
-</code></pre>
+ Version: ImageMagick 7.0.4-8 Q16 x86_64 http://imagemagick.org </samp></pre></ul>
+
<p>Note, the image signature is generated from the pixel components, not the image metadata.</p>
<p>To get the print size in inches of an image at 72 DPI, use:</p>
-<pre class="highlight"><code>-> magick identify -format "%[fx:w/72] by %[fx:h/72] inches" document.png
-8.5 x 11 inches
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick identify -format "%[fx:w/72] by %[fx:h/72] inches" document.png
+8.5 x 11 inches </samp></pre></ul>
<p>The depth and dimensions of a raw image must be specified on the command line:</p>
-<pre class="highlight"><code>-> magick identify -depth 8 -size 640x480 image.raw
-image.raw RGB 640x480 sRGB 9kb 0.000u 0:01
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick identify -depth 8 -size 640x480 image.raw
+image.raw RGB 640x480 sRGB 9kb 0.000u 0:01 </samp></pre></ul>
<p>Here we display the image texture features, moments, perceptual hash, and the number of unique colors in the image:</p>
-<pre class="highlight"><code>-> magick identify -verbose -features 1 -moments -unique image.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ magick identify -verbose -features 1 -moments -unique image.png</samp></pre></ul>
<p>To display the convex hull and minimum bounding box attributes of the image, use:</p>
-<pre class="highlight"><code>magick identify -define identify:convex-hull=true image.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick identify -define identify:convex-hull=true image.png</samp></pre></ul>
<p>Here is a special define that outputs the location of the minimum or maximum pixel of the image:</p>
-<pre class="highlight"><code>magick identify -precision 5 -define identify:locate=maximum -define identify:limit=3 image.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick identify -precision 5 -define identify:locate=maximum -define identify:limit=3 image.png</samp></pre></ul>
-<p>You can find additional examples of using <code>magick identify</code> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>magick identify</samp> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>magick identify</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>magick identify</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -249,6 +246,11 @@
</tr>
<tr>
+ <td><a href="../www/command-line-options.html#auto-orient">-auto-orient</a></td>
+ <td>automagically orient image</td>
+ </tr>
+
+ <tr>
<td><a href="../www/command-line-options.html#channel">-channel <var>type</var></a></td>
<td>apply option to select image channels</td>
</tr>
@@ -480,4 +482,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:45 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/import.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Import</title>
+ <title>ImageMagick – Command-line Tools: Import</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, import, image processing software" />
@@ -94,26 +94,24 @@
<h1 class="text-center">Screenshot Utility</h1>
<p class="text-center"><a href="import.html#usage">Example Usage</a> • <a href="import.html#options">Option Summary</a></p>
-<p class="lead magick-description">Use the <code>import</code> program to capture some or all of an X server screen and save the image to a file. <code>import</code> captures the window selected by clicking or program argument. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>import</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>import</samp> program to capture some or all of an X server screen and save the image to a file. <samp>import</samp> captures the window selected by clicking or program argument. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>import</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>import</code> command here to illustrate its usefulness and ease of use. To get started, lets import an image of an X11 window in the JPEG format:</p>
+<p>We list a few examples of the <samp>import</samp> command here to illustrate its usefulness and ease of use. To get started, lets import an image of an X11 window in the JPEG format:</p>
-<pre class="highlight"><code>magick import rose.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick import rose.jpg </samp></pre></ul>
<p>To capture the entire X server screen in the Postscript image format:</p>
-<pre class="highlight"><code>magick import -window root screen.ps
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick import -window root screen.ps </samp></pre></ul>
-<p>You can find additional examples of using <code>import</code> in <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>import</samp> in <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>import</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>import</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -469,4 +467,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:54 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/index.html
^
|
@@ -7,7 +7,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Convert, Edit, or Compose Digital Images</title>
+ <title>ImageMagick – Convert, Edit, or Compose Digital Images</title>
<meta name="application-name" content="ImageMagick" />
<meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
<meta name="application-url" content="https://imagemagick.org" />
@@ -93,18 +93,18 @@
<div class="magick-header">
<h1 class="text-center">ImageMagick</h1>
<p class="lead magick-description"><a href="../images/wizard.png" title="And Now a Touch of Magick"><img class="img-fluid magick-icon" id="logo" alt="And Now a Touch of Magick" width="265" height="352" src="../images/wizard.jpg" /></a>
-Use ImageMagick<sup><a href="http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78333969">®</a></sup> to create, edit, compose, or convert digital images. It can read and write images in a variety of <a href="formats.html">formats</a> (over 200) including PNG, JPEG, GIF, HEIC, TIFF, <a href="motion-picture.html">DPX</a>, <a href="high-dynamic-range.html">EXR</a>, WebP, PDF, and SVG. ImageMagick can resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.</p>
+Use ImageMagick<sup><a href="http://tarr.uspto.gov/servlet/tarr?regser=serial&entry=78333969">®</a></sup> to create, edit, compose, or convert digital images. It can read and write images in a variety of <a href="formats.html">formats</a> (over 200) including PNG, JPEG, GIF, WebP, HEIC, SVG, PDF, <a href="motion-picture.html">DPX</a>, <a href="high-dynamic-range.html">EXR</a> and TIFF. ImageMagick can resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.</p>
<p>ImageMagick is free software delivered as a ready-to-run binary distribution or as source code that you may use, copy, modify, and distribute in both open and proprietary applications. It is distributed under a derived Apache 2.0 <a href="license.html">license</a>.</p>
<p>ImageMagick utilizes multiple computational threads to increase performance and can read, process, or write mega-, giga-, or tera-pixel image sizes.</p>
-<p>The current release is ImageMagick <a href="download.html">7.0.10-62</a>. It runs on <a href="download.html#unix">Linux</a>, <a href="download.html#windows">Windows</a>, <a href="download.html#macosx">Mac Os X</a>, <a href="download.html#iOS">iOS</a>, <a href="https://github.com/cherryleafroad/Android-ImageMagick7">Android</a> OS, and others.</p>
+<p>The current release is ImageMagick <a href="download.html">7.1.0-13</a>. It runs on <a href="download.html#linux">Linux</a>, <a href="download.html#windows">Windows</a>, <a href="download.html#macosx">Mac Os X</a>, <a href="download.html#iOS">iOS</a>, <a href="https://github.com/cherryleafroad/Android-ImageMagick7">Android</a> OS, and others.</p>
<p>The authoritative ImageMagick web site is <a href="../">https://imagemagick.org</a>. The authoritative source code repository is <a href="https://github.com/ImageMagick/ImageMagick" target="_blank">https://github.com/ImageMagick/ImageMagick</a>. We continue to maintain the legacy release of ImageMagick, version 6, at <a href="https://legacy.imagemagick.org/" target="_blank">https://legacy.imagemagick.org</a>.</p>
<h2><a class="anchor" id="features"></a>Features and Capabilities</h2>
<p>Here are just a few <a href="../www/examples.html">examples</a> of what ImageMagick can do for you:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td><a href="https://legacy.imagemagick.org/Usage/anim_basics/">Animation</a></td>
@@ -148,7 +148,7 @@
</tr>
<tr>
<td><a href="https://legacy.imagemagick.org/Usage/transform/#vision">Delineate image features</a></td>
- <td><a href="https://legacy.imagemagick.org/discourse-server~/viewtopic37d8.html?f=4&t=25405">Canny edge detection</a>, <a href="https://legacy.imagemagick.org/discourse-server~/viewtopic37d8.html?f=4&t=25476">Hough lines</a>.</td>
+ <td><a href="http://www.imagemagick.org/Usage/transform/#canny">Canny edge detection</a>, <a href="command-line-options.html#hough-line">Hough lines</a>.</td>
</tr>
<tr>
<td><a href="https://legacy.imagemagick.org/Usage/fourier/">Discrete Fourier transform</a></td>
@@ -183,8 +183,12 @@
<td>accurately represent the wide range of intensity levels found in real scenes ranging from the brightest direct sunlight to the deepest darkest shadows.</td>
</tr>
<tr>
- <td><a href="../www/clahe.html">Histogram Equalization</a></td>
- <td>Use adaptive histogram equalization to improve contrast in images.</td>
+ <td><a href="../www/clahe.html">Histogram equalization</a></td>
+ <td>use adaptive histogram equalization to improve contrast in images.</td>
+ </tr>
+ <tr>
+ <td><a href="../www/magick-cache.html">Image cache</a></td>
+ <td>secure methods and tools to cache images, image sequences, video, audio or metadata in a local folder..</td>
</tr>
<tr>
<td><a href="../www/fx.html">Image calculator</a></td>
@@ -284,4 +288,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:32 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/install-source.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Install from Source</title>
+ <title>ImageMagick – Install from Source</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="install, from, source, image processing software" />
@@ -92,51 +92,53 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Install from Source</h1>
-<p class="text-center"><a href="install-source.html#unix">Install from Unix Source</a> • <a href="install-source.html#windows">Install from Windows Source</a></p>
+<p class="text-center"><a href="install-source.html#linux">Install from Linux Source</a> • <a href="install-source.html#windows">Install from Windows Source</a></p>
-<p class="lead magick-description">Chances are, ImageMagick is already installed on your computer if you are using some flavor of Unix, and its likely not installed if you are using some form of Windows. In either case, you can type the following to find out:</p>
+<p class="lead magick-description">Chances are, ImageMagick is already installed on your computer if you are using some flavor of Linux, and its likely not installed if you are using some form of Windows. In either case, you can type the following to find out:</p>
-<pre class="highlight"><code>magick identify -version
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick identify -version
+</samp></pre></ul>
-<p>If the <a href="identify.html">identify</a> program executes and identifies itself as ImageMagick, you may not need to install ImageMagick from source unless you want to add support for additional image formats or upgrade to a newer version. You also have the option of installing a pre-compiled <a href="../www/download.html">binary release</a>. However, if you still want to install from source, choose a platform, <a href="install-source.html#unix">Unix</a> or <a href="install-source.html#windows">Windows</a>. Before installing from source, you may want to review recent <a href="changelog.html">changes</a> to the ImageMagick distribution.</p>
+<p>If the <a href="identify.html">identify</a> program executes and identifies itself as ImageMagick, you may not need to install ImageMagick from source unless you want to add support for additional image formats or upgrade to a newer version. You also have the option of installing a pre-compiled <a href="../www/download.html">binary release</a>. However, if you still want to install from source, choose a platform, <a href="install-source.html#linux">Linux</a> or <a href="install-source.html#windows">Windows</a>. Before installing from source, you may want to review recent <a href="changelog.html">changes</a> to the ImageMagick distribution.</p>
<p>The authoritative source code repository is <a href="https://github.com/ImageMagick">https://github.com/ImageMagick</a>. </p>
-<h2><a class="anchor" id="unix"></a>Install from Unix Source</h2>
+<h2><a class="anchor" id="linux"></a>Install from Linux Source</h2>
-<p>ImageMagick builds on a variety of Unix and Unix-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A compiler is required and fortunately almost all modern Unix systems have one. Clone the source repository:</p>
+<p>ImageMagick builds on a variety of Linux and Linux-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A compiler is required and fortunately almost all modern Linux systems have one. Clone the source repository:</p>
-<pre><span class="crtprompt">$ </span><span class='crtin'>git clone https://github.com/ImageMagick/ImageMagick.git ImageMagick-7.0.10</span></pre>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>git clone https://github.com/ImageMagick/ImageMagick.git ImageMagick-7.1.0</span></code></pre></ul>
<p>Or download <a href="https://download.imagemagick.org/ImageMagick/download/ImageMagick.tar.gz">ImageMagick.tar.gz</a> from <a href="../download">imagemagick.org</a> or a <a href="../www/download.html">mirror</a> and verify the distribution against its <a href="https://download.imagemagick.org/ImageMagick/download/digest.rdf">message digest</a>.</p>
<p>Next configure and compile ImageMagick. Note the <a href="https://en.wikipedia.org/wiki/Pkg-config">pkg-config</a> script is required so that ImageMagick can find certain optional delegate libraries on your system. To configure, type:</p>
-<pre><span class="crtprompt">$ </span><span class='crtin'>cd ImageMagick-7.0.10</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>./configure</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>make</span></pre>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>cd ImageMagick-7.1.0</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>./configure</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>make</span></code></pre></ul>
+<p>If build fails, try <samp>gmake</samp> instead.</p>
+
<p>For advanced users, we recommend a modules build:</p>
-<pre><span class="crtprompt">$ </span><span class='crtin'>./configure --with-modules</span></pre><p>If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type</p>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>./configure --with-modules</span></code></pre></ul><p>If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type</p>
-<pre class="highlight"><code>sudo make install
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>sudo make install
+</samp></pre></ul>
<p>You may need to configure the dynamic linker run-time bindings:</p>
-<pre class="highlight"><code>sudo ldconfig /usr/local/lib
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>sudo ldconfig /usr/local/lib
+</samp></pre></ul>
<p>Finally, verify the ImageMagick install worked properly, type</p>
-<pre class="highlight"><code>/usr/local/bin/convert logo: logo.gif
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>/usr/local/bin/convert logo: logo.gif
+</samp></pre></ul>
<p>For a more comprehensive test, run the ImageMagick validation suite. Ghostscript and Freetype are prerequisites, otherwise expect the EPS, PS, PDF and text annotations tests to fail.</p>
-<pre class="highlight"><code>make check
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>make check
+</samp></pre></ul>
<p>Congratulations, you have a working ImageMagick distribution and you are ready to use ImageMagick to <a href="https://legacy.imagemagick.org/Usage/">convert, compose, or edit</a> your images or perhaps you'll want to use one of the <a href="../www/develop.html">Application Program Interfaces</a> for C, C++, Perl, and others.</p>
-<p>The above instructions will satisfy a great number of ImageMagick users, but we suspect a few will have additional questions or problems to consider. For example, what does one do if ImageMagick fails to configure or compile? Or what if you don't have administrator privileges and what if you don't want to install ImageMagick in the default <code>/../usr/local</code> folder? You will find the answer to these questions, and more, in <a href="advanced-unix-installation.html">Advanced Unix Source Installation</a>.</p>
+<p>The above instructions will satisfy a great number of ImageMagick users, but we suspect a few will have additional questions or problems to consider. For example, what does one do if ImageMagick fails to configure or compile? Or what if you don't have administrator privileges and what if you don't want to install ImageMagick in the default <samp>/../usr/local</samp> folder? You will find the answer to these questions, and more, in <a href="advanced-linux-installation.html">Advanced Linux Source Installation</a>.</p>
<h2><a class="anchor" id="windows"></a>Install from Windows Source</h2>
<p>We recommend you first uninstall an existing ImageMagick, else you might be surprised that your magick/convert commands go to the old version.<p>
@@ -144,31 +146,31 @@
<p>Clone the Github repo:<p>
-<pre class="highlight"><code>git clone https://github.com/ImageMagick/ImageMagick-Windows.git ImageMagick-Windows-7</code></pre>
+<ul><pre class="bg-light text-dark"><samp>git clone https://github.com/ImageMagick/ImageMagick-Windows.git ImageMagick-Windows-7</samp></pre></ul>
-<p>and run <code>CloneRepositories.cmd</code>. Or download <a href="https://download.imagemagick.org/ImageMagick/download/windows">ImageMagick-Windows.zip</a> from <a href="https://download.imagemagick.org/ImageMagick/download/windows">imagemagick.org</a> or a <a href="mirror.html">mirror</a> and verify the distribution against its <a href="https://download.imagemagick.org/ImageMagick/download/digest.rdf">message digest</a>.</p>
+<p>and run <samp>CloneRepositories.cmd</samp>. Or download <a href="https://download.imagemagick.org/ImageMagick/download/windows">ImageMagick-Windows.zip</a> from <a href="https://download.imagemagick.org/ImageMagick/download/windows">imagemagick.org</a> or a <a href="mirror.html">mirror</a> and verify the distribution against its <a href="https://download.imagemagick.org/ImageMagick/download/digest.rdf">message digest</a>.</p>
-<pre class="highlight"><code>unzip ImageMagick-windows.zip</code></pre>
+<ul><pre class="bg-light text-dark"><samp>unzip ImageMagick-windows.zip</samp></pre></ul>
<p> Unzip in a folder that does not need Admin permissions, otherwise Visual Studio will not be able to build the solution.<p>
-<p>Next, launch your Visual Studio IDE and choose <kbd>Open->Project</kbd>. Select the configure workspace from the <kbd>ImageMagick-7.0.10/VisualMagick/configure</kbd> folder and open configure.sln. Choose <kbd>Build->Build Solution</kbd>
+<p>Next, launch your Visual Studio IDE and choose <kbd>Open->Project</kbd>. Select the configure workspace from the <kbd>ImageMagick-7.1.0/VisualMagick/configure</kbd> folder and open configure.sln. Choose <kbd>Build->Build Solution</kbd>
to compile the program and on completion run the program.</p>
-<p><img class="img-fluid mx-auto d-block" src="../images/configure.jpg" alt="[configure]" /></p>
+<ul><img class="img-fluid me-auto d-block" src="../images/configure.jpg" alt="[configure]" /></ul>
-<p>Press <kbd>Next</kbd> and click on the multi-threaded static build. Now press, on <kbd>Next</kbd> twice and finally <kbd>Finish</kbd>. The configuration utility just created a workspace required to build ImageMagick from source. Choose <kbd>Open->Project</kbd> and select the VisualStaticMT workspace from the <kbd>ImageMagick-7.0.10/VisualMagick/</kbd> folder. Finally, choose <kbd>Build->Build Solution</kbd> to compile and build the ImageMagick distribution.</p>
+<p>Press <kbd>Next</kbd> and click on the multi-threaded static build. Now press, on <kbd>Next</kbd> twice and finally <kbd>Finish</kbd>. The configuration utility just created a workspace required to build ImageMagick from source. Choose <kbd>Open->Project</kbd> and select the VisualStaticMT workspace from the <kbd>ImageMagick-7.1.0/VisualMagick/</kbd> folder. Finally, choose <kbd>Build->Build Solution</kbd> to compile and build the ImageMagick distribution.</p>
<p>To verify ImageMagick is working properly, launch a MS-DOS Command Prompt window and type</p>
-<pre><span class="crtprompt">$ </span><span class='crtin'>cd ImageMagick-7.0.10</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>convert logo: image.jpg</span></pre><p>You may want to add the full path to VisualMagick\bin for your environment PATH variable, so you can call Magick/convert from any directory.<p>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>cd ImageMagick-7.1.0</span><span class='crtout'><br/></span><span class="crtprompt">$ </span><span class='crtin'>convert logo: image.jpg</span></code></pre></ul><p>You may want to add the full path to VisualMagick\bin for your environment PATH variable, so you can call Magick/convert from any directory.<p>
<p>For a more comprehensive test, run the ImageMagick validation suite:</p>
-<pre class="highlight"><code>validate
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>validate
+</samp></pre></ul>
<p>Congratulations, you have a working ImageMagick distribution under Windows and you are ready to use ImageMagick to <a href="https://legacy.imagemagick.org/Usage/">convert, compose, or edit</a> your images or perhaps you'll want to use one of the <a href="../www/develop.html">Application Program Interfaces</a> for C, C++, Perl, and others.</p>
-<p>The above instructions will satisfy a great number of ImageMagick users, but we suspect a few will have additional questions or problems to consider. For example, what does one do if ImageMagick fails to configure or compile? Or what if you want to install ImageMagick in a place other than the <kbd>ImageMagick-7.0.10/VisualMagick/bin</kbd> folder? Or perhaps you want to build and install the <a href="ImageMagickObject.html">ImageMagickObject</a> COM+ component. You will find the answer to these questions, and more, in <a href="advanced-windows-installation.html">Advanced Windows Source Installation</a>.</p>
+<p>The above instructions will satisfy a great number of ImageMagick users, but we suspect a few will have additional questions or problems to consider. For example, what does one do if ImageMagick fails to configure or compile? Or what if you want to install ImageMagick in a place other than the <kbd>ImageMagick-7.1.0/VisualMagick/bin</kbd> folder? Or perhaps you want to build and install the <a href="ImageMagickObject.html">ImageMagickObject</a> COM+ component. You will find the answer to these questions, and more, in <a href="advanced-windows-installation.html">Advanced Windows Source Installation</a>.</p>
</div>
</div>
@@ -199,4 +201,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:48 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/jp2.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - JP2 Encoding Options</title>
+ <title>ImageMagick – JP2 Encoding Options</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="jp2, encoding, options, image processing software" />
@@ -103,42 +103,35 @@
<p>Use this command to convert a JPEG-2000 image to the PNG image format:</p>
-<pre class="highlight"><code>magick wizard.jp2 wizard.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick wizard.jp2 wizard.png </samp></pre></ul>
<p>Let's convert a JPEG image to a lossless JPEG-2000 image:</p>
-<pre class="highlight"><code>magick wizard.jpg -quality 0 wizard.jp2
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick wizard.jpg -quality 0 wizard.jp2 </samp></pre></ul>
<p>Here we extract an area from the image:</p>
-<pre class="highlight"><code>magick 'wizard.jp2[640x480+0+0]' wizard.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick 'wizard.jp2[640x480+0+0]' wizard.png </samp></pre></ul>
<p>Extract a particular tile from the image:</p>
-<pre class="highlight"><code>magick 'wizard.jp2[2]' wizard.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick 'wizard.jp2[2]' wizard.png </samp></pre></ul>
<p>Specify a subsampling factor:</p>
-<pre class="highlight"><code>magick wizard.png -colorspace YUV -sampling-factor 2,2 wizard.jp2
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick wizard.png -colorspace YUV -sampling-factor 2,2 wizard.jp2 </samp></pre></ul>
<p>Save a tiled JPEG-2000 image:</p>
-<pre class="highlight"><code>magick wizard.png 'wizard.png[512x512]'
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick wizard.png 'wizard.png[512x512]' </samp></pre></ul>
<p>Write a digital Cinema 4K profile compliant codestream:</p>
-<pre class="highlight"><code>magick wizard.png -resize 4096x2160! -depth 12 wizard.jp2
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick wizard.png -resize 4096x2160! -depth 12 wizard.jp2 </samp></pre></ul>
<p>Here is a complete list of JPEG-2000 decoding options:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td>jp2:quality-layers=<var>x</var></td>
@@ -152,7 +145,7 @@
<p>Here is a complete list of JPEG-2000 encoding options:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td>jp2:number-resolutions=<var>x</var></td>
@@ -200,4 +193,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/license.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - License</title>
+ <title>ImageMagick – License</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="ImageMagick is free image-processing software distributed under a derived Apache 2.0 license." />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="license, image processing software" />
@@ -202,7 +202,7 @@
<p>To apply the ImageMagick License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information (don't include the brackets). The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.</p>
-<pre class="highlight"><code> Copyright [yyyy] [name of copyright owner]
+<ul><pre class="bg-light text-dark"><samp> Copyright [yyyy] [name of copyright owner]
Licensed under the ImageMagick License (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy
@@ -214,8 +214,7 @@
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
- under the License.
-</code></pre>
+ under the License. </samp></pre></ul>
</div>
</div>
@@ -246,4 +245,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:11 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/links.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Related Web Sites</title>
+ <title>ImageMagick – Related Web Sites</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="related, web, sites, image processing software" />
@@ -100,7 +100,7 @@
<h2><a class="anchor" id="web"></a>Use ImageMagick Online</h2>
<ul>
<dd class="col-md-8"><a href="https://jqmagick.imagemagick.org/">JqMagick</a></dd>
- <dd class="col-md-8"><a href="https://magickstudio.imagemagick.org/">ImageMagick Online Studio</a></dd>
+ <dd class="col-md-8"><a href="https://magickstudio.imagemagick.org/">Magick Online Studio</a></dd>
</ul>
<h2><a class="anchor" id="command-line"></a>Command-line Tutorials</h2>
@@ -144,7 +144,7 @@
<h2><a class="anchor" id="topics"></a>ImageMagick Topics</h2>
<ul>
- <dd class="col-md-8"><a href="http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/ImageMagick/">FreeBSD port</a></dd>
+ <dd class="col-md-8"><a href="https://svnweb.freebsd.org/ports/head/graphics/ImageMagick7/">FreeBSD port</a></dd>
<dd class="col-md-8"><a href="http://directory.fsf.org/project/ImageMagick/">Free Software Foundation</a></dd>
<dd class="col-md-8"><a href="http://www.enterprisetech.com/2014/07/16/convey-dell-fpga-appliance-accelerates-hyperscale-image-resizing/">Hyperscale Image Resizing</a> </dd>
<dd class="col-md-8"><a href="http://pkgsrc.se/graphics/ImageMagick/">NetBSD</a></dd>
@@ -205,4 +205,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:08 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/magick++.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Magick++, C++ API</title>
+ <title>ImageMagick – Magick++, C++ API</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magick++, c++, api, image processing software" />
@@ -132,35 +132,33 @@
Windows.
</p>
<h2>Usage</h2>
-<p>A helper script named <code>Magick++-config</code> is installed
-under Unix which assists with recalling compilation options required
+<p>A helper script named <samp>Magick++-config</samp> is installed
+under Linux which assists with recalling compilation options required
to compile and link programs which use Magick++. For example, the
-following command compiles and links the source file <code>demo.cpp</code>
-to produce the executable <code>demo</code> (notice that quotes are
+following command compiles and links the source file <samp>demo.cpp</samp>
+to produce the executable <samp>demo</samp> (notice that quotes are
backward quotes):
</p>
-<pre class="highlight"><code>c++ `Magick++-config --cxxflags --cppflags` -O2 -o demo demo.cpp \
- `Magick++-config --ldflags --libs`
-</code></pre>
-<p>Set the <code>PKG_CONFIG_PATH</code> environment variable if ImageMagick is not in your default system path:</p>
+<ul><pre class="bg-light text-dark"><samp>c++ `Magick++-config --cxxflags --cppflags` -O2 -o demo demo.cpp \
+ `Magick++-config --ldflags --libs` </samp></pre></ul>
-<pre class="highlight"><code>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
-</code></pre>
+<p>Set the <samp>PKG_CONFIG_PATH</samp> environment variable if ImageMagick is not in your default system path:</p>
+
+<ul><pre class="bg-light text-dark"><samp>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig </samp></pre></ul>
<p>Windows users may get started by manually editing a project file
for one of the Magick++ demo programs.
</p>
<p>Note, under Windows (and possibly the Mac) it may be necessary to initialize the ImageMagick library prior to using the Magick++ library. This initialization is performed by passing the path to the ImageMagick DLLs (assumed to be in the same directory as your program) to the InitializeMagick() function call. This is commonly performed by providing the path to your program (argv[0]) as shown in the following example: </p>
-<pre class="highlight"><code>int main( int argc, char ** argv) {
+<ul><pre class="bg-light text-dark"><samp>int main( int argc, char ** argv) {
InitializeMagick(*argv);
- ...
-</code></pre>
-<p>This initialization step is not required under Unix, Linux,
+ ... </samp></pre></ul>
+<p>This initialization step is not required under Linux, Linux,
Cygwin, or any other operating environment that supports the notion
of <var>installing</var> ImageMagick in a known location. </p>
<p>Here is a example program that utilizes the Magick++ API to get you started, <a href="https://imagemagick.org/source/magick++.cpp">magick++.cpp</a>. It reads an image, crops it, and writes it to disk in the PNG image format.</p>
-<pre class="pre-scrollable highlight"><code>
+<ul><pre class="pre-scrollable bg-light text-dark"><code>
#include <Magick++.h>
#include <iostream>
@@ -191,8 +189,7 @@
return 1;
}
return 0;
-}
-</code></pre>
+} </code></pre></ul>
<h2>Reporting Bugs</h2>
<a class="anchor" id="bugs"></a>
<p>Questions regarding usage should be directed to or to report any bugs go to
@@ -227,4 +224,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:08 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/magick-cache.html
^
|
@@ -0,0 +1,186 @@
+
+
+
+
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>ImageMagick – MagickCache: an Efficient Image Cache</title>
+ <meta name="application-name" content="ImageMagick" />
+ <meta name="description" content="Secure methods and tools to cache images, image sequences,
+video, audio or metadata in a local folder.">
+ <meta name="application-url" content="https://imagemagick.org" />
+ <meta name="generator" content="PHP" />
+ <meta name="keywords" content="magickcache:, an, efficient, image, cache, image processing software" />
+ <meta name="rating" content="GENERAL" />
+ <meta name="robots" content="INDEX, FOLLOW" />
+ <meta name="generator" content="ImageMagick Studio LLC" />
+ <meta name="author" content="ImageMagick Studio LLC" />
+ <meta name="revisit-after" content="2 DAYS" />
+ <meta name="resource-type" content="document" />
+ <meta name="copyright" content="Copyright (c) 1999-2020 ImageMagick Studio LLC" />
+ <meta name="distribution" content="Global" />
+ <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1" />
+ <meta property='og:url' content='../' />
+ <meta property='og:title' content='ImageMagick' />
+ <meta property='og:image' content='../images/logo.png' />
+ <meta property='og:type' content='website' />
+ <meta property='og:site_name' content='ImageMagick' />
+ <meta property='og:description' content="Create, Edit, Compose, or Convert Digital Images" />
+ <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" />
+ <link href="magick-cache.html" rel="canonical" />
+ <link href="../images/wand.png" rel="icon" />
+ <link href="../images/wand.ico" rel="shortcut icon" />
+ <link href="assets/magick.css" rel="stylesheet" />
+</head>
+<body>
+ <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
+ <div class="container-fluid">
+ <a class="navbar-brand" href="../"><img class="d-block" id="icon" alt="ImageMagick" width="32" height="32" src="../images/wand.ico"/></a>
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#magick-navbars" aria-controls="magick-navbars" aria-expanded="false" aria-label="Toggle navigation">
+ <span class="navbar-toggler-icon"></span>
+ </button>
+
+ <div class="collapse navbar-collapse" id="magick-navbars">
+ <ul class="navbar-nav me-auto mb-2 mb-md-0">
+ <li class="nav-item">
+ <a class="nav-link " href="../www/index.html">Home</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/download.html">Download</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/command-line-tools.html">Tools</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/command-line-processing.html">CLI</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link " href="../www/develop.html">Develop</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">Community</a>
+ </li>
+ <li class="nav-item">
+ <iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
+ </li>
+ </ul>
+ <form class="d-flex form-inline" action="search.html">
+ <input class="form-control me-2" type="text" name="q" placeholder="Search" aria-label="Search">
+ <button class="btn btn-outline-success" type="submit" name="sa">Search</button>
+ </form>
+ </div>
+ </div>
+ </nav>
+
+ <div class="container">
+ <script async="async" src="https://localhost/pagead/js/adsbygoogle.js"></script>
+ <ins class="adsbygoogle"
+ style="display:block"
+ data-ad-client="ca-pub-3129977114552745"
+ data-ad-slot="6345125851"
+ data-full-width-responsive="true"
+ data-ad-format="horizontal"></ins>
+ <script>
+ (adsbygoogle = window.adsbygoogle || []).push({});
+ </script>
+
+ </div>
+
+ <main class="container">
+ <div class="magick-template">
+<div class="magick-header">
+<h1 class="text-center">MagickCache: an Efficient Image Cache</h1>
+<p class="text-info">The Magick cache is a work in progress. Do not use the cache in production services until version is at least 1.0.0. It is currently 0.9.2. The MagickCache requires ImageMagick version 7.1.0-0 or above.</p>
+<p class="lead magick-description">The MagickCache provides secure methods and tools to cache images, image sequences, video, audio or metadata in a local folder. Any content is memory-mapped for efficient retrieval. Additional efficiencies are possible by retrieving a portion of an image. Content can persist or you can assign a time-to-live (TTL) to automatically expire content when the TTL is exceeded. MagickCache supports virtually unlimited content upwards of billions of images making it suitable as a web image service.</p>
+<p>The MagickCache works in concert with <a href="https://imagemagick.org">ImageMagick</a>. Download the <a href="https://github.com/ImageMagick/MagickCache">MagickCache</a> and install. You will now want to create the cache and populate it with images, video, and associated metadata.</p>
+<h4>Create a MagickCache</h4>
+<p>You will require a place to store and retrieve your content. Let's create a cache on our local filesystem:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt create /opt/magick-cache</samp></pre></ul>
+<p>Where `passkey.txt` contains your cache passkey. Don't lose your passkey. Without it, you will be unable to identify, expire, or delete content in your cache.</p>
+<p>You only need to create a MagickCache once. You can, however, create more than one MagickCache with different paths.</p>
+<p>Once the MagickCache is created, you will want to populate the cache with content that includes images, video, audio, or metadata.
+<h4>Put content in the MagickCache</h4>
+<p>Let's add a movie cast image to our newly created cache:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache put /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson 20210508-rebecca-ferguson.jpg</samp></pre></ul>
+<p>Note, the image identifier is an IRI composed of <em>project</em>/<em>type</em>/<em>resource-path</em>. In this example, the project is <samp>movies</samp>, type is <samp>image</samp>, and the resource path is <samp>mission-impossible/cast/rebecca-ferguson</samp>. The path uniquely identifies a cache resource. Two different images cannot be stored with the same resource path. Instead use something like <samp>mission-impossible/cast/20210508-rebecca-ferguson-1</samp> and <samp>mission-impossible/cast/20210508-rebecca-ferguson-2</samp>.</p>
+<p>Now, let's set a resource passkey and the time to live to 2 days. Anytime after the second day, the image is automatically deleted with the <samp>expire</samp> function. To get, expire, or delete the image, you will need to use the same resource passkey:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt -ttl "2 days" put /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson 20210508-rebecca-ferguson.jpg</samp></pre></ul>
+<p>Where <samp>passkey.txt</samp> contains your resource passkey. Don't lose your passkey. Without it, you will be unable to get, identify, expire or delete resources you own.</p>
+<p>The resource passkey ensures only you and the cache owner can access your image. To prevent the cache owner from viewing its content, scramble it with:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt -passphrase passphrase.txt -ttl "2 days" put /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson 20210508-rebecca-ferguson.jpg</samp></pre></ul>
+<p>Note, blobs and metadata are stored in the cache in plaintext. To prevent snooping, scramble the content before you store it in the cache.</p>
+<h4>Get content from the MagickCache</h4>
+<p>Eventually you will want retrieve your content, let's get our original cast image from the cache:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt get /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson rebecca-ferguson.png</samp></pre></ul>
+<p>Notice the original image was put in the cache in the JPEG format. Here we conveniently convert it to the PNG format as we extract the image.</p>
+<p>The <samp>-extract</samp> option is useful when retrieving an image. To extract a portion of the image, specify tile width, height, and offset:</p>
+
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt -extract 100x100+0+0 get /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson rebecca-ferguson.png</samp></pre></ul>
+<p>To resize instead, do not specify the offset:</p>
+
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt -extract 100x100 get /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson rebecca-ferguson.png</samp></pre></ul>
+
+<p>If your image is scrambled, provide the passphrase to descramble it:</p>
+
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt -passphrase passphrase.txt get /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson rebecca-ferguson.png</samp></pre></ul>
+
+<h4>Delete content from the MagickCache</h4>
+<p>We can explicitly delete content:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt delete /opt/magick-cache movies/images/mission-impossible/cast/rebecca-ferguson</samp></pre></ul>
+<p>or we can delete all cast images that have expired (exceeded their respective time to live), try this comand:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt expire /opt/magick-cache movies/images/mission-impossible/cast</samp></pre></ul>
+<h4>Identify the MagickCache content</h4>
+<p>Perhaps you want to identify all the content you own:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt identify /opt/magick-cache movies/images/mission-impossible/cast
+movies/images/mission-impossible/cast/rebecca-ferguson[1368x912] 406B 1:0:0:0 2021-05-30T17:41:42Z
+identified 1 resources</samp></pre></ul>
+<p>Each entry includes the IRI, image dimensions for images, the content extent in bytes, time to live, whether the resource is expired (denoted with a `*`), and the creation date.</p>
+<p>Others can store content in the cache along side your content. However, their content is unavailable to you. You cannot get, identify, expire or delete content that you do not own as determined by your secret passkey.</p>
+<p>The MagickCache owner can get, identify, expire, or delete all the content, including content you own, with this command, for example:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt identify /opt/magick-cache /</samp></pre></ul>
+<p>Note, expired reesources are annotated with an asterisks.</p>
+<h4>MagickCache is not just for Images</h4>
+<p>In addition to a type of <samp>image</samp>, you can store the image content in its original form, video, or audio as content type of <samp>blob</samp> or metadata with a content type of <samp>meta</samp>:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt put /opt/magick-cache movies/blob/mission-impossible/cast/rebecca-ferguson 20210508-rebecca-ferguson.mp4</samp></pre></ul>
+<p> or</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt put /opt/magick-cache movies/meta/mission-impossible/cast/rebecca-ferguson 20210508-rebecca-ferguson.txt</samp></pre></ul>
+<p>Images must be in a format that ImageMagick understands. Metadata must be text. Blobs can be any content including images, video, audio, or binary files.</p>
+<h4>Delete a MagickCache</h4>
+<p>The MagickCache owner can completely delete all the content within a cache:</p>
+<ul><pre class="bg-light text-dark"><samp>$ magick-cache -passkey passkey.txt delete /opt/magick-cache /</samp></pre></ul>
+<p>Be careful, after this command, your cached content is irrevocably lost.</p>
+<h4>Security</h4>
+<p>MagickCache security is not crytographically strong. Instead it generates a unique hash for each resource ensuring the resource ID cannot be discovered. A resource is accessible to both the user of the cache and the cache owner provided they can present their respective passkeys. They are also accessible to anyone with sufficient privileges to access the MagickCache disk path.</p>
+</div>
+ </div>
+ </main><!-- /.container -->
+ <footer class="magick-footer">
+ <div class="container-fluid">
+ <a href="../www/security-policy.html">Security</a> •
+ <a href="../www/news.html">News</a>
+
+ <a href="magick-cache.html#"><img class="d-inline" id="wand" alt="And Now a Touch of Magick" width="16" height="16" src="../images/wand.ico"/></a>
+
+ <a href="../www/links.html">Related</a> •
+ <a href="../www/sitemap.html">Sitemap</a>
+ <br/>
+ <a href="../www/support.html">Sponsor</a> •
+ <a href="../www/cite.html">Cite</a> •
+ <a href="http://pgp.mit.edu/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> •
+ <a href="../www/https://imagemagick.org/script/contact.php">Contact Us</a>
+ <br/>
+ <a href="https://github.com/imagemagick/imagemagick" target="_blank" rel="noopener" aria-label="GitHub"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 499.36" width="2%" height="2%" role="img" focusable="false"><title>GitHub</title><path fill="currentColor" fill-rule="evenodd" d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z"/></svg></a> •
+ <a href="https://twitter.com/imagemagick" target="_blank" rel="noopener" aria-label="Twitter"><svg xmlns="http://www.w3.org/2000/svg" class="navbar-nav-svg" viewBox="0 0 512 416.32" width="2%" height="2%" role="img" focusable="false"><title>Twitter</title><path fill="currentColor" d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92"/></svg></a>
+ <br/>
+ <small>© 1999-2021 ImageMagick Studio LLC</small>
+ </div>
+ </footer>
+
+ <!-- Javascript assets -->
+ <script src="assets/magick.js" ></script>
+ </body>
+</html>
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/magick-core.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickCore, Low-level C API</title>
+ <title>ImageMagick – MagickCore, Low-level C API</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickcore, low-level, c, api, image processing software" />
@@ -127,11 +127,13 @@
<li><a href="api/montage.html">Create an Image Thumbnail</a></li>
<li><a href="api/fourier.html">Compute the discrete Fourier transform (DFT)</a></li>
<li><a href="api/compare.html">Compare an Image to a Reconstructed Image</a></li>
+ <li><a href="api/vision.html">Computer Vision</a></li>
<li><a href="api/display.html">Interactively Display and Edit an Image</a></li>
<li><a href="api/animate.html">Interactively Animate an Image Sequence</a></li>
<li><a href="api/cipher.html">Convert to and from Cipher Pixels</a></li>
<li><a href="api/list.html">Working with Image Lists</a></li>
<li><a href="api/image-view.html">Image View Methods</a></li>
+ <li><a href="api/image-cache.html">Image Cache Methods</a></li>
<li><a href="api/cache.html">Get or Set Image Pixels</a></li>
<li><a href="api/cache-view.html">Working with Cache Views</a></li>
<li><a href="api/stream.html">The Pixel FIFO</a></li>
@@ -151,15 +153,15 @@
<p>After you write your MagickCore program, compile it like this:</p>
-<ul><pre class="highlight"><code>cc -o core core.c `pkg-config --cflags --libs MagickWand`</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>cc -o core core.c `pkg-config --cflags --libs MagickWand`</samp></pre></ul>
-<p>Set the <code>PKG_CONFIG_PATH</code> environment variable if ImageMagick is not in your default system path:</p>
+<p>Set the <samp>PKG_CONFIG_PATH</samp> environment variable if ImageMagick is not in your default system path:</p>
-<ul><pre class="highlight"><code>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig </code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig </samp></pre></ul>
<p>Here is a example program that utilizes the MagickCore API to get you started, <a href="https://imagemagick.org/source/core.c">core.c</a>. It reads a GIF image, creates a thumbnail, and writes it to disk in the PNG image format.</p>
-<ul><pre class="pre-scrollable highlight"><code>#include <stdio.h>
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
@@ -221,10 +223,10 @@
exception=DestroyExceptionInfo(exception);
MagickCoreTerminus();
return(0);
-}</code></pre></ul>
+}</samp></pre></ul>
<p><a class="anchor" id="image-view"></a>Now lets perform the same contrast enhancement while taking advantage of our dual or quad-core processing system by running the algorithm in parallel utilizing wand views. The <a href="https://imagemagick.org/source/core/sigmoidal-contrast.c">sigmoidal-contrast.c</a> module reads an image, applies sigmoidal non-linearity contrast control, and writes the result to disk just like the previous contrast enhancement program, but now it does its work in parallel (assumes ImageMagick is built with OpenMP support).</p>
-<ul><pre class="pre-scrollable highlight"><code>#include <stdio.h>
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <MagickCore/MagickCore.h>
@@ -340,7 +342,7 @@
image_info=DestroyImageInfo(image_info);
MagickCoreTerminus();
return(0);
-}</code></pre></ul>
+}</samp></pre></ul>
</div>
</div>
</main><!-- /.container -->
@@ -370,4 +372,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:08 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/magick-script.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Magick-script</title>
+ <title>ImageMagick – Command-line Tools: Magick-script</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, magick-script, image processing software" />
@@ -92,26 +92,26 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Image Scripting Language</h1>
-<p class="lead magick-description">Use the <code>magick-script</code> scripting language to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>magick</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>magick-script</samp> scripting language to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See <a href="../www/command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>magick</samp> command or see below for example usages of the command.</p>
<p>Here is an example script:</p>
-<pre class="highlight"><code>#!/bin/env magick-script
+<ul><pre class="bg-light text-dark"><samp>#!/bin/env magick-script
-size 100x100 xc:red ( rose: -rotate -90 ) +append -write show:
-</code></pre>
+</samp></pre></ul>
-<p>Or use the <code>magick</code> utility with the scripting option like this:</p>
-<pre class="highlight"></code>#!/bin/magick -script
+<p>Or use the <samp>magick</samp> utility with the scripting option like this:</p>
+<ul><pre class="bg-light text-dark"></samp>#!/bin/magick -script
-size 100x100 xc:red ( rose: -rotate -90 ) +append -write show:
-</code></pre>
+</samp></pre></ul>
-<p>You can find additional examples of using <code>magick-script</code> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>magick-script</samp> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>magick</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>magick</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td><a href="../www/command-line-options.html#adaptive-blur">-adaptive-blur <var>geometry</var></a></td>
@@ -1329,4 +1329,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:26 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/magick-vector-graphics.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Magick Vector Graphics</title>
+ <title>ImageMagick – Magick Vector Graphics</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magick, vector, graphics, image processing software" />
@@ -97,10 +97,10 @@
<p class="lead magick-description">This specification defines the features and syntax for Magick Vector Graphics (MVG), a modularized language for describing two-dimensional vector and mixed vector/raster graphics in ImageMagick. You can use the language to draw from the
command line, from an MVG file, from an <a href="http://www.w3.org/TR/SVG/">SVG -- Scalable Vector Graphics</a> file or from one of the ImageMagick <a href="develop.html">program interfaces</a>. Use this command, for example, to render an arc:</p>
-<pre class="highlight"><code>magick -size 100x60 canvas:skyblue -fill white -stroke black \
+<ul><pre class="bg-light text-dark"><samp>magick -size 100x60 canvas:skyblue -fill white -stroke black \
-draw "path 'M 30,40 A 30,20 20 0,0 70,20 A 30,20 20 1,0 30,40 Z '" \
arc.png
-</code></pre>
+</samp></pre></ul>
<p>and here is the result:</p>
@@ -110,7 +110,7 @@
<p>When the drawing gets sufficiently complex, we recommend you assemble the graphic primitives into a MVG file. For our example, we use <a href="https://imagemagick.org/source/piechart.mvg">piechart.mvg</a>:</p>
-<pre class="pre-scrollable highlight"><code>push graphic-context
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>push graphic-context
viewbox 0 0 624 369
affine 0.283636 0 0 0.283846 -0 -0
push graphic-context
@@ -260,12 +260,12 @@
pop graphic-context
pop graphic-context
pop graphic-context
-</code></pre>
+</samp></pre></ul>
<p>to render a pie chart with this command:</p>
-<pre class="highlight"><code>magick mvg:piechart.mvg piechart.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick mvg:piechart.mvg piechart.png
+</samp></pre></ul>
<p>which produces this rendering:</p>
@@ -275,15 +275,15 @@
<p>However, in general, MVG is sufficiently difficult to work with that you probably want to use a program to generate your graphics in the SVG format. ImageMagick automagically converts SVG to MVG and renders your image, for example, we render <a href="https://imagemagick.org/source/piechart.svg">piechart.svg</a> with this command:</p>
-<pre class="highlight"><code>magick mvg:piechart.svg piechart.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick mvg:piechart.svg piechart.jpg
+</samp></pre></ul>
<p>to produce the same pie chart we created with the MVG language.</p>
<p>Drawing is available from many of the ImageMagick <a href="develop.html">program interfaces</a> as well. ImageMagick converts the drawing API calls to MVG and renders it. Here is example code written in the <a href="../www/magick-wand.html">MagickWand</a> language: </p>
-<pre class="pre-scrollable highlight"><code>(void) PushDrawingWand(draw_wand);
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>(void) PushDrawingWand(draw_wand);
{
const PointInfo points[6] =
{
@@ -308,7 +308,7 @@
DrawPolygon(draw_wand,6,points);
}
(void) PopDrawingWand(draw_wand);
-</code></pre>
+</samp></pre></ul>
<h2><a class="anchor" id="overview"></a>MVG Overview</h2>
@@ -316,24 +316,24 @@
<p>Metafile wrapper syntax (to support stand-alone MVG files):</p>
-<pre class="highlight"><code>push graphic-context
+<ul><pre class="bg-light text-dark"><samp>push graphic-context
viewbox 0 0 width height
[ any other MVG commands ]
pop graphic-context
-</code></pre>
+</samp></pre></ul>
<p>Pattern syntax (saving and restoring context):</p>
-<pre class="highlight"><code>push pattern id x,y width,height
+<ul><pre class="bg-light text-dark"><samp>push pattern id x,y width,height
push graphic-context
[ drawing commands ]
pop graphic-context
pop pattern
-</code></pre>
+</samp></pre></ul>
<p>an example is (%s is a identifier string):</p>
-<pre class="highlight"><code>push defs
+<ul><pre class="bg-light text-dark"><samp>push defs
push pattern %s 10,10 20,20
push graphic-context
fill red
@@ -345,28 +345,28 @@
pop graphic-context
pop pattern
pop defs
-</code></pre>
+</samp></pre></ul>
<p>For image tiling use:</p>
-<pre class="highlight"><code>push pattern id x,y width,height
+<ul><pre class="bg-light text-dark"><samp>push pattern id x,y width,height
image Copy ...
pop pattern
-</code></pre>
+</samp></pre></ul>
<p>Note you can use the pattern for either the fill or stroke like:</p>
-<pre class="highlight"><code>stroke url(#%s)
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>stroke url(#%s)
+</samp></pre></ul>
<p>or</p>
-<pre class="highlight"><code>fill url(#%s)
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>fill url(#%s)
+</samp></pre></ul>
<p>The clip path defines a clipping area, where only the contained area to be drawn upon. Areas outside of the clipping areare masked.</p>
-<pre class="highlight"><code>push defs
+<ul><pre class="bg-light text-dark"><samp>push defs
push clip-path "myClipPath"
push graphic-context
rectangle 10,10 20,20
@@ -374,18 +374,21 @@
pop clip-path
pop defs
clip-path url(#myClipPath)
-</code></pre>
+</samp></pre></ul>
<h2><a class="anchor" id="primitives"></a>Drawing Primitives</h2>
<p>Here is a complete description of the MVG drawing primitives:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
+<thead>
<tr>
<th>Primitive</th>
<th>Description</th>
</tr>
+</thead>
+<tbody>
<tr>
<td><a class="anchor" id="affine"></a>affine <var>s<sub>x</sub></var>,<var>r<sub>x</sub></var>,<var>r<sub>y</sub></var>,<var>s<sub>y</sub></var>,<var>t<sub>x</sub></var>,<var>t<sub>y</sub></var></td>
<td></td>
@@ -396,7 +399,7 @@
</tr>
<tr>
<td><a class="anchor" id="bezier"></a>bezier <var>x<sub>0</sub></var>,<var>y<sub>0</sub></var> ... <var>x<sub>n</sub></var>,<var>y<sub>n</sub></var></td>
- <td><code>Bezier</code> (spline) requires three or more x,y coordinates to define its shape. The first and last points are the knots (preserved coordinates) and any intermediate coordinates are the control points. If two control points are specified, the line between each end knot and its sequentially respective control point determines the tangent direction of the curve at that end. If one control point is specified, the lines from the end knots to the one control point determines the tangent directions of the curve at each end. If more than two control points are specified, then the additional control points act in combination to determine the intermediate shape of the curve. In order to draw complex curves, it is highly recommended either to use the <code>Path</code> primitive or to draw multiple four-point bezier segments with the start and end knots of each successive segment repeated. </td>
+ <td><samp>Bezier</samp> (spline) requires three or more x,y coordinates to define its shape. The first and last points are the knots (preserved coordinates) and any intermediate coordinates are the control points. If two control points are specified, the line between each end knot and its sequentially respective control point determines the tangent direction of the curve at that end. If one control point is specified, the lines from the end knots to the one control point determines the tangent directions of the curve at each end. If more than two control points are specified, then the additional control points act in combination to determine the intermediate shape of the curve. In order to draw complex curves, it is highly recommended either to use the <samp>Path</samp> primitive or to draw multiple four-point bezier segments with the start and end knots of each successive segment repeated. </td>
</tr>
<tr>
<td><a class="anchor" id="border-color"></a>border-color <var>color</var></td>
@@ -413,24 +416,24 @@
<tr>
<td><a class="anchor" id="clip-rule"></a>clip-rule <var>rule</var></td>
<td>Choose from these rule types:
-<pre class="highlight"><code>evenodd
-nonzero</code></pre></td>
+<ul><pre class="bg-light text-dark"><samp>evenodd
+nonzero</samp></pre></ul></td>
</tr>
<tr>
<td><a class="anchor" id="clip-units"></a>clip-units <var>units</var></td>
<td>Choose from these unit types:
-<pre class="highlight"><code>userSpace
+<ul><pre class="bg-light text-dark"><samp>userSpace
userSpaceOnUse
-objectBoundingBox</code></pre></td>
+objectBoundingBox</samp></pre></ul></td>
</tr>
<tr>
<td><a class="anchor" id="color"></a>color <var>x</var>,<var>y</var> <var>method</var></td>
<td>Choose from these method types:
-<pre class="highlight"><code>point
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/magick-wand.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - MagickWand, C API</title>
+ <title>ImageMagick – MagickWand, C API</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magickwc, api, image processing software" />
@@ -109,15 +109,15 @@
<p>After you write your MagickWand program, compile it like this:</p>
-<ul><pre class="highlight"><code>cc -o wand wand.c `pkg-config --cflags --libs MagickWand`</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>cc -o wand wand.c `pkg-config --cflags --libs MagickWand`</samp></pre></ul>
-<p>Set the <code>PKG_CONFIG_PATH</code> environment variable if ImageMagick is not in your default system path:</p>
+<p>Set the <samp>PKG_CONFIG_PATH</samp> environment variable if ImageMagick is not in your default system path:</p>
-<ul><pre class="highlight"><code>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig</samp></pre></ul>
<p>Here is a example program that utilizes the MagickWand API to get you started, <a href="https://imagemagick.org/source/wand.c">wand.c</a>. It reads an image, creates a thumbnail, and writes the result to disk.</p>
-<ul><pre class="pre-scrollable highlight"><code>#include <stdio.h>
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>#include <stdio.h>
#include <stdlib.h>
#include <MagickWand/MagickWand.h>
@@ -172,11 +172,11 @@
MagickWandTerminus();
return(0);
}
-</code></pre></ul>
+</samp></pre></ul>
<p>Here is another program that shows one way to get and set image pixels with the MagickWand API, <a href="https://imagemagick.org/source/contrast.c">contrast.c</a>. It reads an image, applies sigmoidal non-linearity contrast control, and writes the result to disk.</p>
-<ul><pre class="pre-scrollable highlight"><code>#include <stdio.h>
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <MagickWand/MagickWand.h>
@@ -282,10 +282,10 @@
MagickWandTerminus();
return(0);
}
-</code></pre></ul>
+</samp></pre></ul>
<p><a class="anchor" id="wand-view"></a>Now lets perform the same contrast enhancement while taking advantage of our dual or quad-core processing system by running the algorithm in parallel utilizing wand views. The <a href="https://imagemagick.org/source/wand/sigmoidal-contrast.c">sigmoidal-contrast.c</a> module reads an image, applies sigmoidal non-linearity contrast control, and writes the result to disk just like the previous contrast enhancement program, but now it does its work in parallel (assumes ImageMagick is built with OpenMP support).</p>
-<ul><pre class="pre-scrollable highlight"><code>#include <stdio.h>
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <MagickWand/MagickWand.h>
@@ -391,7 +391,7 @@
MagickWandTerminus();
return(0);
}
-</code></pre></ul>
+</samp></pre></ul>
<p><a href="../MagickWand/index.html">MagickWand Examples in C</a> illustrates how to use the ImageMagick MagickWand API. Each example is presented as a C function, complete with headers, so that it can be copied to a file and then included in your own C project.</p>
</div>
</div>
@@ -422,4 +422,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:21 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/magick.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Magick</title>
+ <title>ImageMagick – Command-line Tools: Magick</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, magick, image processing software" />
@@ -92,17 +92,15 @@
<div class="magick-template">
<div class="magick-header">
<h1 class="text-center">Convert Between Image Formats</h1>
-<p class="lead magick-description">Use the <code>magick</code> program to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>magick</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>magick</samp> program to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>magick</samp> command or see below for example usages of the command.</p>
-<p>We list a few examples of the <code>magick</code> command here to illustrate its usefulness and ease of use. To get started, lets convert an image in the JPEG format to PNG:</p>
+<p>We list a few examples of the <samp>magick</samp> command here to illustrate its usefulness and ease of use. To get started, lets convert an image in the JPEG format to PNG:</p>
-<pre class="highlight"><code>magick rose.jpg rose.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick rose.jpg rose.png </samp></pre></ul>
<p>Next, we reduce the image size before it is written to the PNG format:</p>
-<pre class="highlight"><code>magick rose.jpg -resize 50% rose.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick rose.jpg -resize 50% rose.png </samp></pre></ul>
<ul>
<a href="../images/rose.jpg">
@@ -116,10 +114,9 @@
<p>You can combine multiple image-processing operations to produce complex results:</p>
-<pre class="highlight"><code>magick -size 320x85 canvas:none -font Bookman-DemiItalic -pointsize 72 \
+<ul><pre class="bg-light text-dark"><samp>magick -size 320x85 canvas:none -font Bookman-DemiItalic -pointsize 72 \
-draw "text 25,60 \'Magick\'" -channel RGBA -blur 0x6 -fill darkred -stroke magenta \
- -draw "text 20,55 \'Magick\'" fuzzy-magick.png
-</code></pre>
+ -draw "text 20,55 \'Magick\'" fuzzy-magick.png </samp></pre></ul>
<ul>
<a href="../images/fuzzy-magick.png"><img src="../images/fuzzy-magick.png" width="320" height="85" alt="fuzzy-magick" /></a>
@@ -127,25 +124,23 @@
<p>or here we resize an image with improved quality:</p>
-<pre class="highlight"><code>magick input.png -colorspace RGB +sigmoidal-contrast 11.6933 \
+<ul><pre class="bg-light text-dark"><samp>magick input.png -colorspace RGB +sigmoidal-contrast 11.6933 \
-define filter:filter=Sinc -define filter:window=Jinc -define filter:lobes=3 \
- -resize 400% -sigmoidal-contrast 11.6933 -colorspace sRGB output.png');
-</code></pre>
+ -resize 400% -sigmoidal-contrast 11.6933 -colorspace sRGB output.png'); </samp></pre></ul>
-<p>Utilize other command-line <a href="command-line-tools.html">tools</a> from the <code>magick</code> tool. To invoke this functionality, simply create a symbolic link to the <code>magick</code> tool or specify the tool you want to use as the first argument. These two methods are equivalent:</p>
+<p>Utilize other command-line <a href="command-line-tools.html">tools</a> from the <samp>magick</samp> tool. To invoke this functionality, simply create a symbolic link to the <samp>magick</samp> tool or specify the tool you want to use as the first argument. These two methods are equivalent:</p>
-<pre class="highlight"><code>ln -s magick convert
+<ul><pre class="bg-light text-dark"><samp>ln -s magick convert
convert rose.jpg rose.png
-magick convert rose.jpg rose.png
-</code></pre>
+magick convert rose.jpg rose.png </samp></pre></ul>
-<p>You can find additional examples of using <code>magick</code> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>magick</samp> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>magick</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>magick</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td><a href="command-line-options.html#adaptive-blur">-adaptive-blur <var>geometry</var></a></td>
@@ -694,6 +689,11 @@
</tr>
<tr>
+ <td><a href="command-line-options.html#illuminant">-illuminant <var>type</var></a></td>
+ <td>reference illuminant</td>
+ </tr>
+
+ <tr>
<td><a href="command-line-options.html#implode">-implode <var>amount</var></a></td>
<td>implode image pixels about the center</td>
</tr>
@@ -1378,4 +1378,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:19 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/miff.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Magick Image File Format</title>
+ <title>ImageMagick – Magick Image File Format</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="magick, image, file, format, image processing software" />
@@ -99,11 +99,11 @@
<h2><a class="anchor" id="miff-header"></a>MIFF Header</h2>
-<p>The MIFF header is composed entirely of ISO-8859-1 characters. The fields in the header are key and value combination in the <var>key = value</var> format, with each key and value separated by an equal sign (<code>=</code>). Each <var>key = value</var> combination is delimited by at least one control or whitespace character. Comments may appear in the header section and are always delimited by braces. The MIFF header always ends with a colon (<code>:</code>) character, followed by a <var>ctrl-Z</var> character. It is also common to proceed the colon with a <var>formfeed</var> and a <var>newline</var> character. The <var>formfeed</var> prevents the listing of binary data when using the <code>more</code> Unix program, whereas, the <var>ctrl-Z</var> has the same effect with the <code>type</code> command on the Windows command line.</p>
+<p>The MIFF header is composed entirely of ISO-8859-1 characters. The fields in the header are key and value combination in the <var>key = value</var> format, with each key and value separated by an equal sign (<samp>=</samp>). Each <var>key = value</var> combination is delimited by at least one control or whitespace character. Comments may appear in the header section and are always delimited by braces. The MIFF header always ends with a colon (<samp>:</samp>) character, followed by a <var>ctrl-Z</var> character. It is also common to proceed the colon with a <var>formfeed</var> and a <var>newline</var> character. The <var>formfeed</var> prevents the listing of binary data when using the <samp>more</samp> Linux program, whereas, the <var>ctrl-Z</var> has the same effect with the <samp>type</samp> command on the Windows command line.</p>
<p>The following is a partial list of <var> key = value</var> combinations that are typically be found in a MIFF file:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td>background-color = <var>color</var></td>
@@ -162,7 +162,7 @@
</tr>
<tr>
<td>id = ImageMagick</td>
- <td>identifies the file as a MIFF-format image file. This key is required and has no default. Although this key can appear anywhere in the header, it should start as the first key of the header in column 1. This will allow programs like <code>file</code>(1) to easily identify the file as MIFF.</td>
+ <td>identifies the file as a MIFF-format image file. This key is required and has no default. Although this key can appear anywhere in the header, it should start as the first key of the header in column 1. This will allow programs like <samp>file</samp>(1) to easily identify the file as MIFF.</td>
</tr>
<tr>
<td>iterations = <var>value</var></td>
@@ -229,14 +229,14 @@
<p>Other key value pairs are permitted. If a value contains whitespace it must be enclosed with braces as illustrated here:</p>
-<pre class="highlight"><code>id=ImageMagick
+<ul><pre class="bg-light text-dark"><samp>id=ImageMagick
class=PseudoClass colors=256 matte=False
columns=1280 rows=1024 depth=8
compression=RLE
colorspace=RGB
copyright={© 1999-2017 ImageMagick Studio LLC}
⋮
-</code></pre>
+</samp></pre></ul>
<p>Note that <var>key = value</var> combinations may be separated by <var>newlines</var> or spaces and may occur in any order within the header. Comments (within braces) may appear anywhere before the colon.</p>
@@ -244,7 +244,7 @@
<p>If you specify the color-profile key in the header, follow the header (or montage directory if the montage key is in the header) with the binary color profile.</p>
-<p>The header is separated from the image data by a <code>:</code> character immediately followed by a <var>newline</var>.</p>
+<p>The header is separated from the image data by a <samp>:</samp> character immediately followed by a <var>newline</var>.</p>
<h2><a class="anchor" id="binary"></a>MIFF Binary Data</h2>
@@ -288,4 +288,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:18 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/mirror.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Mirror</title>
+ <title>ImageMagick – Mirror</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="mirror, image processing software" />
@@ -93,7 +93,7 @@
<div class="magick-header">
<h1 class="text-center">Mirrors</h1>
<p class="lead magick-description">ImageMagick source and binary distributions are available from a variety of FTP and Web mirrors around the world listed below. ImageMagick stable and development source releases are also available from <a href="https://github.com/ImageMagick">Git</a>. Before you download, you may want to review recent <a href="changelog.html">changes</a> to the ImageMagick distribution. The authoritative source code repository is <a href="https://github.com/ImageMagick">https://github.com/ImageMagick</a>.</p>
-<p>The latest release of ImageMagick is version 7.0.10-62.</p>
+<p>The latest release of ImageMagick is version 7.1.0-13.</p>
<dl>
<dt>Germany</dt>
<dd><a href="https://mirror.dogado.de/imagemagick/">https://mirror.dogado.de/imagemagick/</a></dd>
@@ -107,7 +107,6 @@
<dt>United States</dt>
<dd><a href="../download">../download</a></dd>
<dd><a href="https://github.com/ImageMagick">https://github.com/ImageMagick</a> (Git)</dd>
- <dd><a href="https://gitlab.com/ImageMagick">https://gitlab.com/ImageMagick</a> (Git Mirror)</dd>
<dt>Select Binaries </dt>
<dd><a href="http://www.macports.org/ports.html?by=name&substr=imagemagick">http://www.macports.org/ports.html?by=name&substr=imagemagick</a> (Mac OS X)</dd>
<dd><a href="http://hpux.connect.org.uk/hppd/hpux/X11/Viewers/">http://hpux.connect.org.uk/hppd/hpux/X11/Viewers/</a> (HP-UX 10.20 and 11.00)</dd>
@@ -147,4 +146,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:08 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/mogrify.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Mogrify</title>
+ <title>ImageMagick – Command-line Tools: Mogrify</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, mogrify, image processing software" />
@@ -94,15 +94,14 @@
<h1 class="text-center">Inline Image Modification</h1>
<p class="text-center"><a href="mogrify.html#usage">Example Usage</a> • <a href="mogrify.html#options">Option Summary</a></p>
-<p class="lead magick-description">Use the <code>magick mogrify</code> program to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. This tool is similar to <a href="../www/convert.html">magick convert</a> except that the original image file is <em>overwritten</em> (unless you change the file suffix with the <a href="command-line-options.html#format">-format</a> option) with any changes you request. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>mogrify</code> command or see below for sample usages of the command.</p>
+<p class="lead magick-description">Use the <samp>magick mogrify</samp> program to resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. This tool is similar to <a href="../www/convert.html">magick convert</a> except that the original image file is <em>overwritten</em> (unless you change the file suffix with the <a href="command-line-options.html#format">-format</a> option) with any changes you request. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>mogrify</samp> command or see below for sample usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>mogrify</code> command here to illustrate its usefulness and ease of use. To get started, let's reduce the size of our
+<p>We list a few examples of the <samp>mogrify</samp> command here to illustrate its usefulness and ease of use. To get started, let's reduce the size of our
rose:</p>
-<pre class="highlight"><code>magick mogrify -resize 50% rose.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick mogrify -resize 50% rose.jpg</samp></pre></ul>
<ul>
<a href="../images/rose.jpg">
@@ -116,22 +115,20 @@
<p>You can resize all your JPEG images in a folder to a maximum dimension of 256x256 with this command:</p>
-<pre class="highlight"><code>magick mogrify -resize 256x256 *.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick mogrify -resize 256x256 *.jpg</samp></pre></ul>
<p>Finally, we convert all our PNG images in a folder to the JPEG format:</p>
-<pre class="highlight"><code>magick mogrify -format jpg *.png
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick mogrify -format jpg *.png</samp></pre></ul>
<p>Here image files 1.png, 2.png, etc., are left untouched and files 1.jpg, 2.jpg, etc., are created. They are copies of their respective PNG images except are stored in the JPEG image format.</p>
-<p>You can find additional examples of using <code>mogrify</code> in <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>mogrify</samp> in <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>mogrify</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>mogrify</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -687,6 +684,11 @@
</tr>
<tr>
+ <td><a href="command-line-options.html#illuminant">-illuminant <var>type</var></a></td>
+ <td>reference illuminant</td>
+ </tr>
+
+ <tr>
<td><a href="command-line-options.html#implode">-implode <var>amount</var></a></td>
<td>implode image pixels about the center</td>
</tr>
@@ -1378,4 +1380,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:14 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/montage.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Montage</title>
+ <title>ImageMagick – Command-line Tools: Montage</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, montage, image processing software" />
@@ -94,14 +94,13 @@
<h1 class="text-center">Juxtapose Image Thumbnails on a Canvas</h1>
<p class="text-center"><a href="montage.html#usage">Example Usage</a> • <a href="montage.html#options">Option Summary</a></p>
-<p class="lead magick-description">Use the <code>montage</code> program to create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <code>montage</code> command or see below for example usages of the command.</p>
+<p class="lead magick-description">Use the <samp>montage</samp> program to create a composite image by combining several separate images. The images are tiled on the composite image optionally adorned with a border, frame, image name, and more. See <a href="command-line-processing.html">Command Line Processing</a> for advice on how to structure your <samp>montage</samp> command or see below for example usages of the command.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>montage</code> command here to illustrate its usefulness and ease of use. To get started, let's montage two images into a single composite:</p>
+<p>We list a few examples of the <samp>montage</samp> command here to illustrate its usefulness and ease of use. To get started, let's montage two images into a single composite:</p>
-<pre class="highlight"><code>magick montage -background '#336699' -geometry +4+4 rose.jpg red-ball.png montage.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick montage -background '#336699' -geometry +4+4 rose.jpg red-ball.png montage.jpg </samp></pre></ul>
<ul>
<a href="../images/rose.jpg">
@@ -118,8 +117,7 @@
<p>Ok, let's add some decorations:</p>
-<pre class="highlight"><code>magick montage -label %f -frame 5 -background '#336699' -geometry +4+4 rose.jpg red-ball.png frame.jpg
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick montage -label %f -frame 5 -background '#336699' -geometry +4+4 rose.jpg red-ball.png frame.jpg </samp></pre></ul>
<ul>
<a href="../images/rose.jpg">
@@ -134,16 +132,18 @@
</a>
</ul>
-<p>You can find additional examples of using <code>montage</code> at <a href="https://legacy.imagemagick.org/Usage/montage/">Examples of ImageMagick Usage</a> and <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
+<p>You can find additional examples of using <samp>montage</samp> at <a href="https://legacy.imagemagick.org/Usage/montage/">Examples of ImageMagick Usage</a> and <a href="http://www.ibm.com/developerworks/library/l-graf/?ca=dnt-428">Graphics from the Command Line</a>. Further discussion is available in <a href="http://www.ibm.com/developerworks/library/l-graf2/?ca=dgr-lnxw15GraphicsLine">More Graphics from the Command Line</a> and <a href="https://legacy.imagemagick.org/Usage/">Examples of ImageMagick Usage</a>.</p>
-<h5>Ashlar Pseudo-image Format</h5>
+<h4>Ashlar Pseudo-image Format</h4>
<p>Use the Ashlar pseudo-image format to lay out an image sequence in continuous irregular courses. By default, a reasonable canvas size and border width is determined relative to the image collection you provide. You can explicitedly set the canvas size and border width by appending to the filename, e.g. ashlar:canvas.png[1024x768+4+4]. By default, alignment is along the left edge. Use -define ashlar:best-fit=true to align on both the left and right edges. You can label the image tiles with, for example, -label %f. Here is an example command:
-<pre class="highlight"><code>magick '*.png' -resize 320x320 -label %f ashlar:ashlar.png</code></pre>
-<p>This is designed to quickly view a collection of images. To have more control over the layout of your image tiles, use the <code>montage</code> command instead.</p>
+
+<ul><pre class="bg-light text-dark"><samp>magick '*.png' -resize 320x320 -label %f ashlar:ashlar.png</samp></pre></ul>
+
+<p>This is designed to quickly view a collection of images. To have more control over the layout of your image tiles, use the <samp>montage</samp> command instead.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>montage</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>montage</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<tbody>
@@ -304,6 +304,11 @@
</tr>
<tr>
+ <td><a href="command-line-options.html#distort">-distort <var>type coefficients</var></a></td>
+ <td>distort image</td>
+ </tr>
+
+ <tr>
<td><a href="command-line-options.html#dither">-dither <var>method</var></a></td>
<td>apply error diffusion to image</td>
</tr>
@@ -690,4 +695,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 12:51 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/motion-picture.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Motion Picture Digital Images</title>
+ <title>ImageMagick – Motion Picture Digital Images</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="motion, picture, digital, images, image processing software" />
@@ -128,7 +128,7 @@
<p>ImageMagick supports these DPX properties:</p>
-<pre class="pre-scrollable highlight"><code>dpx:file.copyright
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>dpx:file.copyright
dpx:file.creator
dpx:file.filename
dpx:file.project
@@ -174,36 +174,36 @@
dpx:television.white_level
dpx:user.id
dpx:user.data
-</code></pre>
+</samp></pre></ul>
-<p>Look for any user data as the <code>dpx:user-data</code> image profile.</p>
+<p>Look for any user data as the <samp>dpx:user-data</samp> image profile.</p>
<p> To determine which properties are associated with your DPX image, use this command for example:</p>
-<pre class="highlight"><code>magick identify -verbose bluebells.dpx
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick identify -verbose bluebells.dpx
+</samp></pre></ul>
<p>To identify a particular property, try this:</p>
-<pre class="highlight"><code>magick identify -format "%[dpx:television.time.code]" bluebells.dpx
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick identify -format "%[dpx:television.time.code]" bluebells.dpx
+</samp></pre></ul>
<p>Finally, to set a property:</p>
-<pre class="highlight"><code>magick bluebells.dpx -define dpx:television.time.code=10:00:02:15 bluebells-001.dpx
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick bluebells.dpx -define dpx:television.time.code=10:00:02:15 bluebells-001.dpx
+</samp></pre></ul>
<h2><a class="anchor" id="settings"></a>DPX Settings</h2>
<p>Use <a href="command-line-options.html#set">-set</a> to specify the image or film gamma or black and white points. For example use:
</p>
-<pre class="highlight"><code>-set gamma 1.7
+<ul><pre class="bg-light text-dark"><samp>-set gamma 1.7
-set film-gamma 0.6
-set reference-black 95
-set reference-white 685
-set profile dpx:user.data
-</code></pre>
+</samp></pre></ul>
</div>
</div>
@@ -234,4 +234,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:53 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:07 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/news.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - News</title>
+ <title>ImageMagick – News</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="news, image processing software" />
@@ -94,10 +94,10 @@
<h1 class="text-center">News</h1>
<p class="text-center"><a href="news.html#news">News</a> • <a href="news.html#community">Community</a></p>
-<p>ImageMagick best practices <strong>strongly</strong> encourages you to configure a <a href="security-policy.html">security policy</a> that suits your local environment.</p>
+<p>ImageMagick recommended practices <strong>strongly</strong> encourage you to configure a <a href="security-policy.html">security policy</a> that suits your local environment.</p>
+<p>The <a href="https://github.com/ImageMagick/MagickCache/">MagickCache</a> provides methods and tools to cache images, image sequences, video, audio or metadata in a local folder. Any content is memory-mapped for efficient retrieval. Additional efficiencies are possible by retrieving a portion of an image. Content can persist or you can assign a time-to-live (TTL) to automatically expire content when the TTL is exceeded. MagickCache supports virtually unlimited content upwards of billions of images making it suitable as a web image service.
-<p class="highlight">We are utilizing a new community <a target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">discussion</a> service. The previous <a target="_blank" href="https://legacy.imagemagick.org/discourse-server">discourse server</a> remains available to read legacy <a target="_blank" href="https://legacy.imagemagick.org/discourse-server~">discussions</a>.</p>
<p>We discovered a bug in the pseudo-random generator prior to ImageMagick 7.0.9-11, the first 3 values repeated because the random state was not initialized properly. As a consequence of the fix, expect a different numerical sequence when seeding (-seed).</p>
@@ -115,7 +115,7 @@
<li>reduce lock contention with the <a href="http://goog-perftools.sourceforge.net/doc/tcmalloc.html">tcmalloc</a> memory allocation library;</li>
<li>push large images to a solid-state drive, see <a href="../www/architecture.html#tera-pixel">large image support</a>.</li>
</ul>
-<p>If these options are prohibitive, you can reduce the quality of the image results. The default build is Q16 HDRI. If you disable <a href="high-dynamic-range.html">HDRI</a>, you use half the memory and instead of predominately floating point operations, you use the typically more efficient integer operations. The tradeoff is reduced precision and you cannot process out of range pixel values (e.g. negative). If you build the Q8 non-HDRI version of ImageMagick, you again reduce the memory requirements in half-- and once again there is a tradeoff, even less precision and no out of range pixel values. For a Q8 non-HDRI build of ImageMagick, use these <code>configure</code> script options: <code>--with-quantum-depth=8 --disable-hdri</code>.</p>
+<p>If these options are prohibitive, you can reduce the quality of the image results. The default build is Q16 HDRI. If you disable <a href="high-dynamic-range.html">HDRI</a>, you use half the memory and instead of predominately floating point operations, you use the typically more efficient integer operations. The trade-off is reduced precision and you cannot process out of range pixel values (e.g. negative). If you build the Q8 non-HDRI version of ImageMagick, you again reduce the memory requirements in half-- and once again there is a trade-off, even less precision and no out of range pixel values. For a Q8 non-HDRI build of ImageMagick, use these <samp>configure</samp> script options: <samp>--with-quantum-depth=8 --disable-hdri</samp>.</p>
<h2><a class="anchor" id="community"></a>Community</h2>
<p>To join the ImageMagick community, try the <a target="_blank" href="https://github.com/ImageMagick/ImageMagick/discussions">discussion</a> service. You can review questions or comments (with informed responses) posed by ImageMagick users or ask your own questions. If you want to contribute image processing algorithms, other enhancements, or bug fixes, open an <a href="https://github.com/ImageMagick/ImageMagick/issues">issue</a>. </p>
@@ -148,4 +148,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/opencl.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Parallel Execution with OpenCL</title>
+ <title>ImageMagick – Parallel Execution with OpenCL</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="parallel, execution, with, opencl, image processing software" />
@@ -93,7 +93,7 @@
<div class="magick-header">
<p class="lead magick-description">The following is a list of image operators that have been <a href="http://en.wikipedia.org/wiki/OpenCL">OpenCL</a>-accelerated:</p>
-<pre class="highlight"><code>blur
+<ul><pre class="bg-light text-dark"><samp>blur
charcoal
contrast
constrast-stretch
@@ -112,15 +112,17 @@
radial-blur
resize
sketch
-unsharp</code></pre>
-<p>When the OpenCL acceleration is invoked for the first time, ImageMagick conducts a series of tests to configure the OpenCL environment according to the system hardware; therefore, it is normal to experience a higher latency the first time you use an accelerated option. The OpenCL kernels are embedded inside ImageMagick in source format. During the initial setup, ImageMagick discovers all the available OpenCL devices and compiles the kernels for each of these targets. ImageMagick also runs several performance tests internally to determine the preferred device to use. The compiled kernel code and the performance test results are stored into the cache directory so that the data can be reused by subsequent invocations of the OpenCL path. By default, the OpenCL cached data is stored in <code>$HOME/.cache/ImageMagick</code> on Linux and on MacOSX or in <code>%LOCALAPPDATA%\ImageMagick</code> on Windows. To change the cache directory, set the MAGICK_OPENCL_CACHE_DIR environment variable. ImageMagick is able to detect hardware changes, driver updates, and new kernel sources and re-run the setup and the calibration test. You can also force ImageMagick to re-run the process by removing the content from the cache directory.</p>
-<p>If ImageMagick includes OpenCL support, the OpenCL path is enable by default. You can disable it, simply set the environment variable MAGICK_OCL_DEVICE to <code>OFF</code>. You could also force the OpenCL path to use a particular class of devices by setting it to <code>GPU</code> or <code>CPU</code>.</p>
+unsharp</samp></pre></ul>
+
+<p>When the OpenCL acceleration is invoked for the first time, ImageMagick conducts a series of tests to configure the OpenCL environment according to the system hardware; therefore, it is normal to experience a higher latency the first time you use an accelerated option. The OpenCL kernels are embedded inside ImageMagick in source format. During the initial setup, ImageMagick discovers all the available OpenCL devices and compiles the kernels for each of these targets. ImageMagick also runs several performance tests internally to determine the preferred device to use. The compiled kernel code and the performance test results are stored into the cache directory so that the data can be reused by subsequent invocations of the OpenCL path. By default, the OpenCL cached data is stored in <samp>$HOME/.cache/ImageMagick</samp> on Linux and on MacOSX or in <samp>%LOCALAPPDATA%\ImageMagick</samp> on Windows. To change the cache directory, set the MAGICK_OPENCL_CACHE_DIR environment variable. ImageMagick is able to detect hardware changes, driver updates, and new kernel sources and re-run the setup and the calibration test. You can also force ImageMagick to re-run the process by removing the content from the cache directory.</p>
+<p>If ImageMagick includes OpenCL support, the OpenCL path is enable by default. You can disable it, simply set the environment variable MAGICK_OCL_DEVICE to <samp>OFF</samp>. You could also force the OpenCL path to use a particular class of devices by setting it to <samp>GPU</samp> or <samp>CPU</samp>.</p>
<p>In addition to the environment variables just mentioned, ImageMagick provides a set of APIs that allow developers to gain a finer grain control of the OpenCL acceleration. For example, use the InitializeOpenCL) function to initialize the OpenCL environment:</p>
-<pre class="highlight"><code>clEnv=GetCurrentOpenCLEnv();
+
+<ul><pre class="bg-light text-dark"><samp>clEnv=GetCurrentOpenCLEnv();
if (InitializeOpenCL(clEnv,exception) == MagickFalse)
{
/* looks like OpenCL is not supported */
- }</code></pre>
+ }</samp></pre></ul>
</div>
</div>
</main><!-- /.container -->
@@ -150,4 +152,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/openmp.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Parallel Execution with OpenMP</title>
+ <title>ImageMagick – Parallel Execution with OpenMP</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="parallel, execution, with, openmp, image processing software" />
@@ -93,16 +93,16 @@
<div class="magick-header">
<h1 class="text-center">Threads of Execution</h1>
<p class="lead magick-description">Many of ImageMagick's internal algorithms are threaded to take advantage of speed-ups offered by the multicore processor chips and <a href="http://www.openmp.org">OpenMP</a>. OpenMP, is an API specification for parallel programming. If your compiler supports OpenMP (e.g. gcc, Visual Studio 2005) directives, ImageMagick automatically includes support. To verify, look for the OpenMP feature of ImageMagick with this command:</p>
-<pre class="highlight"><code>-> magick identify -version
+<ul><pre class="bg-light text-dark"><samp>$ magick identify -version
Version: ImageMagick 7.0.10-50 2021-01-04 Q16 https://imagemagick.org
Copyright: © 1999-2021 ImageMagick Studio LLC
-Features: OpenMP(4.5)</code></pre>
+Features: OpenMP(4.5)</samp></pre></ul>
<p>With OpenMP enabled, most ImageMagick algorithms execute on all the cores on your system in parallel. ImageMagick typically divides the work so that each thread processes 64 rows of pixels. As rows are completed, OpenMP assigns more chunks of pixel rows to each thread until the algorithm completes. For example, if you have a quad-core system, and attempt to resize an image, the resizing takes place on 4 cores (8 if hyperthreading is enabled).</p>
-<p>You can further increase performance by reducing lock contention with the <a href="http://goog-perftools.sourceforge.net/doc/tcmalloc.html">tcmalloc</a> memory allocation library. To enable, add <code>--with-tcmalloc</code> to the <code>configure</code> command-line when you build ImageMagick.</p>
-<h5>The Perils of Parallel Execution</h5>
+<p>You can further increase performance by reducing lock contention with the <a href="http://goog-perftools.sourceforge.net/doc/tcmalloc.html">tcmalloc</a> memory allocation library. To enable, add <samp>--with-tcmalloc</samp> to the <samp>configure</samp> command-line when you build ImageMagick.</p>
+<h4>The Perils of Parallel Execution</h4>
<p>It can be difficult to predict behavior in a parallel environment. Performance might depend on a number of factors including the compiler, the version of the OpenMP library, the processor type, the number of cores, the amount of memory, whether hyperthreading is enabled, the mix of applications that are executing concurrently with ImageMagick, or the particular image-processing algorithm you utilize. The only way to be certain of the optimal performance, in terms of the number of threads, is to benchmark. ImageMagick includes progressive threading when benchmarking a command and returns the elapsed time and efficiency for one or more threads. This can help you identify how many threads are the most efficient in your environment. Here is an example benchmark for threads 1-8:</p>
-<pre class="highlight"><code>-> magick -bench 40 model.png -sharpen 0x1 null:
+<ul><pre class="bg-light text-dark"><samp>$ magick -bench 40 model.png -sharpen 0x1 null:
Performance[1]: 40i 0.712ips 1.000e 14.000u 0:14.040
Performance[2]: 40i 1.362ips 0.657e 14.550u 0:07.340
Performance[3]: 40i 2.033ips 0.741e 14.530u 0:04.920
@@ -110,8 +110,8 @@
Performance[5]: 40i 3.236ips 0.820e 14.970u 0:03.090
Performance[6]: 40i 3.802ips 0.842e 15.280u 0:02.630
Performance[7]: 40i 4.274ips 0.857e 15.540u 0:02.340
-Performance[8]: 40i 4.831ips 0.872e 15.680u 0:02.070</code></pre>
-<p>Better performance correlates with higher values of IPS (iterations-per-second). In our example, 8 cores are optimal. However, in certain cases it might be optimal to set the number of threads to 1 (e.g. <code>-limit thread 1</code>) or to disable OpenMP completely. To disable this feature, add <code>--disable-openmp</code> to your configure script command line then rebuild and re-install ImageMagick.</p>
+Performance[8]: 40i 4.831ips 0.872e 15.680u 0:02.070</samp></pre></ul>
+<p>Better performance correlates with higher values of IPS (iterations-per-second). In our example, 8 cores are optimal. However, in certain cases it might be optimal to set the number of threads to 1 (e.g. <samp>-limit thread 1</samp>) or to disable OpenMP completely. To disable this feature, add <samp>--disable-openmp</samp> to your configure script command line then rebuild and re-install ImageMagick.</p>
</div>
</div>
</main><!-- /.container -->
@@ -141,4 +141,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:12 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/perl-magick.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - PerlMagick, Perl API</title>
+ <title>ImageMagick – PerlMagick, Perl API</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="perlmagick, perl, api, image processing software" />
@@ -107,62 +107,62 @@
<p>Is PerlMagick available from your system RPM repository? For example, on our CentOS system, we install PerlMagick thusly:</p>
-<pre class="highlight"><code>yum install ImageMagick-perl
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>yum install ImageMagick-perl
+</samp></pre></ul>
<p>If not, you must install PerlMagick from the ImageMagick source distribution. Download the latest <a href="https://download.imagemagick.org/ImageMagick/download/ImageMagick.tar.gz">source</a> release.</p>
<p>Unpack the distribution with this command:</p>
-<pre class="highlight"><code>tar xvzf ImageMagick.tar.gz
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>tar xvzf ImageMagick.tar.gz
+</samp></pre></ul>
<p>Next configure and compile ImageMagick:</p>
-<pre><span class="crtprompt">$ </span><span class='crtin'>cd ImageMagick-7.0.10<br/>$ ./configure -with-perl<br/>$ make</span></pre>
+<ul><pre class="bg-light text-dark"><code><span class="crtprompt">$ </span><span class='crtin'>cd ImageMagick-7.1.0<br/>$ ./configure -with-perl<br/>$ make</span></code></pre></ul>
<p>If ImageMagick / PerlMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type</p>
-<pre class="highlight"><code>sudo make install
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>sudo make install
+</samp></pre></ul>
<p>You may need to configure the dynamic linker run-time bindings:</p>
-<pre class="highlight"><code>sudo ldconfig /usr/local/lib
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>sudo ldconfig /usr/local/lib
+</samp></pre></ul>
<p>Finally, verify the PerlMagick install worked properly, type</p>
-<pre class="highlight"><code>perl -MImage::Magick -le 'print Image::Magick->QuantumDepth'
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>perl -MImage::Magick -le 'print Image::Magick->QuantumDepth'
+</samp></pre></ul>
<p>Congratulations, you have a working ImageMagick distribution and you are ready to use PerlMagick to <a href="https://legacy.imagemagick.org/Usage/">convert, compose, or edit</a> your images.</p>
<p><b>Windows XP / Windows 2000</b></p>
-<p>ImageMagick must already be installed on your system. Also, the ImageMagick source distribution for <a href="../www/download.html">Windows 2000</a> is required. You must also have the <code>nmake</code> from the Visual C++ or J++ development environment. Copy <code>\bin\IMagick.dll</code> and <code>\bin\X11.dll</code> to a directory in your dynamic load path such as <code>c:\perl\site\5.00502</code>.</p>
+<p>ImageMagick must already be installed on your system. Also, the ImageMagick source distribution for <a href="../www/download.html">Windows 2000</a> is required. You must also have the <samp>nmake</samp> from the Visual C++ or J++ development environment. Copy <samp>\bin\IMagick.dll</samp> and <samp>\bin\X11.dll</samp> to a directory in your dynamic load path such as <samp>c:\perl\site\5.00502</samp>.</p>
<p>Next, type</p>
-<pre class="highlight"><code>cd PerlMagick
+<ul><pre class="bg-light text-dark"><samp>cd PerlMagick
perl Makefile.nt
nmake
nmake install
-</code></pre>
+</samp></pre></ul>
<p><b>Running the Regression Tests</b></p>
<p>To verify a correct installation, type</p>
-<pre class="highlight"><code>make test
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>make test
+</samp></pre></ul>
-<p>Use <code>nmake test</code> under Windows. There are a few demonstration scripts available to exercise many of the functions PerlMagick can perform. Type</p>
+<p>Use <samp>nmake test</samp> under Windows. There are a few demonstration scripts available to exercise many of the functions PerlMagick can perform. Type</p>
-<pre class="highlight"><code>cd demo
+<ul><pre class="bg-light text-dark"><samp>cd demo
make
-</code></pre>
+</samp></pre></ul>
<p>You are now ready to utilize the PerlMagick methods from within your Perl scripts.</p>
@@ -170,52 +170,52 @@
<p>Any script that wants to use PerlMagick methods must first define the methods within its namespace and instantiate an image object. Do this with:</p>
-<pre class="highlight"><code>use Image::Magick;
+<ul><pre class="bg-light text-dark"><samp>use Image::Magick;
$image = Image::Magick->new;
-</code></pre>
+</samp></pre></ul>
<p>PerlMagick is <var>quantum</var> aware. You can request a specific quantum depth when you instantiate an image object:</p>
-<pre class="highlight"><code>use Image::Magick::Q16;
+<ul><pre class="bg-light text-dark"><samp>use Image::Magick::Q16;
$image = Image::Magick::Q16->new;
-</code></pre>
+</samp></pre></ul>
<p>The new() method takes the same parameters as <a href="perl-magick.html#set-attribute">SetAttribute</a> . For example,</p>
-<pre class="highlight"><code>$image = Image::Magick->new(size=>'384x256');
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$image = Image::Magick->new(size=>'384x256');
+</samp></pre></ul>
<p>Next you will want to read an image or image sequence, manipulate it, and then display or write it. The input and output methods for PerlMagick are defined in <a href="perl-magick.html#read">Read or Write an Image</a>. See <a href="perl-magick.html#set-attribute">Set an Image Attribute</a> for methods that affect the way an image is read or written. Refer to <a href="perl-magick.html#manipulate">Manipulate an Image</a> for a list of methods to transform an image. <a href="perl-magick.html#get-attribute">Get an Image Attribute</a> describes how to retrieve an attribute for an image. Refer to <a href="perl-magick.html#montage">Create an Image Montage</a> for details about tiling your images as thumbnails on a background. Finally, some methods do not neatly fit into any of the categories just mentioned. Review <a href="perl-magick.html#misc">Miscellaneous Methods</a> for a list of these methods.</p>
-<p>Once you are finished with a PerlMagick object you should consider destroying it. Each image in an image sequence is stored in virtual memory. This can potentially add up to mebibytes of memory. Upon destroying a PerlMagick object, the memory is returned for use by other Perl methods. The recommended way to destroy an object is with <code>undef</code>:</p>
+<p>Once you are finished with a PerlMagick object you should consider destroying it. Each image in an image sequence is stored in virtual memory. This can potentially add up to mebibytes of memory. Upon destroying a PerlMagick object, the memory is returned for use by other Perl methods. The recommended way to destroy an object is with <samp>undef</samp>:</p>
-<pre class="highlight"><code>undef $image;
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>undef $image;
+</samp></pre></ul>
-<p>To delete all the images but retain the <code>Image::Magick</code> object use</p>
+<p>To delete all the images but retain the <samp>Image::Magick</samp> object use</p>
-<pre class="highlight"><code>@$image = ();
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>@$image = ();
+</samp></pre></ul>
<p>and finally, to delete a single image from a multi-image sequence, use</p>
-<pre class="highlight"><code>undef $image->[$x];
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>undef $image->[$x];
+</samp></pre></ul>
<p>The next section illustrates how to use various PerlMagick methods to manipulate an image sequence.</p>
-<p>Some of the PerlMagick methods require external programs such as <a href="http://www.cs.wisc.edu/~ghost/">Ghostscript</a>. This may require an explicit path in your PATH environment variable to work properly. For example (in Unix),</p>
+<p>Some of the PerlMagick methods require external programs such as <a href="http://www.cs.wisc.edu/~ghost/">Ghostscript</a>. This may require an explicit path in your PATH environment variable to work properly. For example (in Linux),</p>
-<pre class="highlight"><code>$ENV{PATH}' . "='/../bin:/usr/bin:/usr/local/bin';
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>$ENV{PATH}' . "='/../bin:/usr/bin:/usr/local/bin';
+</samp></pre></ul>
<h2><a class="anchor" id="example"></a>Example Script</h2>
<p>Here is an example script to get you started:</p>
-<pre class="highlight"><code>#!/usr/local/bin/perl
+<ul><pre class="bg-light text-dark"><samp>#!/usr/local/bin/perl
use Image::Magick;<br />
my($image, $x);<br />
$image = Image::Magick->new;
@@ -225,11 +225,11 @@
warn "$x" if "$x";<br />
$x = $image->Write('x.png');
warn "$x" if "$x";
-</code></pre>
+</samp></pre></ul>
<p>The script reads three images, crops them, and writes a single image as a GIF animation sequence. In many cases you may want to access individual images of a sequence. The next example illustrates how this done:</p>
-<pre class="pre-scrollable highlight"><code>#!/usr/local/bin/perl
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>#!/usr/local/bin/perl
use Image::Magick;<br />
my($image, $p, $q);<br />
$image = new Image::Magick;
@@ -247,70 +247,71 @@
$q = $p->Montage();
undef $image;
$q->Write('x.miff');
-</code></pre>
+</samp></pre></ul>
<p>Suppose you want to start out with a 100 by 100 pixel white canvas with a red pixel in the center. Try</p>
-<pre class="highlight"><code>$image = Image::Magick->new;
+<ul><pre class="bg-light text-dark"><samp>$image = Image::Magick->new;
$image->Set(size=>'100x100');
$image->ReadImage('canvas:white');
$image->Set('pixel[49,49]'=>'red');
-</code></pre>
+</samp></pre></ul>
<p>Here we reduce the intensity of the red component at (1,1) by half:</p>
-<pre class="highlight"><code>@pixels = $image->GetPixel(x=>1,y=>1);
+<ul><pre class="bg-light text-dark"><samp>@pixels = $image->GetPixel(x=>1,y=>1);
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/porting.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Porting to ImageMagick Version 7</title>
+ <title>ImageMagick – Porting to ImageMagick Version 7</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="porting, to, imagemagick, version, 7, image processing software" />
@@ -115,13 +115,13 @@
<p>Now that ImageMagick version 7 is released, we continue to support and enhance version 6 for a minimum of 10 years.</p>
<h2><a class="anchor" id="hdri"></a>High Dynamic Range Imaging</h2>
-<p>ImageMagick version 7 enables <a href="../www/high-dynamic-range.html">high dynamic range imaging</a> (HDRI) by default. HDRI accurately represents the wide range of intensity levels found in real scenes ranging from the brightest direct sunlight to the deepest darkest shadows. In addition, image processing results are more accurate. The disadvantage is it requires more memory and may result in slower processing times. If you see differences in the results of your version 6 command-line with version 7, it is likely due to HDRI. You may need to add <code>-clamp</code> to your command-line to constrain pixels to the 0 .. QuantumRange range, or disable HDRI when you build ImageMagick version 7. To disable HDRI (recommended for smart phone builds such as iOS or production sites where performance is a premium), simply add <code>--disable-hdri</code> to the configure script command line when building ImageMagick.</p>
+<p>ImageMagick version 7 enables <a href="../www/high-dynamic-range.html">high dynamic range imaging</a> (HDRI) by default. HDRI accurately represents the wide range of intensity levels found in real scenes ranging from the brightest direct sunlight to the deepest darkest shadows. In addition, image processing results are more accurate. The disadvantage is it requires more memory and may result in slower processing times. If you see differences in the results of your version 6 command-line with version 7, it is likely due to HDRI. You may need to add <samp>-clamp</samp> to your command-line to constrain pixels to the 0 .. QuantumRange range, or disable HDRI when you build ImageMagick version 7. To disable HDRI (recommended for smart phone builds such as iOS or production sites where performance is a premium), simply add <samp>--disable-hdri</samp> to the configure script command line when building ImageMagick.</p>
<h2><a class="anchor" id="channels"></a>Pixel Channels</h2>
<p>A pixel is comprised of one or more color values, or <var>channels</var> (e.g. red pixel channel).</p>
<p>Prior versions of ImageMagick (4-6), support 4 to 5 pixel channels (RGBA or CMYKA). The first 4 channels are accessed with the PixelPacket data structure. The structure includes 4 members of type Quantum (typically 16-bits) of red, green, blue, and opacity. The black channel or colormap indexes are supported by a separate method and structure, IndexPacket. As an example, here is a code snippet from ImageMagick version 6 that negates the color components (but not the alpha component) of the image pixels:</p>
-<pre class="pre-scrollable highlight"><code>for (y=0; y < (ssize_t) image->rows; y++)
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>for (y=0; y < (ssize_t) image->rows; y++)
{
IndexPacket
*indexes;
@@ -151,11 +151,11 @@
}
if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
status=MagickFalse;
-}</code></pre>
+}</samp></pre></ul>
<p>ImageMagick version 7 supports any number of channels from 1 to 64 (and beyond) and simplifies access with a single method that returns an array of pixel channels of type Quantum. Source code that compiles against prior versions of ImageMagick requires refactoring to work with ImageMagick version 7. We illustrate with an example. Let's naively refactor the version 6 code snippet from above so it works with the ImageMagick version 7 API:</p>
-<pre class="pre-scrollable highlight"><code>for (y=0; y < (ssize_t) image->rows; y++)
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>for (y=0; y < (ssize_t) image->rows; y++)
{
Quantum
*q;
@@ -182,11 +182,11 @@
}
if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
status=MagickFalse;
-}</code></pre>
+}</samp></pre></ul>
<p>Let's do that again but take full advantage of the new variable pixel channel support:</p>
-<pre class="pre-scrollable highlight"><code>for (y=0; y < (ssize_t) image->rows; y++)
+<ul><pre class="pre-scrollable bg-light text-dark"><samp>for (y=0; y < (ssize_t) image->rows; y++)
{
Quantum
*q;
@@ -219,18 +219,18 @@
}
if (SyncCacheViewAuthenticPixels(image_view,exception) == MagickFalse)
status=MagickFalse;
-}</code></pre>
+}</samp></pre></ul>
<p>Note, how we use GetPixelChannels() to advance to the next set of pixel channels.</p>
-<p>The colormap indexes and black pixel channel (for the CMYK colorspace) are no longer stored in the index channel, previously accessed with GetAuthenticIndexQueue() and GetCacheViewAuthenticIndexQueue(). Instead they are now a first class pixel channel and accessed as a member of the pixel array (e.g. <code>pixel[4]</code>) or with the convenience pixel accessor methods GetPixelIndex(), SetPixelIndex(), GetPixelBlack(), and SetPixelBlack().</p>
+<p>The colormap indexes and black pixel channel (for the CMYK colorspace) are no longer stored in the index channel, previously accessed with GetAuthenticIndexQueue() and GetCacheViewAuthenticIndexQueue(). Instead they are now a first class pixel channel and accessed as a member of the pixel array (e.g. <samp>pixel[4]</samp>) or with the convenience pixel accessor methods GetPixelIndex(), SetPixelIndex(), GetPixelBlack(), and SetPixelBlack().</p>
<p>As a consequence of using an array structure for variable pixel channels, auto-vectorization compilers have additional opportunities to speed up pixel loops.</p>
-<h5>Pixel Accessors</h5>
-<p>You can access pixel channel as array elements (e.g. <code>pixel[1]</code>) or use convenience accessors to get or set pixel channels:</p>
+<h4>Pixel Accessors</h4>
+<p>You can access pixel channel as array elements (e.g. <samp>pixel[1]</samp>) or use convenience accessors to get or set pixel channels:</p>
-<pre class="highlight"><code>GetPixela() SetPixela()
+<ul><pre class="bg-light text-dark"><samp>GetPixela() SetPixela()
GetPixelAlpha() SetPixelAlpha()
GetPixelb() SetPixelb()
GetPixelBlack() SetPixelBlack()
@@ -249,11 +249,11 @@
GetPixelOpacity() SetPixelOpacity()
GetPixelRed() SetPixelRed()
GetPixelYellow() SetPixelYellow()
-GetPixelY() SetPixelY()</code></pre>
+GetPixelY() SetPixelY()</samp></pre></ul>
-<p>You can find these accessors defined in the header file, <code>MagickCore/pixel-accessor.h</code></p>
+<p>You can find these accessors defined in the header file, <samp>MagickCore/pixel-accessor.h</samp></p>
-<h5>Pixel Traits</h5>
+<h4>Pixel Traits</h4>
<p>Each pixel channel includes one or more of these traits:</p>
<dl class="row">
<dt class="col-md-4">Undefined</dt>
@@ -266,7 +266,7 @@
<dd class="col-md-8">blend this pixel channel with the alpha mask if it's enabled</dd>
</dl>
<p>We provide these methods to set and get pixel traits:</p>
-<pre class="highlight"><code>GetPixelAlphaTraits() SetPixelAlphaTraits()
+<ul><pre class="bg-light text-dark"><samp>GetPixelAlphaTraits() SetPixelAlphaTraits()
GetPixelBlackTraits() SetPixelBlackTraits()
GetPixelBlueTraits() SetPixelBlueTraits()
GetPixelCbTraits() SetPixelCbTraits()
@@ -278,67 +278,67 @@
GetPixelMagentaTraits() SetPixelMagentaTraits()
GetPixelRedTraits() SetPixelRedTraits()
GetPixelYellowTraits() SetPixelYellowTraits()
-GetPixelYTraits() SetPixelYTraits()</code></pre>
+GetPixelYTraits() SetPixelYTraits()</samp></pre></ul>
<p>For convenience you can set the active trait for a set of pixel channels with a channel mask and this method:</p>
-<pre class="highlight"><code>SetImageChannelMask()
-</code></pre>
+<ul><pre class="bg-light text-dark"><samp>SetImageChannelMask()
+</samp></pre></ul>
<p>Previously MagickCore methods had channel analogs, for example, NegateImage() and NegateImageChannels(). The channel analog methods are no longer necessary because the pixel channel traits specify whether to act on a particular pixel channel or whether to blend with the alpha mask. For example, instead of</p>
-<pre class="highlight"><code>NegateImageChannel(image,channel);</code></pre>
+<ul><pre class="bg-light text-dark"><samp>NegateImageChannel(image,channel);</samp></pre></ul>
<p>we use:</p>
-<pre class="highlight"><code>channel_mask=SetImageChannelMask(image,channel);
+<ul><pre class="bg-light text-dark"><samp>channel_mask=SetImageChannelMask(image,channel);
NegateImage(image,exception);
-(void) SetImageChannelMask(image,channel_mask);</code></pre>
+(void) SetImageChannelMask(image,channel_mask);</samp></pre></ul>
-<h5>Pixel User Channels</h5>
+<h4>Pixel User Channels</h4>
<p>In version 7, we introduce pixel user channels. Traditionally we utilize 4 channels, red, green, blue, and alpha. For CMYK we also have a black channel. User channels are designed to contain whatever additional channel information that makes sense for your application. Some examples include extra channels in TIFF or PSD images or perhaps you require a channel with infrared information for the pixel. You can associate traits with the user channels so that when they are acted upon by an image processing algorithm (e.g. blur) the pixels are copied, acted upon by the algorithm, or even blended with the alpha channel if that makes sense.</p>
-<h5>Pixel Metacontent</h5>
+<h4>Pixel Metacontent</h4>
<p>In version 7, we introduce pixel metacontent. Metacontent is content about content. So rather than being the content itself, it's something that describes or is associated with the content. Here the content is a pixel. The pixel metacontent is for your exclusive use (internally the data is just copied, it is not modified) and is accessed with these MagickCore API methods:</p>
-<pre class="highlight"><code>SetImageMetacontentExtent()
+<ul><pre class="bg-light text-dark"><samp>SetImageMetacontentExtent()
GetImageMetacontentExtent()
GetVirtualMetacontent()
GetAuthenticMetacontent()
GetCacheViewAuthenticMetacontent()
-GetCacheViewVirtualMetacontent()</code></pre>
+GetCacheViewVirtualMetacontent()</samp></pre></ul>
<h2><a class="anchor" id="alpha"></a>Alpha</h2>
-<p>We support alpha now, previously opacity. With alpha, a value of <kbd>0</kbd> means that the pixel does not have any coverage information and is transparent; i.e. there was no color contribution from any geometry because the geometry did not overlap this pixel. A value of <code>QuantumRange</code> means that the pixel is opaque because the geometry completely overlapped the pixel. As a consequence, in version 7, the PixelInfo structure member alpha has replaced the previous opacity member. Another consequence is the alpha part of an sRGB value in hexadecimal notation is now reversed (e.g. #0000 is fully transparent).</p>
+<p>We support alpha now, previously opacity. With alpha, a value of <kbd>0</kbd> means that the pixel does not have any coverage information and is transparent; i.e. there was no color contribution from any geometry because the geometry did not overlap this pixel. A value of <samp>QuantumRange</samp> means that the pixel is opaque because the geometry completely overlapped the pixel. As a consequence, in version 7, the PixelInfo structure member alpha has replaced the previous opacity member. Another consequence is the alpha part of an sRGB value in hexadecimal notation is now reversed (e.g. #0000 is fully transparent).</p>
<h2><a class="anchor" id="colorspace"></a>Colorspace</h2>
-<p>The <code>Rec601Luma</code> and <code>Rec709Luma</code> colorspaces are no longer supported. Instead, specify the <code>gray</code> colorspace and choose from these intensity options:</p>
-<pre class="highlight"><code>Rec601Luma
+<p>The <samp>Rec601Luma</samp> and <samp>Rec709Luma</samp> colorspaces are no longer supported. Instead, specify the <samp>gray</samp> colorspace and choose from these intensity options:</p>
+<ul><pre class="bg-light text-dark"><samp>Rec601Luma
Rec601Luminance
Rec709Luma
-Rec709Luminance</code></pre>
+Rec709Luminance</samp></pre></ul>
<p>For example,</p>
-<pre class="highlight"><code>magick myImage.png -intensity Rec709Luminance -colorspace gray myImage.jpg</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick myImage.png -intensity Rec709Luminance -colorspace gray myImage.jpg</samp></pre></ul>
<h2><a class="anchor" id="grayscale"></a>Grayscale</h2>
<p>Previously, grayscale images were Rec601Luminance and consumed 4 channels: red, green, blue, and alpha. With version 7, grayscale consumes only 1 channel requiring far less resources as a result.</p>
<h2><a class="anchor" id="mask"></a>Masks</h2>
-<p>Version 7 supports masks for most image operators. White pixels in a read mask ignores corresponding pixel in an image whereas white pixels in a write mask protects the corresponding pixel in the image. From the command-line, you can associate a mask with an image with the <code>-read-mask</code> and <code>-write-mask</code> options. This polarity matches the masks in version 6 of ImageMagick for ease of porting your workflow. For convenience, we continue to support the <code>-mask</code> option in version 7 to match the behavior of version 6.</p>
+<p>Version 7 supports masks for most image operators. White pixels in a read mask ignores corresponding pixel in an image whereas white pixels in a write mask protects the corresponding pixel in the image. From the command-line, you can associate a mask with an image with the <samp>-read-mask</samp> and <samp>-write-mask</samp> options. This polarity matches the masks in version 6 of ImageMagick for ease of porting your workflow. For convenience, we continue to support the <samp>-mask</samp> option in version 7 to match the behavior of version 6.</p>
<p>In this example, we compute the distortion of a masked reconstructed image:</p>
-<pre class="highlight"><code>compare -metric rmse -read-mask hat_mask.png hat.png wizard.png difference.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>compare -metric rmse -read-mask hat_mask.png hat.png wizard.png difference.png</samp></pre></ul>
<p>Here we protect certain pixels from change:</p>
-<pre class="highlight"><code>magick rose: -write-mask rose_bg_mask.png -modulate 110,100,33.3 +mask rose_blue.png</code></pre>
+<ul><pre class="bg-light text-dark"><samp>magick rose: -write-mask rose_bg_mask.png -modulate 110,100,33.3 +mask rose_blue.png</samp></pre></ul>
<p>A mask associated with an image persists until it is modified or removed. This may produce unexpected results for complex command-lines. Here we only want to clip when applying the alpha option, not the resize:</p>
-<pre class="highlight">
+<ul><pre class="bg-light text-dark">
convert -density 300 -colorspace srgb image.eps -alpha transparent -clip -alpha opaque +clip -resize 1000x1000 -strip image.png
-</pre>
+</pre></ul>
<h2><a class="anchor" id="core"></a>MagickCore API</h2>
<p>Here are a list of changes to the MagickCore API:</p>
<ul>
<li>Almost all image processing algorithms are now channel aware.</li>
-<li>The MagickCore API adds an <code>ExceptionInfo</code> argument to those methods that lacked it in version 6, e.g. <code>NegateImage(image,MagickTrue,exception)</code></li>
+<li>The MagickCore API adds an <samp>ExceptionInfo</samp> argument to those methods that lacked it in version 6, e.g. <samp>NegateImage(image,MagickTrue,exception)</samp></li>
<li>All method channel analogs have been removed (e.g. BlurImageChannel()), they are no longer necessary, use pixel traits instead.</li>
<li>Public and private API calls are now declared with the GCC visibility attribute. The MagickCore and MagickWand dynamic libraries now only export public struct and function declarations.</li>
<li>The InterpolatePixelMethod enum is now PixelInterpolateMethod.</li>
<li>The IntegerPixel storage type is removed (use LongPixel instead) and LongLongPixel is added</li>
<li>Image signatures have changed to account for variable pixel channels.</li>
<li>All color packet structures, PixelPacket, LongPacket, and DoublePacket, are consolidated to a single color structure, PixelInfo.</li>
-<li>The ChannelMoments structure member <code>I</code> is now <code>invariant</code>. <code>I</code> conflicts with the <code>complex.h</code> header.</li>
+<li>The ChannelMoments structure member <samp>I</samp> is now <samp>invariant</samp>. <samp>I</samp> conflicts with the <samp>complex.h</samp> header.</li>
<li>We added a length parameter to FormatMagickSize() to permit variable length buffers.</li>
</ul>
<h2><a class="anchor" id="core"></a>MagickWand API</h2>
@@ -353,20 +353,20 @@
<ul>
<li>Almost all image processing algorithms are now channel aware.</li>
<li>Use this construct, for example, to avoid operating on the alpha channel:
-<pre class="highlight"><code>image.negateChannel(Magick::ChannelType(Magick::CompositeChannels ^ Magick::AlphaChannel));
-</code></pre>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/quantize.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Color Reduction Utilizing Adaptive Spatial Subdivision</title>
+ <title>ImageMagick – Color Reduction Utilizing Adaptive Spatial Subdivision</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="color, reduction, utilizing, adaptive, spatial, subdivision, image processing software" />
@@ -119,13 +119,12 @@
<p>Classification begins by initializing a color description tree of sufficient depth to represent each possible input color in a leaf. However, it is impractical to generate a fully-formed color description tree in the classification phase for realistic values of <var>Cmax</var>. If color components in the input image are quantized to <var>k</var>-bit precision, so that <var>Cmax</var> = <var>2^k-1</var>, the tree would need <var>k</var> levels below the root node to allow representing each possible input color in a leaf. This becomes prohibitive because the tree's total number of nodes:</p>
-<pre class="highlight"><code>total nodes = 1+Sum(8^i), i=1,k
+<ul><pre class="bg-light text-dark"><samp>total nodes = 1+Sum(8^i), i=1,k
For k=8,
nodes = 1 + (8^1+8^2+....+8^8)
= 1 + 8(8^8 - 1)/(8 - 1)
- = 19,173,961
-</code></pre>
+ = 19,173,961 </samp></pre></ul>
<p>Therefore, to avoid building a fully populated tree, ImageMagick:</p>
@@ -134,10 +133,9 @@
<li>chooses a maximum depth for the tree as a function of the desired number of colors in the output image (currently the <var>base-two</var> logarithm of <var>Cmax</var>).</li>
</ol>
-<pre class="highlight"><code>For Cmax=255,
+<ul><pre class="bg-light text-dark"><samp>For Cmax=255,
maximum tree depth = log<sub>2</sub>(256)
- = 8
-</code></pre>
+ = 8 </samp></pre></ul>
<p>A tree of this depth generally allows the best representation of the source image with the fastest computational speed and the least amount of memory. However, the default depth is inappropriate for some images. Therefore, the caller can request a specific tree depth.</p>
@@ -158,11 +156,10 @@
<p>Reduction repeatedly prunes the tree until the number of nodes with <var>n2</var> > <var>0</var> is less than or equal to the maximum number of colors allowed in the output image. On any given iteration over the tree, it selects those nodes whose <var>E</var> value is minimal for pruning and merges their color statistics upward. It uses a pruning threshold, <var>Ep</var>, to govern node selection as follows:</p>
-<pre class="highlight"><code>Ep = 0
+<ul><pre class="bg-light text-dark"><samp>Ep = 0
while number of nodes with (n2 > 0) > required maximum number of colors
prune all nodes such that E <= Ep
- Set Ep to minimum E in remaining nodes
-</code></pre>
+ Set Ep to minimum E in remaining nodes </samp></pre></ul>
<p>This has the effect of minimizing any quantization error when merging two nodes together.</p>
@@ -197,7 +194,7 @@
<p>These errors are measured and printed when the <a href="../www/command-line-options.html#colors">-colors</a> and <a href="../www/command-line-options.html#verbose">-verbose</a> options are specified on the <a href="../www/magick.html">magick</a> command line:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td>mean error per pixel</td>
@@ -242,4 +239,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:19 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/resources.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Resources</title>
+ <title>ImageMagick – Resources</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="resources, image processing software" />
@@ -134,7 +134,7 @@
<dd class="col-md-8">Associate message tags with a translation for your locale.
ImageMagick has a number of informational, warning, and error messages that are represented as tags. Tags are short descriptions of a message such as
- <var>FileNotFound</var> or <var>MemoryAllocationFailed</var>. This configuration file lists locales that have a translation for each tag recognized by ImageMagick. Currently only English and French translations are available in the <code>english.xml</code> and <code>francais.xml</code> configuration files.
+ <var>FileNotFound</var> or <var>MemoryAllocationFailed</var>. This configuration file lists locales that have a translation for each tag recognized by ImageMagick. Currently only English and French translations are available in the <samp>english.xml</samp> and <samp>francais.xml</samp> configuration files.
</dd>
<dt class="col-md-4"><a href="https://imagemagick.org/source/log.xml">log.xml</a></dt>
@@ -147,31 +147,31 @@
Many files and data streams have identifiers that uniquely identify a
particular internet media type. For example, files in the "Corel Draw
drawing" format (mime type="application/vnd.corel-draw") are associated with
-the filename pattern <code>*.cdr</code>, and also have an initial string of the
+the filename pattern <samp>*.cdr</samp>, and also have an initial string of the
characters "CDRXvrsn". ImageMagick uses combinations of this information,
when available, to attempt to quickly determine the internet media type of a
file or data stream.
</dd>
<dt class="col-md-4"><a href="https://imagemagick.org/source/policy.xml">policy.xml</a></dt>
- <dd class="col-md-8">Configure ImageMagick policies.
+ <dd class="col-md-8">Configure ImageMagick <a href="../www/security-policy.html">security policies</a>.
By default any coder, delegate, filter, or file path is permitted. Use a policy to deny access to, for example, the MPEG video delegate, or permit reading images from a file system but deny writing to that same file system. Or use the resource policy to set resource limits. Policies are useful for multi-user servers that want to limit the overall impact ImageMagick has on the system. For example, to limit the maximum image size in memory to 100MP:
-<pre class="highlight"><code><policy domain="resource" name="area" value="100MP"/></code></pre>
+<ul><pre class="bg-light text-dark"><samp><policy domain="resource" name="area" value="100MP"/></samp></pre></ul>
Any image larger than this area limit is cached to disk rather than memory.
-Use <code>width</code> to limit the maximum width of an image in pixels. Exceed this limit and an exception is thrown and processing stops.
+Use <samp>width</samp> to limit the maximum width of an image in pixels. Exceed this limit and an exception is thrown and processing stops.
-<pre class="highlight"><code><policy domain="resource" name="width" value="8KP"/></code></pre>
+<ul><pre class="bg-light text-dark"><samp><policy domain="resource" name="width" value="8KP"/></samp></pre></ul>
To limit the elapsed time of any ImageMagick command to 5 minutes, use this policy:
-<pre class="highlight"><code><policy domain="resource" name="time" value="300"/></code></pre>
-Define arguments for the memory, map, and disk resources with SI prefixes (.e.g 100MB). In addition, resource policies are maximums for each instance of ImageMagick (e.g. policy memory limit 1GB, the <code>-limit 2GB</code> option exceeds policy maximum so memory limit is 1GB). </dd>
+<ul><pre class="bg-light text-dark"><samp><policy domain="resource" name="time" value="300"/></samp></pre></ul>
+Define arguments for the memory, map, and disk resources with SI prefixes (.e.g 100MB). In addition, resource policies are maximums for each instance of ImageMagick (e.g. policy memory limit 1GB, the <samp>-limit 2GB</samp> option exceeds policy maximum so memory limit is 1GB). </dd>
<dt class="col-md-4"><a href="https://imagemagick.org/source/quantization-table.xml">quantization-table.xml</a></dt>
- <dd class="col-md-8">Custom JPEG quantization tables. Activate with <code>-define:q-table=quantization-table.xml</code>.</dd>
+ <dd class="col-md-8">Custom JPEG quantization tables. Activate with <samp>-define:q-table=quantization-table.xml</samp>.</dd>
<dt class="col-md-4"><a href="https://imagemagick.org/source/thresholds.xml">thresholds.xml</a></dt>
<dd class="col-md-8">Set threshold maps for ordered posterized dither.</dd>
@@ -190,92 +190,92 @@
<dd class="col-md-8">Associate names with Windows font glyphs.</dd>
</dl>
-<p>Under Unix and Linux, ImageMagick searches for each of the configuration files listed above by looking in the locations given below, in order, and loads them if found:</p>
+<p>Under Linux and Linux, ImageMagick searches for each of the configuration files listed above by looking in the locations given below, in order, and loads them if found:</p>
-<pre class="highlight"><code>$MAGICK_CONFIGURE_PATH
+<ul><pre class="bg-light text-dark"><samp>$MAGICK_CONFIGURE_PATH
$PREFIX/etc/ImageMagick-7
$PREFIX/share/ImageMagick-7
$XDG_CACHE_HOME/ImageMagick
$HOME/.config/ImageMagick
-<<var>client path</var>>/etc/ImageMagick</code></pre>
+<<var>client path</var>>/etc/ImageMagick</samp></pre></ul>
-<p>The environmental variable $PREFIX is the default install path (e.g. <code>/usr/local</code>). The <var>client path</var> is the execution path of your ImageMagick client (e.g. <code>/usr/local</code>) .</p>
+<p>The environmental variable $PREFIX is the default install path (e.g. <samp>/usr/local</samp>). The <var>client path</var> is the execution path of your ImageMagick client (e.g. <samp>/usr/local</samp>) .</p>
-<p>For the Unix or Linux pre-compiled uninstalled binary distributions, the configuration load order is:</p>
+<p>For the Linux or Linux pre-compiled uninstalled binary distributions, the configuration load order is:</p>
-<pre class="highlight"><code>$MAGICK_CONFIGURE_PATH
+<ul><pre class="bg-light text-dark"><samp>$MAGICK_CONFIGURE_PATH
$MAGICK_HOME/etc/ImageMagick-7
$MAGICK_HOME/share/ImageMagick-7
$PREFIX/share/ImageMagick-7
$XDG_CACHE_HOME/ImageMagick
$HOME/.config/ImageMagick/
<<var>client path</var>>/etc/ImageMagick
-<<var>current directory</var>></code></pre>
+<<var>current directory</var>></samp></pre></ul>
<p>Under Windows, ImageMagick searches for these configuration files in the following order, and loads them if found:</p>
-<pre class="highlight"><code>$MAGICK_CONFIGURE_PATH
+<ul><pre class="bg-light text-dark"><samp>$MAGICK_CONFIGURE_PATH
<<var>windows registry</var>>
$PREFIX/config
$USERPROFILE/.config/ImageMagick
-<<var>client path</var>></code></pre>
+<<var>client path</var>></samp></pre></ul>
-<p>Above, $PREFIX is the default install path, typically <code>c:\\Program Files\\ImageMagick-7.0.10</code>.</p>
+<p>Above, $PREFIX is the default install path, typically <samp>c:\\Program Files\\ImageMagick-7.1.0</samp>.</p>
<p>For an uninstalled Windows installation, the configuration load order is:</p>
-<pre class="highlight"><code>$MAGICK_CONFIGURE_PATH
+<ul><pre class="bg-light text-dark"><samp>$MAGICK_CONFIGURE_PATH
$MAGICK_HOME
$USERPROFILE/.config/ImageMagick
<var>client path</var>
-<<var>current directory</var>></code></pre>
+<<var>current directory</var>></samp></pre></ul>
<p>If a configuration file cannot not be found, ImageMagick relies on built-in default values.</p>
<h2><a class="anchor" id="modules"></a>Modules</h2>
-<h5>Coders</h5>
+<h4>Coders</h4>
<p>An image coder (i.e. encoder / decoder) is responsible for registering, optionally classifying, optionally reading, optionally writing, and unregistering one image format (e.g. PNG, GIF, JPEG, etc.). ImageMagick searches for coders in the following order and it uses the first match found:</p>
-<pre class="highlight"><code>$MAGICK_HOME/lib/ImageMagick-7.0.10/modules-Q16/coders
-<<var>client path</var>>/../lib/ImageMagick-7.0.10/modules-Q16/coders
-$MAGICK_HOME/lib/ImageMagick-7.0.10/modules-Q16/coders
-$MAGICK_HOME/share/ImageMagick-7.0.10/modules-Q16/coders
+<ul><pre class="bg-light text-dark"><samp>$MAGICK_HOME/lib/ImageMagick-7.1.0/modules-Q16/coders
+<<var>client path</var>>/../lib/ImageMagick-7.1.0/modules-Q16/coders
+$MAGICK_HOME/lib/ImageMagick-7.1.0/modules-Q16/coders
+$MAGICK_HOME/share/ImageMagick-7.1.0/modules-Q16/coders
$XDG_CACHE_HOME/ImageMagick
$HOME/.config/ImageMagick
-<<var>client path</var>>/lib/ImageMagick-7.0.10/modules-Q16/coders</code></pre>
+<<var>client path</var>>/lib/ImageMagick-7.1.0/modules-Q16/coders</samp></pre></ul>
-<h5>Filters</h5>
+<h4>Filters</h4>
<p>ImageMagick provides a convenient mechanism for adding your own custom image processing algorithms. ImageMagick searches for filters in the following order and it uses the first match found:</p>
-<pre class="highlight"><code>$MAGICK_HOME/lib/ImageMagick-7.0.10/modules-Q16/filters
-<<var>client path</var>>/../lib/ImageMagick-7.0.10/modules-Q16/filters
-$MAGICK_HOME/lib/ImageMagick-7.0.10/modules-Q16/filters
-$MAGICK_HOME/share/ImageMagick-7.0.10/modules-Q16/filters
+<ul><pre class="bg-light text-dark"><samp>$MAGICK_HOME/lib/ImageMagick-7.1.0/modules-Q16/filters
+<<var>client path</var>>/../lib/ImageMagick-7.1.0/modules-Q16/filters
+$MAGICK_HOME/lib/ImageMagick-7.1.0/modules-Q16/filters
+$MAGICK_HOME/share/ImageMagick-7.1.0/modules-Q16/filters
$XDG_CACHE_HOME/ImageMagick
$HOME/.config/ImageMagick
-<<var>client path</var>>/lib/ImageMagick-7.0.10/modules-Q16/filters</code></pre>
+<<var>client path</var>>/lib/ImageMagick-7.1.0/modules-Q16/filters</samp></pre></ul>
<h2><a class="anchor" id="fonts"></a>Fonts</h2>
<p>ImageMagick is able to load raw TrueType and Postscript font files. It searches for the font configuration file, <a href="resources.html#type.xml">type.xml</a>, in the following order, and loads them if found:</p>
-<pre class="highlight"><code>$MAGICK_CONFIGURE_PATH
-$MAGICK_HOME/etc/ImageMagick/-7.0.10
-$MAGICK_HOME/share/ImageMagick-7.0.10
+<ul><pre class="bg-light text-dark"><samp>$MAGICK_CONFIGURE_PATH
+$MAGICK_HOME/etc/ImageMagick/-7.1.0
+$MAGICK_HOME/share/ImageMagick-7.1.0
$XDG_CACHE_HOME/ImageMagick
$HOME/.config/ImageMagick
<<var>client path</var>>/etc/ImageMagick
-$MAGICK_FONT_PATH</code></pre>
+$MAGICK_FONT_PATH</samp></pre></ul>
<h2><a class="anchor" id="environment"></a>Environment Variables</h2>
<p>Environment variables recognized by ImageMagick include:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td>HOME</td>
- <td>Set path to search for configuration files in <code>$HOME/.config/ImageMagick</code> if the directory exists.</td>
+ <td>Set path to search for configuration files in <samp>$HOME/.config/ImageMagick</samp> if the directory exists.</td>
</tr>
<tr>
<td>LD_LIBRARY_PATH</td>
@@ -287,15 +287,15 @@
</tr>
<tr>
<td>MAGICK_CODER_FILTER_PATH</td>
- <td>Set search path to use when searching for filter process modules (invoked via <a href="../www/command-line-options.html#process">-process</a>). This path permits the user to extend ImageMagick's image processing functionality by adding loadable modules to a preferred location rather than copying them into the ImageMagick installation directory. The formatting of the search path is similar to operating system search paths (i.e. colon delimited for Unix, and semi-colon delimited for Microsoft Windows). This user specified search path is searched before trying the <a href="resources.html#modules">default search path</a>.</td>
+ <td>Set search path to use when searching for filter process modules (invoked via <a href="../www/command-line-options.html#process">-process</a>). This path permits the user to extend ImageMagick's image processing functionality by adding loadable modules to a preferred location rather than copying them into the ImageMagick installation directory. The formatting of the search path is similar to operating system search paths (i.e. colon delimited for Linux, and semi-colon delimited for Microsoft Windows). This user specified search path is searched before trying the <a href="resources.html#modules">default search path</a>.</td>
</tr>
<tr>
<td>MAGICK_CODER_MODULE_PATH</td>
- <td>Set path where ImageMagick can locate its coder modules. This path permits the user to arbitrarily extend the image formats supported by ImageMagick by adding loadable coder modules from an preferred location rather than copying them into the ImageMagick installation directory. The formatting of the search path is similar to operating system search paths (i.e. colon delimited for Unix, and semi-colon delimited for Microsoft Windows). This user specified search path is searched before trying the <a href="resources.html#modules">default search path</a>.</td>
+ <td>Set path where ImageMagick can locate its coder modules. This path permits the user to arbitrarily extend the image formats supported by ImageMagick by adding loadable coder modules from an preferred location rather than copying them into the ImageMagick installation directory. The formatting of the search path is similar to operating system search paths (i.e. colon delimited for Linux, and semi-colon delimited for Microsoft Windows). This user specified search path is searched before trying the <a href="resources.html#modules">default search path</a>.</td>
</tr>
<tr>
<td>MAGICK_CONFIGURE_PATH</td>
- <td>Set path where ImageMagick can locate its configuration files. Use this search path to search for configuration (.xml) files. The formatting of the search path is similar to operating system search paths (i.e. colon delimited for Unix, and semi-colon delimited for Microsoft Windows). This user specified search path is searched before trying the <a href="resources.html#configure">default search path</a>.</td>
+ <td>Set path where ImageMagick can locate its configuration files. Use this search path to search for configuration (.xml) files. The formatting of the search path is similar to operating system search paths (i.e. colon delimited for Linux, and semi-colon delimited for Microsoft Windows). This user specified search path is searched before trying the <a href="resources.html#configure">default search path</a>.</td>
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/search.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Search</title>
+ <title>ImageMagick – Search</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="search, image processing software" />
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/security-policy.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Security Policy</title>
+ <title>ImageMagick – Security Policy</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="security, policy, image processing software" />
@@ -95,13 +95,13 @@
<p class="text-center"><a href="security-policy.html#policy">Security Policy </a> • <a href="security-policy.html#synchronize">Pixel Cache Synchronize Policy</a> • <a href="security-policy.html#zero-configuration">Zero Configuration Security Policy</a> • <a href="security-policy.html#other">Other Security Considerations</a></p>
-<p class="lead magick-description">ImageMagick best practices strongly encourages you to configure a security <a href="https://imagemagick.org/source/policy.xml">policy</a> that suits your local environment. The policy is open by default. This affords maximum utility for ImageMagick installations that run in a sandboxed environment, perhaps in a Docker instance, or behind a firewall where security risks are greatly diminished as opposed to a public website.</p>
+<p class="lead magick-description">ImageMagick recommended practices strongly encourage you to configure a security <a href="https://imagemagick.org/source/policy.xml">policy</a> that suits your local environment. The policy is open by default. This affords maximum utility for ImageMagick installations that run in a sandboxed environment, perhaps in a Docker instance, or behind a firewall where security risks are greatly diminished as opposed to a public website.</p>
<p>Security is a trade-off between a secure environment and convenience. If you want ImageMagick to be optimally secure, you could, for example, limit ImageMagick to only read or write web safe images (e.g. GIF, JPEG, PNG). However, ImageMagick provides for a more secure option by adjusting the security policy per the requirements of your local environment or organizational policies. The security policy covers areas such as memory, which paths to read or write, how many images are permitted in an image sequence, how long a workflow can run, how much disk the image pixels can consume, a secret passphrase for remote connections, which coders are permitted or denied, and others. These policies should provide robust coverage to not only secure your environment per your requirements but also ensure ImageMagick remains a good citizen (e.g. prevent thrashing with large images) in your local environment.</p>
-<p>As an example, suppose you download an image from the internet and unbeknownst to you its been crafted to generate a 20000 by 20000 pixel image. ImageMagick attempts to allocate enough resources (memory, disk) and your system will likely deny the resource request and exit. However, its also possible that your computer might be temporarily sluggish or unavailable or ImageMagick may abort. To prevent such a scenario, you can set limits in the <a href="https://imagemagick.org/source/policy.xml">policy.xml</a> configuration file. You might wonder why ImageMagick does not already include reasonable limits? Simply because what is reasonable in your environment, might not be reasonable to someone else. For example, you may have ImageMagick sandboxed where security is not a concern, whereas another user may use ImageMagick to process images on their publically accessible website. Or ImageMagick runs on a host with 1TB of memory whereas another ImageMagick instance runs on an mobile phone. By policy, permitting giga-pixel image processing on the large memory host makes sense, not so much for the resource constrained mobile phone. If you utilize ImageMagick from a public website, you may want to increase security by preventing usage of the MVG or HTTPS coders. Only you can decide what are reasonable limits taking in consideration your environment. We provide this policy with reasonable limits and encourage you to modify it to suit your local environment:</p>
+<p>As an example, suppose you download an image from the internet and unbeknownst to you its been crafted to generate a 20000 by 20000 pixel image. ImageMagick attempts to allocate enough resources (memory, disk) and your system will likely deny the resource request and exit. However, its also possible that your computer might be temporarily sluggish or unavailable or ImageMagick may abort. To prevent such a scenario, you can set limits in the <a href="https://imagemagick.org/source/policy.xml">policy.xml</a> configuration file. You might wonder why ImageMagick does not already include reasonable limits? Simply because what is reasonable in your environment, might not be reasonable to someone else. For example, you may have ImageMagick sandboxed where security is not a concern, whereas another user may use ImageMagick to process images on their publically accessible website. Or ImageMagick runs on a host with 1TB of memory whereas another ImageMagick instance runs on a tablet. By policy, permitting giga-pixel image processing on the large memory host makes sense, not so much for the resource constrained tablet. If you utilize ImageMagick from a public website, you may want to increase security by preventing usage of the MVG or HTTPS coders. Only you can decide what are reasonable limits taking in consideration your environment. We provide this policy with reasonable limits and encourage you to modify it to suit your local environment:</p>
-<pre class="pre-scrollable highlight"><code><policymap>
+<ul><pre class="pre-scrollable bg-light text-dark text-dark"><samp><policymap>
<!-- temporary path must be a preexisting writable directory -->
<policy domain="resource" name="temporary-path" value="/data/magick"/>
<policy domain="resource" name="memory" value="256MiB"/>
@@ -114,7 +114,8 @@
<policy domain="resource" name="file" value="768"/>
<policy domain="resource" name="thread" value="2"/>
<policy domain="resource" name="time" value="120"/>
- <policy domain="coder" rights="write" pattern="{HTTP,HTTPS,MSVG,MVG,PS,EPS,PDF,XPS}" />
+ <policy domain="module" rights="none" pattern="URL" />
+ <policy domain="coder" rights="write" pattern="{MSVG,MVG,PS,PDF,XPS}" />
<policy domain="filter" rights="none" pattern="*" />
<policy domain="path" rights="none" pattern="@*"/> <!-- indirect reads not permitted -->
<policy domain="cache" name="memory-map" value="anonymous"/>
@@ -122,51 +123,51 @@
<policy domain="cache" name="shared-secret" value="<em>passphrase</em>" stealth="True"/>
<policy domain="system" name="precision" value="6"/>
<policy domain="system" name="shred" value="1"/>
-</policymap></code></pre>
+</policymap></samp></pre></ul>
-<p>Since we process multiple simultaneous sessions, we do not want any one session consuming all the available memory. With this policy, large images are cached to disk. If the image is too large and exceeds the pixel cache disk limit, the program exits. In addition, we place a time limit to prevent any run-away processing tasks. If any one image has a width or height that exceeds 8192 pixels or if an image sequence exceeds 32 frames, an exception is thrown and processing stops. As of ImageMagick 7.0.1-8, you can prevent the use of any delegate or all delegates (set the pattern to "*"). Note, prior to these releases, use a domain of <code>coder</code> to prevent delegate usage (e.g. <code>domain="coder" rights="none" pattern="HTTPS"</code>). We prevent users from executing any image filters. The policy also prevents indirect reads. If you want to, for example, read text from a file (e.g. <code>caption:@myCaption.txt</code>), you'll need to disable the <code>path</code> policy.</p>
+<p>Since we process multiple simultaneous sessions, we do not want any one session consuming all the available memory. With this policy, large images are cached to disk. If the image is too large and exceeds the pixel cache disk limit, the program exits. In addition, we place a time limit to prevent any run-away processing tasks. If any one image has a width or height that exceeds 8192 pixels or if an image sequence exceeds 32 frames, an exception is thrown and processing stops. As of ImageMagick 7.0.1-8, you can prevent the use of any delegate or all delegates (set the pattern to "*"). Note, prior to these releases, use a domain of <samp>coder</samp> to prevent delegate usage (e.g. <samp>domain="coder" rights="none" pattern="HTTPS"</samp>). We prevent users from executing any image filters. The policy also prevents indirect reads. If you want to, for example, read text from a file (e.g. <samp>caption:@myCaption.txt</samp>), you'll need to disable the <samp>path</samp> policy.</p>
-<p>Policy patterns are <em>case sensitive</em>. To get expected behavior, coders and modules must be upper-case (e.g. "EPS" not "eps").</p>
+<p>Policy patterns are <em>case sensitive</em>. To get expected behavior, coders and modules must be upper-case (e.g. "EPS" not "eps") or use a case-insensitive pattern such as <samp>[Pp][Nn][Gg]</samp>.</p>
<p>Here is what you can expect when you restrict the HTTPS coder, for example:</p>
-<pre class="highlight">-> convert ../images/wizard.png wizard.jpg
+<ul><pre class="bg-light text-dark">$ magick ../images/wizard.png wizard.jpg
convert: attempt to perform an operation not allowed by the security policy `HTTPS'
-convert: no images defined `wizard.jpg'</pre>
+convert: no images defined `wizard.jpg'</pre></ul>
<p>As of ImageMagick version 7.0.4-7, you can conveniently deny access to all delegates and coders except for a small subset of proven web-safe image types. For example,</p>
-<pre class="highlight"><code><policy domain="delegate" rights="none" pattern="*" />
+<ul><pre class="bg-light text-dark"><samp><policy domain="delegate" rights="none" pattern="*" />
<policy domain="module" rights="none" pattern="*" />
-<policy domain="module" rights="read | write" pattern="{GIF,JPEG,PNG,WEBP}" /></code></pre>
+<policy domain="module" rights="read | write" pattern="{GIF,JPEG,PNG,WEBP}" /></samp></pre></ul>
-<p>Here we disable reading just a few Postscript related formats, you can still write them:</p>
-<pre class="highlight"><code><policy domain="module" rights="write" pattern="{PDF,PS,PS2,PS3,XPS}" /></code></pre>
+<p>The module policy enables or disables a complete module for both read or write. To just read or write an image format, use the coder policy instead. For example, we disable reading just a few Postscript related formats, you can still write them:</p>
+<ul><pre class="bg-light text-dark"><samp><policy domain="coder" rights="write" pattern="{PDF,PS,PS2,PS3,XPS}" /></samp></pre></ul>
<p>As of ImageMagick 7.0.7-0, you can allocate the pixel cache and some internal buffers with anonymous memory mapping rather than from heap. As a consequence, the pixels are initialized to zero resulting in a minor performance penalty. You can also securely delete any temporary files for increased security. The value is the number of times to shred (replace its content with random data) before deleting a temporary file. For example,</p>
-<pre class="highlight"><code><policy domain="system" name="memory-map" value="anonymous"/>
+<ul><pre class="bg-light text-dark"><samp><policy domain="system" name="memory-map" value="anonymous"/>
<policy domain="cache" name="memory-map" value="anonymous"/>
-<policy domain="system" name="shred" value="1"/></code></pre>
+<policy domain="system" name="shred" value="1"/></samp></pre></ul>
<p>Some image processing algorithms (e.g. wavelet transform) might consume a substantial amount of memory to complete. ImageMagick maintains a separate memory pool for these large resource requests and as of 7.0.6-1 permits you to set a maximum request limit. If the limit is exceeded, the allocation is instead memory-mapped on disk. Here we limit the maximum memory request by policy:</p>
-<pre class="highlight"><code><policy domain="system" name="max-memory-request" value="256MiB"/> </code></pre>
+<ul><pre class="bg-light text-dark"><samp><policy domain="system" name="max-memory-request" value="256MiB"/> </samp></pre></ul>
<p>As of ImageMagick version 7.0.4-23, you can limit the maximum number of images in a sequence. For example, to limit an image sequence to at most 64 frames, use:</p>
-<pre class="highlight"><code><policy domain="resource" name="list-length" value="64"/></code></pre>
+<ul><pre class="bg-light text-dark"><samp><policy domain="resource" name="list-length" value="64"/></samp></pre></ul>
<p>For additional details about resource limits and the policy configuration file, read <a href="../www/resources.html">Resources</a> and <a href="../www/architecture.html">Architecture</a>.</p>
<p>As of ImageMagick 7.0.6-0, you can programmatically set the ImageMagick security policy with SetMagickSecurityPolicy() (MagickCore) or MagickSetSecurityPolicy() (MagickWand).</p>
<p>As of ImageMagick version 7.0.8-11, you can set a module security policy. For example, to prevent Postscript or PDF interpretation, use:</p>
-<pre class="highlight"><code><policy domain="module" rights="none" pattern="{ps,pdf,xps}/></code></pre>
+<ul><pre class="bg-light text-dark"><samp><policy domain="module" rights="none" pattern="{ps,pdf,xps}/></samp></pre></ul>
<p>As of ImageMagick version 7.0-10-52, you can set a font policy. Specify a path to a Unicode font that ImageMagick defaults to whenever the user does not specify a font preference:</p>
-<pre class="highlight"><code><policy domain="system" name="font" value="/usr/share/fonts/arial-unicode.ttf"/></code></pre>
+<ul><pre class="bg-light text-dark"><samp><policy domain="system" name="font" value="/usr/share/fonts/arial-unicode.ttf"/></samp></pre></ul>
<p>You can verify your policy changes are in effect with this command:</p>
-<pre class="pre-scrollable highlight">-> identify -list policy
+<ul><pre class="pre-scrollable bg-light text-dark">-> identify -list policy
Path: ImageMagick-7/policy.xml
Policy: Cache
name: memory-map
@@ -225,28 +226,28 @@
Path: [built-in]
Policy: Undefined
- rights: None</pre>
-<p>Notice the <code>shared-secret</code> policy is not listed due to the <code>stealth</code> property.</p>
+ rights: None</pre></ul>
+<p>Notice the <samp>shared-secret</samp> policy is not listed due to the <samp>stealth</samp> property.</p>
<h2><a class="anchor" id="synchronize"></a>Pixel Cache Synchronize Policy</h2>
<p>When writing image pixels to disk, ImageMagick firsts preallocates the disk file, which is much faster than fully populating the file with zeros. To further increase performance, we memory-map the file on disk. With memory-mapping, we get an increase in performance (up to 5x), however, there remains a possibility that as the disk file is populated, it may run out of free space. The OS then throws a SIGBUS signal which prevents ImageMagick from continuing. To prevent a SIGBUS, use this security policy:
-<pre class="highlight">
+<ul><pre class="bg-light text-dark">
<policy domain="cache" name="synchronize" value="True"/>
-</pre>
+</pre></ul>
<p>Set to True to ensure all image data is fully flushed and synchronized to disk. There is a performance penalty, however, the benefits include ensuring a valid image file in the event of a system crash and early reporting if there is not enough disk space for the image pixel cache.</p>
<h2><a class="anchor" id="zero-configuration"></a>Zero Configuration Security Policy</h2>
-<p>A zero configuration build of ImageMagick does not permit external configuration files. To define your security policy, you must instead edit the <code>MagickCore/policy-private.h</code> source module, add your policy statements, and then build the ImageMagick distribution. Here is an example zero configuration security policy:</p>
+<p>A zero configuration build of ImageMagick does not permit external configuration files. To define your security policy, you must instead edit the <samp>MagickCore/policy-private.h</samp> source module, add your policy statements, and then build the ImageMagick distribution. Here is an example zero configuration security policy:</p>
-<pre class="highlight"><code>static const char
+<ul><pre class="bg-light text-dark"><samp>static const char
*ZeroConfigurationPolicy = \
"<policymap> \
<policy domain=\"coder\" rights=\"none\" pattern=\"MVG\"/> \
-</policymap>";</code></pre>
+</policymap>";</samp></pre></ul>
<h2><a class="anchor" id="other"></a>Other Security Considerations</h2>
@@ -259,8 +260,8 @@
<li>sanitizing any filenames or command line options you pass to ImageMagick;</li>
<li>running ImageMagick in a sanitized software container such as Docker;</li>
<li>running ImageMagick as the least-privileged user (e.g. 'nobody');</li>
-<li>explicitly setting the image file type. For example, use the filename <code>png:image.png</code> rather than <code>image.png</code>. Without an explicit image type in the filename, ImageMagick guesses the image type.</li>
-<li>do not create temporary files in shared directories, instead specify a private area to store only ImageMagick temporary files by setting the <code>temporary-path</code> security policy or the <code>-define registry:temporary-path=/data/magick</code> command-line option.</li>
+<li>explicitly setting the image file type. For example, use the filename <samp>png:image.png</samp> rather than <samp>image.png</samp>. Without an explicit image type in the filename, ImageMagick guesses the image type.</li>
+<li>do not create temporary files in shared directories, instead specify a private area to store only ImageMagick temporary files by setting the <samp>temporary-path</samp> security policy or the <samp>-define registry:temporary-path=/data/magick</samp> command-line option.</li>
</ul>
</div>
@@ -292,4 +293,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:03 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/sitemap.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Sitemap</title>
+ <title>ImageMagick – Sitemap</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="sitemap, image processing software" />
@@ -94,7 +94,7 @@
<h1 class="text-center">Sitemap</h1>
<p class="text-center"><a href="sitemap.html#overview">Overview</a> • <a href="sitemap.html#download">Download ImageMagick</a> • <a href="sitemap.html#install">Install ImageMagick</a> • <a href="sitemap.html#command-line">Command-line Tools</a> • <a href="sitemap.html#program-interfaces">Program Interfaces</a> • <a href="sitemap.html#formats">Image Formats</a> • <a href="sitemap.html#help">Getting Help</a> • <a href="sitemap.html#support">Support ImageMagick</a> • <a href="sitemap.html#miscellaneous">Miscellaneous Topics</a></p>
-<p class="lead magick-description">Use this ImageMagick sitemap to quickly jump to one of the areas of interest listed below. If you can't find what you want on this page, try our <a href="../www/search.html">site search</a>.</p>
+<p class="lead magick-description">Use this ImageMagick sitemap to quickly jump to one of the areas of interest listed below. If you can't find what you want on this page, try our <a href="../www/search.html?q=ImageMagick&sa=">site search</a>.</p>
<h2><a class="anchor" id="overview"></a>Overview</h2>
@@ -106,7 +106,7 @@
<li><a href="../www/color-management.html">Color management</a>: accurate color management with color profiles or in lieu of-- built-in gamma compression or expansion as demanded by the colorspace.</li>
<li><a href="../www/resources.html">Resources</a>: ImageMagick depends on external resources including configuration files, loadable modules, fonts, and environment variables.</li>
<li><a href="../www/openmp.html">Parallel execution</a>: ImageMagick is threaded to take advantage of speed-ups offered by the multicore processor chips.</li>
- <li><a href="security-policy.html">Security policy</a>: best practices strongly encourages you to configure a security policy that suits your local environment.</li>
+ <li><a href="security-policy.html">Security policy</a>: best practices strongly encourage you to configure a security policy that suits your local environment.</li>
<li><a href="../www/architecture.html">Architecture</a>: get to know more about the software and algorithms behind ImageMagick.</li>
<li><a href="../www/license.html">License</a>: the legally binding and authoritative terms and conditions for use, reproduction, and distribution of ImageMagick.</li>
<li><a href="../www/export.html">Export classification</a>: export control status of ImageMagick.</li>
@@ -119,9 +119,9 @@
<dl class="magick-list-unstyled">
<li><a href="download.html">Download ImageMagick</a>: ImageMagick source and binary distributions are available from a variety of FTP and Web mirrors.</li>
<li> <dl class="magick-list-unstyled">
- <li><a href="../download">Unix source</a>: Unix source distributions.</li>
+ <li><a href="../download">Linux source</a>: Linux source distributions.</li>
<li><a href="https://download.imagemagick.org/ImageMagick/download/windows">Windows source</a>: Windows source distributions.</li>
- <li><a href="https://download.imagemagick.org/ImageMagick/download/binaries">Unix and Windows binaries</a>: Unix and Windows binary distributions.</li>
+ <li><a href="https://download.imagemagick.org/ImageMagick/download/binaries">Linux and Windows binaries</a>: Linux and Windows binary distributions.</li>
<li><a href="https://github.com/ImageMagick">Git repository</a>: stable and development source releases.</li>
<li><a href="https://download.imagemagick.org/ImageMagick/download/delegates">Delegate libraries</a>: ImageMagick depends on a number of optional delegate libraries to extend its functionality.</li>
</dl> </li>
@@ -129,17 +129,18 @@
<h2><a class="anchor" id="install"></a>Install ImageMagick</h2>
- <p>You can install ImageMagick from source. However, if you don't have a proper development environment or if you're anxious to get started, download a ready-to-run Unix or Windows executable.</p>
+ <p>You can install ImageMagick from source. However, if you don't have a proper development environment or if you're anxious to get started, download a ready-to-run Linux or Windows executable.</p>
<dl class="magick-list-unstyled">
<li><a href="../www/install-source.html">Install from source</a>: ImageMagick builds under Windows, Mac OS X, and Linux.</li>
- <li><a href="download.html">Install from a binary distribution</a>: install a ready-to-run Unix or Windows executable.</li>
+ <li><a href="download.html">Install from a binary distribution</a>: install a ready-to-run Linux or Windows executable.</li>
<li><a href="../www/ImageMagickObject.html">Install ImageMagickObject COM+ component</a>: install the Windows ImageMagick COM+ component.</li>
</dl>
<h2><a class="anchor" id="command-line"></a>Command-line Tools</h2>
<dl class="magick-list-unstyled">
- <li><a href="command-line-tools.html">Command-line tools</a>: overview of the ImageMagick commands.</li>
- <li> <dl class="magick-list-unstyled">
+ <li><a href="command-line-tools.html">Command-line tools</a>: overview of the ImageMagick commands.
+ <ul class="magick-list-unstyled">
+ <li><a href="magick.html">magick</a>: convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and more.</li>
<li><a href="../www/animate.html">animate</a>: animates an image sequence on any X server.</li>
<li><a href="../www/compare.html">compare</a>: mathematically and visually annotate the difference between an image and its reconstruction.</li>
<li><a href="../www/composite.html">composite</a>: overlaps one image over another.</li>
@@ -148,11 +149,10 @@
<li><a href="display.html">display</a>: displays an image or image sequence on any X server.</li>
<li><a href="../www/identify.html">identify</a>: describes the format and characteristics of one or more image files.</li>
<li><a href="import.html">import</a>: saves any visible window on an X server and outputs it as an image file.</li>
- <li><a href="magick.html">magick</a>: convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and more.</li>
<li><a href="mogrify.html">mogrify</a>: resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and more.</li>
<li><a href="montage.html">montage</a>: create a composite image by combining several separate images.</li>
<li><a href="../www/stream.html">stream</a>: a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats.</li>
- </dl></li>
+ </ul></li>
<li><a href="command-line-processing.html">Command line processing</a>: the anatomy of the command line.</li>
<li><a href="command-line-options.html">Command line options</a>: annotated list of all options that can appear on the command-line.</li>
<li><a href="../www/fx.html">Fx</a>: apply a mathematical expression to an image or image channels.</li>
@@ -162,8 +162,8 @@
<h2><a class="anchor" id="program-interfaces"></a>Program Interfaces</h2>
<dl class="magick-list-unstyled">
- <li><a href="develop.html">Program interfaces</a>: application programming interfaces.</li>
- <li> <dl class="magick-list-unstyled">
+ <li><a href="develop.html">Program interfaces</a>: application programming interfaces.
+ <ul class="magick-list-unstyled">
<li><a href="http://common-lisp.net/project/cl-magick/">CL-Magick</a>: provides a Common Lisp interface to the ImageMagick library.</li>
<li><a href="https://github.com/dlemstra/Magick.NET">Magick.NET</a>: Use Magick.NET to convert, compose, and edit images from Windows .NET.</li>
<li><a href="../Magick++">Magick++</a>: provides an object-oriented C++ interface to ImageMagick.</li>
@@ -177,7 +177,7 @@
<li><a href="https://download.imagemagick.org/ImageMagick/download/python/">PythonMagick</a>: an object-oriented Python interface to ImageMagick.</li>
<li><a href="http://rmagick.rubyforge.org/">RMagick</a>: is an interface between the Ruby programming language and ImageMagick.</li>
<li><a href="http://tclmagick.sourceforge.net/">TclMagick</a>: a native Tcl-extension to the ImageMagick MagickWand API.</li>
- </dl></li>
+ </ul></li>
</dl>
<h2><a class="anchor" id="format"></a>Image Formats</h2>
@@ -207,7 +207,7 @@
<h2><a class="anchor" id="miscellaneous"></a>Miscellaneous Topics</h2>
-<div class="pre-scrollable highlight table-responsive" style="font-size:87.5% !important;">
+<div class="pre-scrollable bg-light text-dark table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<tr>
<td><a href="https://legacy.imagemagick.org/Usage/anim_basics/">Animation</a></td>
@@ -388,4 +388,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 14:08 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/stream.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Command-line Tools: Stream</title>
+ <title>ImageMagick – Command-line Tools: Stream</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="command-line, tools:, stream, image processing software" />
@@ -94,32 +94,32 @@
<h1 class="text-center">Streaming Interface</h1>
<p class="text-center"><a href="stream.html#usage">Example Usage</a> • <a href="stream.html#options">Option Summary</a></p>
-<p class="lead magick-description"><code>Stream</code> is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making <code>stream</code> desirable when working with large images or when you require raw pixel components.</p>
+<p class="lead magick-description"><samp>Stream</samp> is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making <samp>stream</samp> desirable when working with large images or when you require raw pixel components.</p>
<h2><a class="anchor" id="usage"></a>Example Usage</h2>
-<p>We list a few examples of the <code>stream</code> command here to illustrate its usefulness and ease of use. To get started, lets stream the red, green, blue components of a 640x480 JPEG image to disk as unsigned characters:</p>
+<p>We list a few examples of the <samp>stream</samp> command here to illustrate its usefulness and ease of use. To get started, lets stream the red, green, blue components of a 640x480 JPEG image to disk as unsigned characters:</p>
-<ul><pre class="highlight"><code>magick stream -map rgb -storage-type char image.jpg pixels.dat
+<ul><pre class="bg-light text-dark"><samp>magick stream -map rgb -storage-type char image.jpg pixels.dat
magick display -depth 8 -size 640x480 rgb:pixels.dat
-</code></pre></ul>
+</samp></pre></ul>
<p>Here we extract a 100x100 region from a TIFF image in the grayscale format as doubles:</p>
-<ul><pre class="highlight"><code>magick stream -map i -storage-type double -extract 100x100+30+40 image.tif gray.raw
-</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>magick stream -map i -storage-type double -extract 100x100+30+40 image.tif gray.raw
+</samp></pre></ul>
<p>You can also associate the region to extract with the image filename:</p>
-<ul><pre class="highlight"><code>magick stream -map i -storage-type double 'image.tif[100x100+30+40]' gray.raw
-</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>magick stream -map i -storage-type double 'image.tif[100x100+30+40]' gray.raw
+</samp></pre></ul>
<p>Streaming requires that the image coder read the image pixels in row order. Not all formats adhere to this requirement. Verify a particular image format first, before you utilize streaming in your workflow.</p>
<h2><a class="anchor" id="options"></a>Option Summary</h2>
-<p>The <code>stream</code> command recognizes these options. Click on an option to get more details about how that option works.</p>
+<p>The <samp>stream</samp> command recognizes these options. Click on an option to get more details about how that option works.</p>
<table class="table table-sm table-hover">
<thead>
@@ -316,4 +316,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:41 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/support.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - Support ImageMagick Development</title>
+ <title>ImageMagick – Support ImageMagick Development</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="support, imagemagick, development, image processing software" />
@@ -126,7 +126,7 @@
<li>Send us a licensed copy of Adobe Photoshop.</li>
<li>Lend us developers to add support for additional image formats or to finish integrating support for the SVG specification.</li>
<li>Extend our FFT algorithm to support non-square images.</li>
-<li>Port our Unix build environment from Autoconf / Automake to CMake.</li>
+<li>Port our Linux build environment from Autoconf / Automake to CMake.</li>
<li>Provide technical writers to assist with the development of commercial-grade technical documentation.</li>
<li>Donate a quality SWOP or Eurostandard ICC profile to use as a default CMYK to RGB conversion profile.</li>
<li>Donate a workstation with a modern processor and plenty of memory and disk. We would use it for our primary development environment.</li>
@@ -136,19 +136,19 @@
<p>Donations can be anonymous, or public.</p>
<fieldset>
<legend>Sponsor the ImageMagick Project</legend>
-<h3>Github</a></h3>
+<h2>Github</a></h2>
<p>ImageMagick Studio LLC is the organization that designs, maintains, and enhances the ImageMagick software suite. In the past, we paid for the privilege of producing free software out of our own pockets. Now, to help defray costs associated with network bandwidth, development software, computer hardware, taxes, legal, and other expenses, we accept donations from individuals or companies like yourself.</p>
<ul>
<iframe src="https://github.com/sponsors/ImageMagick/button" title="Sponsor ImageMagick" height="35" width="107" style="border: 0;"></iframe>
</ul>
-<h3><a href="https://www.paypal.com/biz/fund?id=9XPKRUWDXRR8J">Paypal</a></h3>
+<h2><a href="https://www.paypal.com/biz/fund?id=9XPKRUWDXRR8J">Paypal</a></h2>
<p>For direct monetary contributions, click on the donate button to contribute thru Paypal or with a credit card:</p>
<ul>
<a href="https://www.paypal.com/biz/fund?id=9XPKRUWDXRR8J"><img "image" src="../images/donate.png" border="0" name="submit" alt="Sponsor ImageMagick" width="92" height="26"</img /></a>
</ul>
-<h3>Bitcoin</h3>
+<h2>Bitcoin</h2>
<p>Our Bitcoin Address is: <a href="bitcoin:bc1qd7lckxu36ceupgt4wpnvnug3dr8jcnpqxsla2k?label=ImageMagick%20Donation">bc1qd7lckxu36ceupgt4wpnvnug3dr8jcnpqxsla2k</a>. Or you can reference the below QR code:</p>
<ul>
<dt class="col-md-4"><img src="../images/bitcoin.svg" alt="Click to Donate to ImageMagick via Bitcoin" title="Click to Donate to ImageMagick via Bitcoin" width="160" height="160" /></dt>
@@ -188,4 +188,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 11:37 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:05 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick-7.1.0.19+obs1.1.tar.xz/upstream/www/webp.html
^
|
@@ -7,9 +7,9 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>ImageMagick - WebP Encoding Options</title>
+ <title>ImageMagick – WebP Encoding Options</title>
<meta name="application-name" content="ImageMagick" />
- <meta name="description" content="Use ImageMagick® to create, edit, compose, and convert digital images. Resize an image, crop it, change its shades and colors, add captions, and more." />
+ <meta name="description" content="" />
<meta name="application-url" content="https://imagemagick.org" />
<meta name="generator" content="PHP" />
<meta name="keywords" content="webp, encoding, options, image processing software" />
@@ -100,11 +100,11 @@
<p>Use this command:</p>
-<ul><pre class="highlight"><code>magick wizard.png -quality 50 -define webp:lossless=true wizard.webp</code></pre></ul>
+<ul><pre class="bg-light text-dark"><samp>magick wizard.png -quality 50 -define webp:lossless=true wizard.webp</samp></pre></ul>
<p>Here is a complete list of WebP encoding options:</p>
-<div class="table-responsive" style="font-size:87.5% !important;">
+<div class="table-responsive" style="font-size:smaller !important;">
<table class="table table-sm table-hover">
<thead>
<tr>
@@ -126,6 +126,10 @@
<td>the compression value for alpha compression between 0 and 100. Lossless compression of alpha is achieved using a value of 100, while the lower values result in a lossy compression. The default is 100.</td>
</tr>
<tr>
+ <td>exact=<var>true, false</var></td>
+ <td>preserve RGB values in transparent area. It's disabled by default to help compressibility.</td>
+ </tr>
+ <tr>
<td>auto-filter=<var>true, false</var></td>
<td>when enabled, the algorithm spends additional time optimizing the filtering strength to reach a well-balanced quality.</td>
</tr>
@@ -162,6 +166,10 @@
<td>the compression method to use. It controls the trade off between encoding speed and the compressed file size and quality. Possible values range from 0 to 6. Default value is 4. When higher values are utilized, the encoder spends more time inspecting additional encoding possibilities and decide on the quality gain. Lower value might result in faster processing time at the expense of larger file size and lower compression quality.</td>
</tr>
<tr>
+ <td>near-lossless=<var>value</var></td>
+ <td>the near lossless encoding, between 0 (max-loss) and 100 (off).</td>
+ </tr>
+ <tr>
<td>preprocessing=<var>value</var></td>
<td>Choose from: 0=none, 1=segment-smooth, 2=pseudo-random dithering.</td>
</tr>
@@ -234,4 +242,4 @@
<script src="assets/magick.js" ></script>
</body>
</html>
-<!-- Magick Cache 13th February 2021 13:00 -->
\ No newline at end of file
+<!-- Magick Cache 30th October 2021 14:06 -->
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:ImageMagick.yaml
^
|
@@ -1,7 +1,7 @@
Name: ImageMagick
### DO NOT FORGET TO BUMP mfr_revision below !!!
### Also, the builds script needs this to not be a macro
-Version: 7.1.0.13
+Version: 7.1.0.19
Release: 1.1
Summary: Viewer and Converter for Images
Group: Applications/Multimedia
@@ -12,7 +12,7 @@
- "%{name}-%{version}.tar.xz"
Macros:
#- 'debug_build;0'
- - 'mfr_revision;13'
+ - 'mfr_revision;19'
- 'maj;7'
- 'mfr_version;%{maj}.1.0'
- 'quantum_depth;16'
@@ -50,6 +50,16 @@
images, adjust image colors, apply various special effects, or draw text,
lines, polygons, ellipses and Bézier curves.
+ %if "%{?vendor}" == "chum"
+ PackageName: ImageMagick
+ DeveloperName: nephros
+ Type: console-application
+ Categories:
+ - Graphics
+ - Libraries
+ Icon: https://gitlab.com/nephros/harbour-imagemagick/-/blob/obs/files/icon-imagemagick_sfos_256.png
+ %endif
+
ConfigOptions:
- --quiet
- --enable-silent-rules
|