+2017-08-12 7.0.6-7 Cristy <quetzlzacatenango@image...>
+ * Improve EPS aliasing (reference
+ https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=32497).
+
2017-08-11 7.0.6-7 Dirk Lemstra <dirk@lem.....org>
* Added a new option called 'dds:fast-mipmaps' (reference
https://github.com/ImageMagick/ImageMagick/issues/558)
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
/*
Clone persistent pixel cache.
*/
- clone_info=ClonePixelCache(cache_info);
+ clone_info=(CacheInfo *) ClonePixelCache(cache_info);
clone_info->type=DiskCache;
(void) CopyMagickString(clone_info->cache_filename,filename,MagickPathExtent);
clone_info->file=(-1);
clone_info->offset=(*offset);
status=ClonePixelCacheRepository(clone_info,cache_info,exception);
*offset+=cache_info->length+page_size-(cache_info->length % page_size);
- clone_info=DestroyPixelCache(clone_info);
+ clone_info=(CacheInfo *) DestroyPixelCache(clone_info);
return(status);
}
\f
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(separate_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
SetPixelViaPixelInfo(highlight_image,&masklight,r);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
q+=GetPixelChannels(reconstruct_image);
register ssize_t
i;
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
p+=GetPixelChannels(image);
register ssize_t
i;
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
p+=GetPixelChannels(image);
register ssize_t
i;
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
p+=GetPixelChannels(image);
register ssize_t
i;
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
p+=GetPixelChannels(image);
}
for (x=0; x < (ssize_t) columns; x++)
{
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
p+=GetPixelChannels(image);
Da,
Sa;
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
p+=GetPixelChannels(image);
register ssize_t
i;
- if ((GetPixelReadMask(image,p) == 0) ||
+ if ((GetPixelReadMask(image,p) <= (QuantumRange/2)) ||
(GetPixelReadMask(reconstruct_image,q) == 0))
{
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
q+=GetPixelChannels(reconstruct_image);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
q+=GetPixelChannels(reconstruct_image);
}
if (metric == PerceptualHashErrorMetric)
similarity=MagickMin(0.01*similarity,1.0);
- if (GetPixelWriteMask(similarity_image,q) == 0)
+ if (GetPixelWriteMask(similarity_image,q) <= (QuantumRange/2))
{
SetPixelBackgoundColor(similarity_image,q);
q+=GetPixelChannels(similarity_image);
*/
(void) GetOneVirtualPixel(source_image,x-x_offset,y-y_offset,source,
exception);
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
Sa=QuantumScale*GetPixelAlpha(source_image,p);
Da=QuantumScale*GetPixelAlpha(image,q);
alpha=Sa+Da-Sa*Da;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
p+=GetPixelChannels(source_image);
q+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelReadMask(source_image,p) == 0)
+ if (GetPixelReadMask(source_image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(source_image);
q+=GetPixelChannels(image);
}
for (x=0; x < (ssize_t) source_image->columns; x++)
{
- if (GetPixelReadMask(source_image,p) == 0)
+ if (GetPixelReadMask(source_image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(source_image);
q+=GetPixelChannels(image);
*/
(void) GetOneVirtualPixel(source_image,x-x_offset,y-y_offset,source,
exception);
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
break;
}
}
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
p+=GetPixelChannels(source_image);
q+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
p+=GetPixelChannels(texture_image);
q+=GetPixelChannels(image);
}
for (x=0; x < y; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
}
for ( ; x < (ssize_t) (image->columns-y); x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
}
for ( ; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) raise_info->width; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
q+=GetPixelChannels(image);
for ( ; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) (image->rows-y); x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
}
for ( ; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
(blur_traits == UndefinedPixelTrait))
continue;
if (((blur_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(blur_image,channel,p[i],q);
continue;
(blur_traits == UndefinedPixelTrait))
continue;
if (((blur_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(blur_image,channel,p[i],q);
continue;
(unsharp_traits == UndefinedPixelTrait))
continue;
if (((unsharp_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(unsharp_image,channel,p[i],q);
continue;
PixelTrait
traits;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register const Quantum
*magick_restrict r;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(enhance_image,q);
p+=GetPixelChannels(image);
register ssize_t
j;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
red,
intensity;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
green,
red;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
j;
- if ((GetPixelWriteMask(image,q) == 0) ||
+ if ((GetPixelWriteMask(image,q) <= (QuantumRange/2)) ||
IsPixelGray(image,q) != MagickFalse)
{
q+=GetPixelChannels(image);
register ssize_t
j;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
(noise_traits == UndefinedPixelTrait))
continue;
if (((noise_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(noise_image,channel,p[i],q);
continue;
(fx_traits == UndefinedPixelTrait))
continue;
if (((fx_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(fx_image,channel,p[i],q);
continue;
/*
Determine if the pixel is within an ellipse.
*/
- if (GetPixelWriteMask(canvas,p) == 0)
+ if (GetPixelWriteMask(canvas,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(implode_image,q);
p+=GetPixelChannels(canvas);
register ssize_t
i;
- if (GetPixelWriteMask(random_image,q) == 0)
+ if (GetPixelWriteMask(random_image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(random_image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
/*
Determine if the pixel is within an ellipse.
*/
- if (GetPixelWriteMask(canvas,p) == 0)
+ if (GetPixelWriteMask(canvas,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(swirl_image,q);
p+=GetPixelChannels(canvas);
(tint_traits == UndefinedPixelTrait))
continue;
if (((tint_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(tint_image,channel,p[i],q);
continue;
break;
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelReadMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
GetPixelInfo(next,&pixel);
for (x=0; x < (ssize_t) next->columns; x++)
{
- if (GetPixelWriteMask(next,p) == 0)
+ if (GetPixelWriteMask(next,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(append_image,q);
p+=GetPixelChannels(next);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,q) != 0)
+ if (GetPixelWriteMask(image,q) > (QuantumRange/2))
SetPixelAlpha(image,alpha,q);
q+=GetPixelChannels(image);
}
pixel=zero;
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
pixel=zero;
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
GetPixelInfo(image,&pixel);
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(resize_image,q) == 0)
+ if (GetPixelWriteMask(resize_image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(resize_image);
continue;
(resize_traits == UndefinedPixelTrait))
continue;
if (((resize_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(resize_image,q) == 0))
+ (GetPixelWriteMask(resize_image,q) <= (QuantumRange/2)))
{
j=(ssize_t) (MagickMin(MagickMax(bisect,(double) start),(double)
stop-1.0)+0.5);
(resize_traits == UndefinedPixelTrait))
continue;
if (((resize_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(resize_image,q) == 0))
+ (GetPixelWriteMask(resize_image,q) <= (QuantumRange/2)))
{
j=(ssize_t) (MagickMin(MagickMax(bisect,(double) start),(double)
stop-1.0)+0.5);
register ssize_t
i;
- if (GetPixelWriteMask(sample_image,q) == 0)
+ if (GetPixelWriteMask(sample_image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(sample_image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
}
for (x=0; x < (ssize_t) image->columns; x++)
{
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
*/
for (x=0; x < (ssize_t) scale_image->columns; x++)
{
- if (GetPixelWriteMask(scale_image,q) == 0)
+ if (GetPixelWriteMask(scale_image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(scale_image);
continue;
*/
for (x=0; x < (ssize_t) scale_image->columns; x++)
{
- if (GetPixelWriteMask(scale_image,q) == 0)
+ if (GetPixelWriteMask(scale_image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(scale_image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,tile_pixels) == 0)
+ if (GetPixelWriteMask(image,tile_pixels) <= (QuantumRange/2))
{
tile_pixels-=width*GetPixelChannels(image);
q+=GetPixelChannels(rotate_image);
i;
q-=GetPixelChannels(rotate_image);
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,tile_pixels) == 0)
+ if (GetPixelWriteMask(image,tile_pixels) <= (QuantumRange/2))
{
tile_pixels+=width*GetPixelChannels(image);
q+=GetPixelChannels(rotate_image);
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelReadMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(next,p) == 0)
+ if (GetPixelWriteMask(next,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(next);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
if (traits == UndefinedPixelTrait)
continue;
if (((traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,q) == 0))
+ (GetPixelWriteMask(image,q) <= (QuantumRange/2)))
continue;
if ((traits & UpdatePixelTrait) == 0)
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(next,p) == 0)
+ if (GetPixelWriteMask(next,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(next);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
(statistic_traits == UndefinedPixelTrait))
continue;
if (((statistic_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(statistic_image,channel,p[center+i],q);
continue;
(threshold_traits == UndefinedPixelTrait))
continue;
if (((threshold_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(threshold_image,channel,p[center+i],q);
continue;
(threshold_traits == UndefinedPixelTrait))
continue;
if (((threshold_traits & CopyPixelTrait) != 0) ||
- (GetPixelWriteMask(image,p) == 0))
+ (GetPixelWriteMask(image,p) <= (QuantumRange/2)))
{
SetPixelChannel(threshold_image,channel,p[center+i],q);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
n;
n=0;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
q+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(crop_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(excerpt_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(flip_image,q);
p+=GetPixelChannels(image);
i;
q-=GetPixelChannels(flop_image);
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelWriteMask(source,p) == 0)
+ if (GetPixelWriteMask(source,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(destination,q);
p+=GetPixelChannels(source);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
SetPixelBackgoundColor(splice_image,q);
p+=GetPixelChannels(image);
register ssize_t
i;
- if (GetPixelWriteMask(image,q) == 0)
+ if (GetPixelWriteMask(image,q) <= (QuantumRange/2))
{
SetPixelBackgoundColor(transpose_image,q);
p+=GetPixelChannels(image);
i;
q-=GetPixelChannels(transverse_image);
- if (GetPixelWriteMask(image,p) == 0)
+ if (GetPixelWriteMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
register ssize_t
i;
- if (GetPixelReadMask(image,p) == 0)
+ if (GetPixelReadMask(image,p) <= (QuantumRange/2))
{
p+=GetPixelChannels(image);
continue;
datum=GetStringInfoDatum(profile);
for (i=0; (c=ProfileInteger(image,hex_digits)) != EOF; i++)
{
- if (i >= GetStringInfoLength(profile))
+ if (i >= (ssize_t) GetStringInfoLength(profile))
{
SetStringInfoLength(profile,(size_t) i << 1);
datum=GetStringInfoDatum(profile);
ddata->draw_info=(DrawInfo *)NULL;
}
if (WMF_MAGICK_GetFontData(API)->ps_name)
- WMF_MAGICK_GetFontData(API)->ps_name=RelinquishMagickMemory(
+ WMF_MAGICK_GetFontData(API)->ps_name=(char *) RelinquishMagickMemory(
WMF_MAGICK_GetFontData(API)->ps_name);
}