Sign in to follow this  
Mike Jay

Transparency Lost

Recommended Posts

Newbie with this sort of problem again.

I have a pic that I want to superimpose on a target.

The pic is a png obtained on the web, described as having a transparent background. The target is a jpg obtained on the web. I resaved the target as a png, if that matters....

I open the target in paint.net.

I open the pic in another paint.net window.  It shows a checkerboard background.

I select all and copy it.

I paste it in the target windows, on a new layer.  It shows up with an apparently opaque checkerboard background.

What do I need to do to have the 'transparent' background be transparent, so I can see the target image except where the non-background image of the pic covers it, as I want?

Share this post


Link to post
Share on other sites

Even though an image on the web may be describe as being transparent and downloads as a PNG, does not mean that checkboard backgeound is transparent.

Many web sites that offer free transparent PNG files only offer true 32bit PNG files if you download them and not copy and paste them.

To make sure that the checkboarding is transparent or not; open the image in Windows Paint. If you see checkerboarding when using Windows Paint, the background is truly checkerboarded with a pattern and is not transparent, or its background would appear white.

Also if the checkerboard is not transparent it will show up as checkerboarded in the image thumbnail.

 

You can probably eliminate the checkerboard pattern using the Magic Wand Tool at a tolerence of 41%.

Edited by HyReZ
inserting additional information

Share this post


Link to post
Share on other sites

He could be meaning the default transparency checkerboard in PDN.

 

When new to these things it looks like something that it isn't. For those who don't know; it actually serves some practical functions such as helping us line things up. If the background was 100% clear things like that would be more cumbersome.

 

Also, what would be considered transparent without it? Something has to be in the background. With it we get something consistent rather than whatever the last thing on the monitor was...

Edited by Apollo702
Added point

Share this post


Link to post
Share on other sites

@Apollo702

Your are missing my point entirely.
If you do a Goolge image search for PNG files with background transparency you will find scores of images with checkerboard backrounds.

If you copied and pasted any of them, you get an image file that has an opaque checkerboard background.

For an image to appear in the your browser having a checkerboard background, the source image file would need to have an opaque checkerboard background.

If you did the same Goolge image search for PNG files with background transparency, you will still find the same scores of images, but ones 'likely' to have an actual transparent background would be a image that shows up having a white background if it is a PNG with a 32 bit color depth or an 8 bit color depth.

Edited by HyReZ
  • Like 1

Share this post


Link to post
Share on other sites

I hear you. It was how I read his post. That's all. When I was new to this I had zero idea what the checkerboard was for. I didn't know what transparency was, how to get rid of backgrounds... and then when I learned a couple of simple things... WOW! suddenly a whole new world started opening up!

Share this post


Link to post
Share on other sites
7 hours ago, Mike Jay said:

 I resaved the target as a png, if that matters....

Saving the image file to PNG does not provide it with automatic background trasparency so the conversion was not necessary.

You still have to make the background of converted JPG to PNG transparent.

Share this post


Link to post
Share on other sites

I'm with HyReZ on this. Most of the PNGs I've found/used which  actually had transparent backgrounds do not display in a browser or using the default Windows Picture Viewer (and even some other graphics programs) with a checkerboard  background. It displays as white or the default base background colour for the image viewer until you open it in PDN in a new transparent layer, of course.

 

Ergo that PNG's checkerboard background is, as HyReZ said, actually not transparent. That is the problem.

Share this post


Link to post
Share on other sites
11 hours ago, HyReZ said:

Even though an image on the web may be describe as being transparent and downloads as a PNG, does not mean that checkboard backgeound is transparent.

Many web sites that offer free transparent PNG files only offer true 32bit PNG files if you download them and not copy and paste them.

To make sure that the checkboarding is transparent or not; open the image in Windows Paint. If you see checkerboarding when using Windows Paint, the background is truly checkerboarded with a pattern and is not transparent, or its background would appear white.

Also if the checkerboard is not transparent it will show up as checkerboarded in the image thumbnail.

 

You can probably eliminate the checkerboard pattern using the Magic Wand Tool at a tolerence of 41%.

This, and I suspected something like. Thanks for suggesting simple test. I did download the file, but apparently this free file did not download as 32 bit w/transparent bg.

 

Off to play with the magic wand....

  • Like 1

Share this post


Link to post
Share on other sites

Good luck with that.

 

This topic inspired me to try something similar to that described with an image I liked but the graduated background used by the original creator had been done badly (JPG artifacts, banding). I thought it would be easy to cut out the main element, a beer bottle and simply replace the background. More difficult than I expected as the bottle, being glass, was partially transparent. I ended up recreating the whole thing using a found image of a similar beer bottle, actually a better picture quality photo, but with a transparent background. 

 

Made things much easier.

 

Consequently I would suggest that if you Google and can find the image you need with a genuinely transparent background you'll likely save yourself a lot of time and trouble you'll otherwise have playing around with the Magic Wand. You won't learn as much though. :)

Edited by IHaveNoName

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this