transparent images

Joined
Feb 21, 2007
Messages
15
Reaction score
1
Points
3
I want to know how to create an image where only the picture or design is visible. I don't want the box that's around it. I try to save it with a transparent background, but when I put it into a website or bring it into another application it's got that stupid bounding box with a white background.
How can i fix this problem. (I'm referring to Photoshop)
 
Joined
Feb 2, 2004
Messages
12,455
Reaction score
604
Points
113
Location
PA
Your Mac's Specs
MacBook
To have a transparent background, an image would have to be a .gif or a .png file.
I am assuming that you are working with a .jpg, which doesn't support transparencies.
 
Joined
Apr 29, 2006
Messages
4,576
Reaction score
378
Points
83
Location
St. Somewhere
Your Mac's Specs
Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
You have certainly hit on one of the most difficult issues in any photo editor because ultimately, this involves selecting the object of interest and then erasing everything but it. There are many tools to help you with the selection part, but the process, overall, is always the same.

If the image you are looking to isolate is on a fairly consistent background, you can use the Magic Wand tool to select that background, then invert the selection and do the erasing. I typically shrink the selection by a pixel or two after it is done just to get a good tight selection.

If the image you are trying to isolate in on a detailed background, it is a picture by picture call as to what too s best to do the selection.
 

eric


Retired Staff
Joined
Nov 4, 2006
Messages
8,704
Reaction score
447
Points
83
Location
twin cities, mn, usa
mac57 hit the nail on the head.

although if it's on a plain background there are tools to select by color. then you would just either remove the color, or cut the inverse to a new transparent layer and ditch the old layer.

gimp can do this - and it is free (though you will need to load x11 if you're running OS X).

btw, i made my avatar with gimp on a windows notebook. you'll notice it's a .gif with transparency.
 
Joined
Feb 2, 2004
Messages
12,455
Reaction score
604
Points
113
Location
PA
Your Mac's Specs
MacBook
Yes, mac57 is dead on. Still, even if you remove the background in your editor, you are going to have the bounding box once again, when you save the image with a .jpg extension.
Your .psd will show that there is no background, but since .jpgs don't support the transparency it fills that in with white automatically when you save it as such.
Here is an example of what I mean:
example.jpg
 
Joined
Apr 29, 2006
Messages
4,576
Reaction score
378
Points
83
Location
St. Somewhere
Your Mac's Specs
Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
torchy, the site you mention seems to have access controls. I was denied access - it said that I was not on the Access Control List.
 
Joined
Apr 29, 2006
Messages
4,576
Reaction score
378
Points
83
Location
St. Somewhere
Your Mac's Specs
Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
Thanks torchy, that did it.
 
Joined
Mar 9, 2004
Messages
9,065
Reaction score
331
Points
83
Location
Munich
Your Mac's Specs
Aluminium Macbook 2.4 Ghz 4GB RAM, SSD 24" Samsung Display, iPhone 4, iPad 2
Just remember when using transparent .png files on a website that IE 6 doesn't support them.

There are workarounds available though...
 
Joined
Sep 9, 2006
Messages
690
Reaction score
51
Points
28
Your Mac's Specs
macbook
Just remember when using transparent .png files on a website that IE 6 doesn't support them.

There are workarounds available though...

heheh, NOT using IE? :p

One thing to take note of (if it hasn't been mentioned yet) is to effectively make use of matte colours with .gifs. While gif supports transparency, I don't think it's supports anything but completely transparent, or completely opaque. If the gif will be placed over a known coloured background, eye drop that colour (through Applications>Utilities>DigitalColor Meter) and enter the colour numbers as the matte colour for the gif. I think it's white by default, but if you're placing the gif on a grey background, that won't really help you - so eye drop that grey, and set it as the matte colour so things are smoother.

You won't have this problem with a png as it supports a full range of transparencies. Take this image I created for example.

sotw_apple_small.png

The shadow is full black, but with opacity turned down - so it will still appear darker, no matter what colour it lies on.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top