[SOLVED] Classic ASP: Can IM load from a binary variable?
Posted: 2011-01-03T16:36:29-07:00
Hi,
I am successfully using IM with classic asp with outstanding results.
Now, I would like to pass an image to IM in the form of a variable/object instead of a file name.
For example, instead of this: convert rose.jpg rose.png
Can I do this somehow?
1. get a remote image via http [this is done by my script]
2. assign image binary to mybinaryvariable [this is done by my script]
3. convert mybinaryvariable rose.png [not sure how to do this!]
In general I would like to apply the convert command without having to write the image file to disk first.
Many thanks,
JBC
I am successfully using IM with classic asp with outstanding results.
Now, I would like to pass an image to IM in the form of a variable/object instead of a file name.
For example, instead of this: convert rose.jpg rose.png
Can I do this somehow?
1. get a remote image via http [this is done by my script]
2. assign image binary to mybinaryvariable [this is done by my script]
3. convert mybinaryvariable rose.png [not sure how to do this!]
In general I would like to apply the convert command without having to write the image file to disk first.
Many thanks,
JBC