Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1724
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Oct 6, 2019
1 parent f35eca8 commit a47e7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MagickCore/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,14 +1284,14 @@ MagickExport MagickBooleanType SetImageAlphaChannel(Image *image,

if (status == MagickFalse)
continue;
ConformPixelInfo(image,&image->background_color,&background,exception);
q=GetCacheViewAuthenticPixels(image_view,0,y,image->columns,1,
exception);
if (q == (Quantum *) NULL)
{
status=MagickFalse;
continue;
}
ConformPixelInfo(image,&image->background_color,&background,exception);
background.alpha_trait=BlendPixelTrait;
for (x=0; x < (ssize_t) image->columns; x++)
{
Expand Down

0 comments on commit a47e7a9

Please sign in to comment.