How to download dynamically created image?

I need to call an aspx (asp.net) page to pass parameters and have the page create an image and return it. What is the best way to do this? I already know how to download a file that already exists on the server. But how do I do it dynamically?

Thanks!

Warren

Hey Warren.

There isn’t much of a difference between calling a dynamic and a static script. 

you just add the parameters at the end of the url - 

www.example.com/getImage?imgName=123sss

On the server side you would need to create the image dynamically according to the parameters supplied.

Hope it helps.

Shahar

Take a look at what I posted on the Code Exchange yesterday. Does more or less the same thing but using a php backend. It is a little rough but works nonetheless. Hope this helps. 

http://developer.coronalabs.com/code/runtime-bitmap-maskfile-creation

Hey Warren.

There isn’t much of a difference between calling a dynamic and a static script. 

you just add the parameters at the end of the url - 

www.example.com/getImage?imgName=123sss

On the server side you would need to create the image dynamically according to the parameters supplied.

Hope it helps.

Shahar

Take a look at what I posted on the Code Exchange yesterday. Does more or less the same thing but using a php backend. It is a little rough but works nonetheless. Hope this helps. 

http://developer.coronalabs.com/code/runtime-bitmap-maskfile-creation