image-encode icon indicating copy to clipboard operation
image-encode copied to clipboard

Image Buffer Arrays with transparencies become black when format is JPEG

Open stuible opened this issue 6 years ago • 1 comments

Really useful package, thank you for all the work you have put in. Is there any way to make the transparencies white ⚪️ instead of black ⚫️ when outputting a JPEG image?

stuible avatar Mar 28 '19 06:03 stuible

Thanks! Interesting question. Now it is handled by jpeg-js package, but technically it is possible to handle transparency as a separate step beforehead.

dy avatar Mar 28 '19 09:03 dy