Search found 4 matches

by rodcibils
2016-05-30T18:01:37-07:00
Forum: MagickWand
Topic: Spritesheet loses transparent background
Replies: 6
Views: 20336

Re: Spritesheet loses transparent background

background is still white, even though, i changed to pink. I think the problem is in MagickReadImage. when it reads the image, change from transparent to white
by rodcibils
2016-05-27T11:17:53-07:00
Forum: MagickWand
Topic: Spritesheet loses transparent background
Replies: 6
Views: 20336

Re: Spritesheet loses transparent background

I tried your suggestion and im having the same result, a spritesheet with white background :( PixelWand *pxl = NewPixelWand(); PixelSetColor(pxl, "none"); MagickSetImageBackgroundColor(wand, pxl); wand = MagickMontageImage(wand, d_wand, "5x1+0+0", "64x64+0+0", ConcatenateMode, "0x0+0+0");
by rodcibils
2016-05-27T10:53:24-07:00
Forum: MagickWand
Topic: Spritesheet loses transparent background
Replies: 6
Views: 20336

Re: Spritesheet loses transparent background

Thanks for your answer! I already tried to set the background like this: PixelWand *pxl = NewPixelWand(); PixelSetColor(pxl, 'transparent') // i tried with 'none' also wand = MagickMontageImage(wand, d_wand, "5x1+0+0", "64x64+0+0", ConcatenateMode, "0x0+0+0"); MagickSetImageBackgroundColor(wand, pxl ...
by rodcibils
2016-05-27T08:24:23-07:00
Forum: MagickWand
Topic: Spritesheet loses transparent background
Replies: 6
Views: 20336

Spritesheet loses transparent background

Hello guys i'm new with MagickWand and i was trying to make a spritesheet using the command MagickMontageImage in C. I have 5 sprites in format .PNG that already has transparent background, but after the montage i obtain a spritesheet with a white background. Using bash i dont have this problem, but ...