Search found 4 matches

by djense2000
2011-09-07T17:14:05-07:00
Forum: MagickWand
Topic: Handling / creating a GIF animation with MagickWand
Replies: 1
Views: 13975

Re: Handling / creating a GIF animation with MagickWand

There was several problems....
1) create the image correctly :

MagickNewImage(reconstructed_images, width, height, bg_pxl_wnd);
MagickSetIteratorIndex(reconstructed_images, frame);
MagickSetImagePage(reconstructed_images, width, height, 0,0);

2) The call to PixelSyncIterator(iterator); should ...
by djense2000
2011-09-06T17:01:18-07:00
Forum: MagickWand
Topic: Handling / creating a GIF animation with MagickWand
Replies: 1
Views: 13975

Handling / creating a GIF animation with MagickWand

Well, actually it's not really like creating a GIF animation, but close...
I already have a GIF animation and most of the layers have transparency and so when displayed, each frame is composed with the previous layers, the first is a white background of the size of the overall image (I hope I am ...
by djense2000
2011-09-06T11:05:41-07:00
Forum: Users
Topic: MagickWand C API, error when calling DestroyPixelWands
Replies: 2
Views: 6418

Re: MagickWand C API, error when calling DestroyPixelWands

Got it.

Thanks a lot for the quick reply !!
by djense2000
2011-09-06T10:46:21-07:00
Forum: Users
Topic: MagickWand C API, error when calling DestroyPixelWands
Replies: 2
Views: 6418

MagickWand C API, error when calling DestroyPixelWands

I am starting to use ImageMagick and the MagickWand API in a simple C program.
Right now, as a test, I am just looking for black pixels in a frame.
Here is my code :


int find_black_pixel(MagickWand *wand) {
int res = 0;
PixelIterator * iterator = NewPixelIterator(wand);
size_t width ...