Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 626440
Collapse All | Expand All

(-)a/coders/png.c (-6 / +8 lines)
Lines 7125-7136 Link Here
7125
                          png_error(ping, "Could not allocate trans_alpha");
7125
                          png_error(ping, "Could not allocate trans_alpha");
7126
7126
7127
                        for (i=0; i<(int) number_colors; i++)
7127
                        for (i=0; i<(int) number_colors; i++)
7128
                          if (trans_alpha[i] == 256)
7128
                          {
7129
                             ping_trans_alpha[i]=255;
7129
                            if (trans_alpha[i] == 256)
7130
                          else
7130
                               ping_trans_alpha[i]=255;
7131
                             ping_trans_alpha[i]=(png_byte) trans_alpha[i];
7131
                            else
7132
                         (void) LogMagickEvent(CoderEvent, GetMagickModule(),
7132
                               ping_trans_alpha[i]=(png_byte) trans_alpha[i];
7133
                            "    Alpha[%d]=%d",(int) i, (int) trans_alpha[i]);
7133
                           (void) LogMagickEvent(CoderEvent, GetMagickModule(),
7134
                              "    Alpha[%d]=%d",(int) i, (int) trans_alpha[i]);
7135
                          }
7134
                      }
7136
                      }
7135
                  }
7137
                  }
7136
7138

Return to bug 626440