Author Topic: Removing Background from Image  (Read 7959 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Removing Background from Image
« on: April 11, 2011, 04:40:25 pm »
I have a request guys, attached is an image I'd like the white part to be removed so that it is nothing (transparent) and it has no background so it will go fine in any colour.

Thanks, if you could also tell me how to do that :D

I tried a rubber in Paint.NET but it's hard to control it, even with anti-aliasing enabled.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Removing Background from Image
« Reply #1 on: April 11, 2011, 04:46:39 pm »
There :)

I used the GIMP to do that.

1. Right click on the layer in the layers box and add an alpha channel
2. With Ctrl+magic wand, you select the white parts
3. Delete button on the keyboard.

The job is done in no time.
« Last Edit: April 11, 2011, 04:49:09 pm by juju2143 »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Removing Background from Image
« Reply #2 on: April 11, 2011, 04:53:11 pm »
Gimp is your friend!
I think its just something like Layer -> Transparency -> Color to alpha .

Edit: Ninja'd
« Last Edit: April 11, 2011, 04:54:28 pm by jimbauwens »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Removing Background from Image
« Reply #3 on: April 11, 2011, 05:21:25 pm »
Gimp is your friend!
I think its just something like Layer -> Transparency -> Color to alpha .
That works too. In fact there's multiple ways to get the job done.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Removing Background from Image
« Reply #4 on: April 11, 2011, 05:53:21 pm »
Yup. I would have used select by color, personally :P

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Removing Background from Image
« Reply #5 on: April 11, 2011, 06:00:34 pm »
Optimized. ;D



Sorry, I just had to. It's a pretty epic optimization, though.

Offline ZippyDee

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +83/-8
  • Why not zoidberg?
    • View Profile
Re: Removing Background from Image
« Reply #6 on: April 11, 2011, 06:06:05 pm »
Lol you would do that, Runer112...
There's something about Tuesday...


Pushpins 'n' stuff...


Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Removing Background from Image
« Reply #7 on: April 11, 2011, 06:17:10 pm »
What did you do, reduce the color pallet? That would make the most sense to me. :P

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Removing Background from Image
« Reply #8 on: April 12, 2011, 01:40:23 am »
On an off-topic note, do we still need to uninstall TiEmu to use GIMP and vice-versa? That was why I always stayed away from GIMP before, aside from the fact I disliked how everything were separate windows (I prefer everything in one window like Paint Shop Pro and Photofiltre Studio).
« Last Edit: April 12, 2011, 01:41:09 am by DJ_O »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Removing Background from Image
« Reply #9 on: April 12, 2011, 03:38:04 am »
Thanks guys! If I had Photoshop I could do this, but I uninstalled it.

On an off-topic note, do we still need to uninstall TiEmu to use GIMP and vice-versa? That was why I always stayed away from GIMP before, aside from the fact I disliked how everything were separate windows (I prefer everything in one window like Paint Shop Pro and Photofiltre Studio).

No idea, sorry.
« Last Edit: April 12, 2011, 03:38:44 am by Scout »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Removing Background from Image
« Reply #10 on: April 12, 2011, 04:04:59 am »
On an off-topic note, do we still need to uninstall TiEmu to use GIMP and vice-versa? That was why I always stayed away from GIMP before, ..

I have both gimp and TiEmu on my computer, so this isn't normal behavior. Both gimp and TiEmu use the gtk-toolkit (gtk was actually made for gimp). Maybe its because one of the programs was outdated, and used an older version of gtk. I think having the latest version of both should work (gimp and TiEmu).

Quote
..  aside from the fact I disliked how everything were separate windows (I prefer everything in one window like Paint Shop Pro and Photofiltre Studio).

The next version of gimp will be able to support single windows, but probably will have to wait still a while before its released, as they have a lack of developers.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Removing Background from Image
« Reply #11 on: April 12, 2011, 04:05:40 am »
Yeah, I hate Ubuntu GIMP because of that, 2 or 3 windows :S

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Removing Background from Image
« Reply #12 on: April 12, 2011, 04:29:56 am »
Scout, since you are on Linux, it will be quite easy to get the development version of gimp (I don't think its that unstable).

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Removing Background from Image
« Reply #13 on: April 12, 2011, 06:35:07 am »
Scout, since you are on Linux, it will be quite easy to get the development version of gimp (I don't think its that unstable).

Thanks for the idea :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Removing Background from Image
« Reply #14 on: April 12, 2011, 03:30:30 pm »
On an off-topic note, do we still need to uninstall TiEmu to use GIMP and vice-versa? That was why I always stayed away from GIMP before, ..

I have both gimp and TiEmu on my computer, so this isn't normal behavior. Both gimp and TiEmu use the gtk-toolkit (gtk was actually made for gimp). Maybe its because one of the programs was outdated, and used an older version of gtk. I think having the latest version of both should work (gimp and TiEmu).

Quote
..  aside from the fact I disliked how everything were separate windows (I prefer everything in one window like Paint Shop Pro and Photofiltre Studio).

The next version of gimp will be able to support single windows, but probably will have to wait still a while before its released, as they have a lack of developers.
I see. It's probably because back in the days both used different GTK libs (or related stuff) so they conflicted. I haven't tried since 2005 or so, though.

And thanks for the info. I guess I'll have to check out at one point in case they get devs.