ZPL to Image or PDF

In my application, I need to generate images files or pdf files from ZPL code.  Does Zebra offer any type of API for this?