2008/11/18 0xd34df00d <[EMAIL PROTECTED]>:
> Hi,
>
> I create images in my program at runtime, is there a way to show them
> to the end-user without saving them to disk and generating a link to
> them?

Maybe the vector graphics painting API is suitable, instead of
generating bitmap images?

> If there isn't such a way, the first solution that comes to mind
> is to keep them in memory if they are small or write them to a
> temporary storage if they have a big memory footprint and handle all
> requests to them inside of Wt.

That you can do with WMemoryResource or WFileResource, or indeed a
link to a temporary file. See also examples/style/CornerImage.C

Regards,
Wim.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to