a great new is juno 0.35+ includ juno.media, maybe use juno.media to handle image rather than use imagemagick, would you please show me a simple example to draw text to a jpg or gif image by juno.media ?

Last edited by yidabu on Thu Aug 02, 2007 5:48 pm; edited 1 time in total

would you please show me a simple example to draw text to a jpg or gif image by juno.media?

It wraps GDI+ and is very similar to .NET's System.Drawing namespace, and to a lesser extent the C++ GDI+ classes. You should be able to use any of the C# examples on the web and make them work with juno.media. Here's a quick one:

By the way, this has uncovered a bug in Tlbimpd. It seems that SAFEARRAYs are always pointers. When Tlbimpd generates type names, it should be adding "*" to SAFEARRAYs.

I've fixed this for the next release - but in the meantime you should change all occurrences of "SAFEARRAY" to "SAFEARRAY*" in Tlbimpd-generated modules. (Don't remove "ref" and "out" attributes though.)