image->filename);
return(0);
}
+ node_info->list[i]=pixel;
node_info->list[i].red=GetPixelRed(image,p);
node_info->list[i].green=GetPixelGreen(image,p);
node_info->list[i].blue=GetPixelBlue(image,p);
p=node_info->list;
for (i=0; i < (ssize_t) node_info->number_unique; i++)
{
- (*histogram)->red=p->red;
- (*histogram)->green=p->green;
- (*histogram)->blue=p->blue;
- (*histogram)->black=p->black;
- (*histogram)->alpha=p->alpha;
- (*histogram)->count=p->count;
+ **histogram=(*p);
(*histogram)++;
p++;
}
image->filename);
break;
}
+ node_info->list[i]=pixel;
node_info->list[i].red=GetPixelRed(image,p);
node_info->list[i].green=GetPixelGreen(image,p);
node_info->list[i].blue=GetPixelBlue(image,p);