What's the syntax for "stegano:" used in:
call n.read("stegano:/tmp/test.png")
I coded this:
call n.read("stegano:"+SpecialFolder.Desktop.Child("test.png").NativePath)
but seems to return a nil picture.
Jean-Luc Arnaud
Le 18/03/2016 21:34, Christian Schmitz a écrit :
>> Am 18.03.2016 um 17:42 schrieb Jean-Luc Arnaud <[email protected]>:
>>
>> Hi Christian,
>>
>> After a lot of tries and having read the documentation, I don't achieve
>> to get a Watermark set with this code :
> I tried this:
>
>
> dim p as Picture = LogoMBS(100)
>
> dim c as new GMColorMBS("red")
> dim g as new GMGeometryMBS(500,500)
> dim image as new GMImageMBS(g, c)
> dim WatermarkImage as new GMImageMBS(p)
>
> image.stegano(WatermarkImage)
>
> dim pw1 as new PicWindow
> pw1.Title = "picture with stegano effect"
> pw1.Backdrop = image.CopyPicture
>
> dim b as new GMBlobMBS
> image.magick = "png"
> call image.write("/tmp/test.png")
>
> // now back
>
> c = new GMColorMBS("white")
> g = new GMGeometryMBS(100,100)
> dim n as new GMImageMBS(g, c)
>
> call n.read("stegano:/tmp/test.png")
>
> dim pw4 as new PicWindow
> pw4.Backdrop = n.CopyPicture
>
> but for me this seems to never finish :-(
>
> Sincerely
> Christian
>
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info