If you need high-quality edges, just make an alpha-channel.