ProGamerGov / neural-style-pt

PyTorch implementation of neural style transfer algorithm
MIT License
838 stars 175 forks source link

Styling Transparent Backgrounds #60

Closed spot92 closed 4 years ago

spot92 commented 4 years ago

Is there a way to style an image that has a transparent background? I tried feeding it a .png and using a .png output, but the transparent part of the content got styled.

ProGamerGov commented 4 years ago

There's nothing currently in the code to handle transparency, so you'd have to manually crop the portion out of the image.