I apologize for my pseudo code not being 100% accurate. I am in fact creating an MagickImageCollection and calling Merge on that guy, so we're good there. The second thing is that my code looks almost identical to yours in terms of writing the result of the Merge to the stream. Since the file size is being doubled, my guess is that the second write is successful but possibly on another layer perhaps, instead of overwriting the result of the first Write call.
↧