Create Image Dynamically / CSS to Canvas? : <p>I would like to create an image dynamically in Javascript that needs to fit two requirements.</p>

<ol>
<li>It needs a colored background (say #fff) and be of a specific size (say 800x300)</li>
<li>I need to be able to then place another image on it and position it (hopefully with CSS-esque type rules like width:150px; height:80px; left: 30px; top:30px; transform: rotate(7deg);" etc etc.</li>
</ol>

<p>Is there a library you're aware of that does that sort of function?</p>
