*/
q->opacity=ScaleCharToQuantum((unsigned char) (255-(*p++)));
if (q->opacity != OpaqueOpacity)
- found_transparent_pixel = MagickTrue;
+ found_transparent_pixel = MagickTrue;
q++;
}
quantum|=(*p++);
q->opacity=(Quantum) (QuantumRange-quantum);
if (q->opacity != OpaqueOpacity)
- found_transparent_pixel = MagickTrue;
+ found_transparent_pixel = MagickTrue;
q++;
}
#else
q->opacity*=65537L;
q->opacity=(Quantum) GetAlphaPixelComponent(q);
if (q->opacity != OpaqueOpacity)
- found_transparent_pixel = MagickTrue;
+ found_transparent_pixel = MagickTrue;
p+=2;
q++;
}
{
q->opacity=(Quantum) (QuantumRange-(*p++));
if (q->opacity != OpaqueOpacity)
- found_transparent_pixel = MagickTrue;
+ found_transparent_pixel = MagickTrue;
p++;
q++;
}
if (colortype != 0 && mng_info->write_png_colortype != (ssize_t) colortype)
ping_need_colortype_warning=MagickTrue;
-
+
}
image_depth=image->depth;
image_matte=MagickFalse;
}
- else
+ else
{
ping_color_type=(png_byte) PNG_COLOR_TYPE_GRAY_ALPHA;
image_matte=MagickTrue;
image_matte=MagickFalse;
}
- else
+ else
{
ping_color_type=(png_byte) PNG_COLOR_TYPE_RGBA;
image_matte=MagickTrue;
(png_uint_32) GetStringInfoLength(profile));
}
}
-
+
if (logging != MagickFalse)
(void) LogMagickEvent(CoderEvent,GetMagickModule(),
" Setting up text chunk with %s profile",name);