Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • so this will allow be to dynamically generate an image as a background with text on top, pulled from a database? If so it sounds spiffy! Commented Dec 2, 2008 at 16:34
  • Yes. You can either create the entire coupon as an image in your renderer and return that. Or if you want to lay text on top of it, you'll have to do things a little bit trickier and create a div or a table with the renderer as the background for it. Commented Dec 2, 2008 at 16:47
  • The magic code depends on how you want to generate your bitmap image. You may have a third party library, you may simply load a file from the server, you may generate your own image dynamically using GDI+. It's up to you. As long as the "magic code" renders a bitmap for you. You'll be set. Commented Aug 30, 2010 at 15:47