Thanks, Christian,

After some minor adaptation to my need, your sample code works, but does 
not display the Watermark.
I expected to see the watermark itself, that is the MBS logo. I only got 
the watermarked picture.

My need is to be able to detect if a picture is watermarked, and what 
watermark it has in it, as a copyright control.

TIA for your help.

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

Reply via email to