Outline Crop/Cutout Capability for Image

Can anybody advise if there is the capability in GIMP to trace the outline of an image and crop it accordingly - I am trying to get rid of the white box that normally surrounds an image after cropping it.

Thanks in advance for any help.

John

you can't have box around

you can't have box around after cropping the image, is absolutely not normal

That may happen only if you crop only the layer ,not the image

Simple solution is use Image/crop to selection

alpha channel

forget first reply, "crop" confused me i call that "cut"

if you have no transparency but white is because your imagine has no alpha (= transparency ) channel

you may add it from Layer/transparency/add alpha channel

you may try if the ffat script speed up, but know about of the transparency channel (alpha channel) is important

No alpha= no transparency= added solid color (that active for BG )

Trying to remove the background?

If you are trying to remove the background, this script:
http://ffaat.pointclark.net/incoming/scripts/transbg.scm
may help.

-Rob A.

How is this used? (of

How is this used? (of course, once I get it enabled)

In other words, when I have an image in the editor, where can I find this tool in the editor?

Thanks

Location of Script

The script will show up under Layers->Transparency.

-Rob A>

Super thanks!!!!

Super thanks!!!!

How use transbg.scm ?? Install/Enable ?

GIMP 2.6
Win Vista

I copied transbg.scm to c:\Users\username\.gimp-2.6\scripts\transbg.scm

However, I'm not seeing it in Script-Fu (refreshed/restarted)

How is this script enabled and called up?

Thanks :-)

In windows/search you may

In windows/search you may have a dumb default:
"hide extension for commune file"

If that is checked extensions as jpg and HERE THE POINT as .txt
will be hidden

So you will never notice VISTA adding a txt extension to your .scm file...as you may have not notice that when saving anything similar to a text, as a code, you have not 1 but 2 option

first and very visible is save as .txt, the second, a bit more hidden,(do you know dropdown list? ..you click and more option pop out ) is save as "ALL FILES " and is that correct.

For Microsoft save as "all files" means "save as it is do not change file extension "...

So change that dumb default and download again, this time saving as "all files"

I'll check into this, thanks

I'll check into this, thanks :-)

Another way to remove background

Select white area with magic wand. Grow selection by 2px or so. Invert selection, press delete on keyboard.

Then you should be able to autocrop the image just fine :D

Syndicate content