How do I wrap a bitmap like this?

I want to edit a bitmap to wrap around the cup to print. How can I wrap the image like this shape.