[Thread Prev][Thread Next][Index]

Re: [ferret_users] Insert / Paste a Logo on a Plot



Hello Ryo and Others,

Sorry, I'm just seeing this.

Thanks Ryo............, actually Ferret was able to do it. My method was similar to yours:

yes? frame/file=20210503.gif
yes? spawn bash AttachLogo.sh 20210503.gif

where AttachLogo.sh contains:

infil=${1}

composite -dissolve 100% -geometry +365+50 -resize 40% /home/lawal/Desktop/Forecasts/Testings/logo.gif ${infil} ${infil}

convert -trim -density 500 ${infil} ${infil}


Thanks once again!

------
Kamoru Abiodun LAWAL, PhD


On Saturday, 20 November 2021, 18:02:33 GMT+2, Ryo Furue <furue@xxxxxxxxxx> wrote:


Dear  Kamoru Abiodun LAWAL,
 
Please, how do I insert or paste a logo on a plot? 

I don't know whether Ferret can do it or not.

You can use the "convert" from the Imagemagick suite to superimpose a small image onto a larger one:


I would write a pyferret script like

. . . make a plot . . .
frame/file=image.png
SPAWN sleep 1
SPAWN convert image.png log.gif -gravity northeast -geometry -10-10 -composite output.png

That is, call the "convert" command from within the PyFerret script.

Hope this helps,

Ryo


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement