EyalAr / lwip

Light Weight Image Processor for NodeJS
MIT License
2.37k stars 230 forks source link

Converting transparent PNG to JPEG (as buffer) adds black background #233

Closed igorpavlov-zz closed 8 years ago

igorpavlov-zz commented 8 years ago

It is not possible to specify the background color, or it is not described in the manual.

EyalAr commented 8 years ago

Are you referring to PNGs with transparency?

EyalAr commented 8 years ago

If yes, you should paste your image on top of a colored canvas, and then write as JPEG.