How is it possible to generate an image all in the controller and return it as an image file? For example if link is:
www.test.com/generate?width=100&height=50&color=red
This shall generate 100x50 red image and return it, and if I set this link as a source of Image View on front, it shall draw that image. It shall work as a service which does not have any connection to UI either HTML or other platforms like iOS UIImageView and Android ImageView.