I need to make a service that will generate images and give them on api. Images - certificates for various events. Those. they must have a text (such as the name of the winner) and a simple design. Ideally, if this could be described in HTML (as a view) and then converted somehow dynamically into an image of the desired size with the desired text. Advise that for this you can use? The language is not fundamental, but I think I can do it on Go because of speed. Although these pictures will not be generated very often, but I will request from different services.

PS Manually drawing through the library API (like this ) would not be very desirable.

  • @norbornen Is this just for pdf? And I need images (png or jpg). In addition, it is important to not just html naked to overtake, but so that the variables there can be substituted as in a real view. - PECHAIR
  • Soryan, remembered his problem and did not carefully read the question. I would make a service that generates ready-made html (somehow, what’s so complicated), I would get the generated html from the service and generate jpg from it with the help of thematic ones. - nörbörnën
  • according to the experience of certificates / tickets / certificates, it is just better to give in pdf-e - nörbörnën
  • @norbornen So what's thematic? That was actually the question. And certificates here are given everywhere by the picture. There is also the fact that these certificates are displayed on the site. Those. rendered as a picture (img tag). And if they are pdfkoy then it will not work. - PECHAPTER

0