Search found 7 matches

by edsonlp1
2011-06-22T09:34:55-07:00
Forum: MagickWand
Topic: How many images can be loaded in a magickwand?
Replies: 2
Views: 13590

Re: How many images can be loaded in a magickwand?

Sorry. I'm a little noob with C and i can't find the way to set the area limit to 0. By the way, when i execute my program, is consuming a lot of memory . How can i free some memory? Thank you
by edsonlp1
2011-06-17T02:10:55-07:00
Forum: MagickWand
Topic: How many images can be loaded in a magickwand?
Replies: 2
Views: 13590

How many images can be loaded in a magickwand?

I want to know how many images can be loaded in a magickwand. I ask this because i need to load at least 600 images, and when i load more than 500 images i have memory error. How can i fix this?

Thank you.
by edsonlp1
2011-06-10T01:27:54-07:00
Forum: MagickWand
Topic: Problem with PixelSetColor
Replies: 6
Views: 23587

Re: Problem with PixelSetColor

Thank you very much Pete!!

Works perfect!!
by edsonlp1
2011-06-09T08:01:55-07:00
Forum: MagickWand
Topic: Problem with PixelSetColor
Replies: 6
Views: 23587

Re: Problem with PixelSetColor

Thanks Pete, but it doesn't work to me that procedure. The RGB values are not working fine. I'll put my code here for (int j=0; j<height; j++) { pixels1=PixelGetNextIteratorRow(iterator1,&numberwands); pixels2=PixelGetNextIteratorRow(iterator2,&numberwands); for( int k=0; k < width; k++) { P...
by edsonlp1
2011-06-08T09:24:46-07:00
Forum: MagickWand
Topic: Problem with PixelSetColor
Replies: 6
Views: 23587

Re: Problem with PixelSetColor

Thank you Pete.. I've done finally using this code. for (int i=0; i<5; i++) //NUMBER OF IMAGES { iterator1=NewPixelIterator(mw); iterator2 = NewPixelIterator (mw1); for (int j=0; j<height; j++) { pixels1=PixelGetNextIteratorRow(iterator1,&numberwands); pixels2=PixelGetNextIteratorRow(iterator2,&...
by edsonlp1
2011-06-08T01:23:41-07:00
Forum: MagickWand
Topic: Problem with PixelSetColor
Replies: 6
Views: 23587

Problem with PixelSetColor

Hi guys! I'm trying to make an average of set of images, making the average of the pixels, but it doesnt work to me. This is my code: for (int i=0; i<1; i++) { for (int j=0; j< width; j++) { //pixels=PixelGetNextIteratorRow(iterator,&numberwands); for( int k=0; k < height ; k++) { status= Magick...
by edsonlp1
2011-06-06T02:54:33-07:00
Forum: MagickWand
Topic: Problem with MagickAverageImages
Replies: 1
Views: 10235

Problem with MagickAverageImages

Hello! I'm trying to make an average of a set of images with the function MagickAverageImages, but i'm doing something wrong.. MagickWand *mw = NULL; MagickWand *imagen =NULL; MagickWand *combi =NULL; MagickBooleanType status; MagickWandGenesis(); mw = NewMagickWand(); imagen =NewMagickWand(); combi...