overlay image

Asked by Jay Mariant

Hi,

I want to overlay a logo on top of the images. I am not very familiar with ImageMagick but it seems like it should be possible if I just new the proper syntax.

I created the logo in the position I want at my screen resolution for easy overlay. It is stored at

~/.config/variety/logo

Can someone be so kind as to tell me what the custom filter would have to be for this to work?

Thanks in advance,
Jay

Question information

Language:
English Edit question
Status:
Solved
For:
Variety Edit question
Assignee:
No assignee Edit question
Solved by:
Peter Levi
Solved:
Last query:
Last reply:
Revision history for this message
Jay Mariant (m-jay-r) said :
#1

P.S. Image is transparent background.

Revision history for this message
Peter Levi (peterlevi) said :
#2

You'll have to do some reading yourself to get exactly what you want.

You can use a watermark: http://www.imagemagick.org/Usage/annotating/#wmark_image or the compose operator of ImageMagick: http://www.imagemagick.org/Usage/compose/, check the examples posted there and you'll know what to do. You need a small logo image and you'll use ImageMagick's geometry operators to position it correctly over the bigger wallpaper image.

First copy a wallpaper image and the logo in a temp folder somewhere and get the full command right on the command-line till you are happy with the result. Then add a custom filter in variety.conf or directly edit ~/.config/variety/scripts/set_wallpaper.

Revision history for this message
Best Peter Levi (peterlevi) said :
#3

And keep in mind that wallpaper images have different sizes and are scaled differently to fit on the screen, so drawing on the wallpaper image usually means the logo will not always appear at exactly the same place and size. If this is important, you might be better off using conky for drawing the logo.

Revision history for this message
Jay Mariant (m-jay-r) said :
#4

Thanks Peter Levi, that solved my question.

Revision history for this message
Jay Mariant (m-jay-r) said :
#5

Conky did the trick. Thanks a lot!