You are here

Script to change background color

I have about 1400 images that are going on a ecommerce website. The images are of car parts (custom tail lights, etc) and all have white backgrounds on a single layer.

I need to change the backgrounds to match the website background color.

I can do it manually by fuzzy selecting the background and bucket-filling it with the new color.

Is this something that scriptable? For example 1,1 from the origin is always white. I can fuzzy select that...

I've never scripted for gimp before. No idea where to begin. Better yet, has anyone already done this? Can't find it on Google but someone must have wanted to do this before.



Subscribe to Comments for "Script to change background color"