Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

I have a number of images that have all the same background but each has different text overlaid (they are covers of a magazine journal).

I don't have access to the background image, but I know that I can create a composite of the covers and get the background that way.

I can do this manually with a photo-editing program by moving from layer to layer but I'm wondering if there's a tool or filter that automates this (ideally one I can use in Gimp, since I don't have Photoshop).

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

BgMask is a script that does what you want. It has automatic and manual background extraction mode. Load your images as layers and do Extract Background, and if that leaves artifacts, use manual background extraction tool. See also a video tutorial.

share|improve this answer
add comment

I don't know of any general way to do that, and indeed, in some cases an automatic solution might not even be possible without some way to distinguish the text from the background. (You could, for example, decide that the color a given pixel had in a majority of the images was the background, but that could fail for pixels that were actually covered by text in all but a few of the images.)

However, in some special cases there do exist simple solutions. For example, if the text was always darker than the background, then you could simply open all the images as layers, change their blending mode to "Lighten only" and merge them.

Of course, for light text on a dark background, the same trick could be used with the "Darken only" mode.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.