Home > Enterprise >  How to make a png/jpg image using HTML ^ JS
How to make a png/jpg image using HTML ^ JS

Time:10-01

I want to make a image using js with text and a photo like this Image . This is my code

//I have no idea how make this
<input type="text" id="name" placeholder="Enter Your Name">
<br>
<br>
</input><button id="btn">Click Me To Create The Image</button>
I'm beginner so please help me...
Thanks.

CodePudding user response:

My first idea would be to compose the image you want with a html canvas and then create a png from that.

You will have to do some reading on that. For example:

  • Related