Skip to content
Permalink
Browse files

https://github.com//issues/126

  • Loading branch information...
Cristy
Cristy committed Feb 7, 2016
1 parent 5572ef6 commit 430403b0029b37decf216d57f810899cab2317dd
Showing with 4 additions and 2 deletions.
  1. +1 −1 MagickCore/quantum-import.c
  2. +3 −1 MagickCore/quantum.c
@@ -1421,7 +1421,7 @@ static void ImportCbYCrYQuantum(const Image *image,QuantumInfo *quantum_info,

n=0;
quantum=0;
for (x=0; x < (ssize_t) number_pixels; x+=2)
for (x=0; x < (ssize_t) number_pixels; x+=4)
{
for (i=0; i < 4; i++)
{
@@ -321,6 +321,9 @@ MagickExport size_t GetQuantumExtent(const Image *image,
case BGRAQuantum: packet_size=4; break;
case CMYKQuantum: packet_size=4; break;
case CMYKAQuantum: packet_size=5; break;
case CbYCrAQuantum: packet_size=4; break;
case CbYCrQuantum: packet_size=3; break;
case CbYCrYQuantum: packet_size=4; break;
default: break;
}
extent=MagickMax(image->columns,image->rows);
@@ -872,7 +875,6 @@ MagickExport void SetQuantumPack(QuantumInfo *quantum_info,
quantum_info->pack=pack;
}


/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %

0 comments on commit 430403b

Please sign in to comment.
You can’t perform that action at this time.