Resize with transparency

Archived from the Transloadit support forum. Originally posted on February 3, 2012; details may be outdated, see our docs for current behavior. Original thread

I have a form that uses transloadit that has been working fine, but now when you resize a png it strips the transparency and makes it white. Any ideas?

{resize_strategy

Hey adamgamble,

can you please tell me the assembly id where this happened?

Kind regards
Tim

REDACTED

REDACTED

Actually this is the assembly id. My bad.

Here is what the image looks like when its done.

Hey adam,

can you please try passing a background parameter with the value “rgab(255,0,255,0)”?

It turned the background black.

How about background “none” ?

I tried to debug this now in real, sorry for not doing it earlier. “background”: “none” worked fine for me.

Can you please try?

Yep that fixed it. Thanks so much.

Great!