replacing the grads logo
Matthias Muennich
munnich at ATMOS.UCLA.EDU
Fri Aug 22 03:18:54 EDT 2008
Hi Bernd,
take a look at the -b and -t options to printim I implemented for
Garry. After converting
and maybe resizing your logo, you should be able to achieve what your
printimb does in one step.
See http://grads.iges.org/grads/gadoc/gradcomdprintim.html
- I don't think you can overwrite printim the way you like to without
recompiling GrADS.
- The GrADS/IGES logo is hard code. You need to recompile GrADS to
change it.
My 2cc.
... Matt
Bernd Becker wrote:
> Great Fil!
>
> I got as far is this :
>
> function printimb ( outdir, plotname )
>
> 'printim 'outdir plotname'.gif white'
> '!convert -page 15x15+5+10 'outdir plotname'.gif -page 20x20+570+450
> ~/logo50x50.gif -flatten 'outdir plotname'.gif'
>
> return
>
> and would now like to build something than grads picks up as if it were
> printim but executes the added line.
>
>
> Any ideas?
>
> Bernd.
>
>
> On Wed, 2008-08-20 at 15:38 +0100, Fil wrote:
>
>> Hi Bernd,
>>
>> You can use ImageMagick to dissolve an image on your plot, something
>> like this will do:
>>
>> $ composite -dissolve 100% -geometry +0+0 image_to_dissolve.png
>> your_plot.png result_image.png
>>
>> Option "-geometry +0+0" will put your image in the upper right corner.
>> Better check ImageMagick's documentation at
>> http://www.imagemagick.org/www/composite.html
>>
>> Cheers.
>>
>>
>> 2008/8/20 Bernd Becker <bernd.becker at metoffice.gov.uk>
>> Hello,
>>
>> how can I replace the grads logo with my own?
>>
>> rather than
>>
>> 'set grads off'
>>
>> I would like to use that feature to put something else on
>> every plot. Ideally, this should be a small imported image
>> rather than plain text.
>>
>>
>> How may that be achieved?
>>
>> Many thanks,
>> Bend.
>>
>> --
>> Bernd Becker The Monthly Outlook
>> Met Office FitzRoy Road Exeter Devon EX1 3PB United
>> Kingdom
>> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
>> E-mail:bernd.becker at metoffice.com - http://www.metoffice.com
>>
>>
>>
>> --
>> Fil - MeteoPT.com
>>
>>
> --
> Bernd Becker The Monthly Outlook
> Met Office FitzRoy Road Exeter Devon EX1 3PB United Kingdom
> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
> E-mail:bernd.becker at metoffice.com - http://www.metoffice.com
>
More information about the gradsusr
mailing list