|
From: Tommi M. <to...@tn...> - 2016-02-21 12:08:48
|
Hi,
I don't quite know, what you want to do with the jpeg data but you can
get it using scall in ecpp like that:
<%cpp>
std::string picture = scall("picture@myapp");
</%cpp>
Tommi
Am 20.02.2016 um 23:26 schrieb Raphael Fuchs:
> Hi tntnet,
>
> say I have stored an image test.jpg in the server like in the tutorial:
> |$ ecppc -b -m image/jpeg picture.jpg $ g++ -c -fPIC picture.cpp|
> Now I would like to access the binary data of the image to create
> another version on the fly.
>
> How would I go about to do this?
>
> Thank you
> Raphael
>
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>
>
> _______________________________________________
> Tntnet-general mailing list
> Tnt...@li...
> https://lists.sourceforge.net/lists/listinfo/tntnet-general
|