Hello, I have a product idea but no idea with which programming language I can implement it.

The software should arrange small graphics/ icons on a flat page according to certain rules (rotate, scale, skew, etc.) The selection, number and order of the icons to be used should be accepted via an API. The finished document should be returned as a PDF or JPG, for example, so that the customer can then print it out. In the end, this should be a SaaS solution.

Which programming language would you use to approach this topic?