Resize with transparency

Started by Adam_Gamble10 replies23 views
Adam_GambleOriginal post
#1

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

tim-kos
#2

Hey adamgamble,

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

Kind regards
Tim

Adam_Gamble
#3

REDACTED

Adam_Gamble
#4

REDACTED

Actually this is the assembly id. My bad.

Adam_Gamble
#5

Here is what the image looks like when its done.

tim-kos
#6

Hey adam,

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

Adam_Gamble
#7

It turned the background black.

tim-kos
#8

How about background “none” ?

tim-kos
#9

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

Can you please try?

Adam_Gamble
#10

Yep that fixed it. Thanks so much.

tim-kos
#11

Great!