Photoshop Save for web does'nt retain transparency - photoshop

I have been trying to save for web from a psd file, The .PNG file that I get has no transparency and instead all transparent area is filled with white.
I am beginner in Photoshop, How can I accomplish this task?

Normally if you are doing save for web in png 8 format it will take white color instead of transparency to avoid this white color You have to do save for web as png 24 format then u will get transparency without white color

The Problem got Solved, the App/program i was using had some problem and was not showing the background to be transparent, have tried it on another program and its OK
Thanks to Anthony who helped alot.

Related

Put an image with transparent background into a pdf using Libharu

I have to put an image (.png) into a pdf file using LibHaru. The image has a transparent background due to which it looks quite awkward (black background) into the pdf file.
How can I put this image (with transparent background) properly using C++ LibHaru?
You need to split your PNG file into two images: one for color pixels and another one for opacity values. Then you need to add the color image into PDF with specifying the second as SMASK property.
See 4.8.4 Image Dictionaries in PDF specification for more details.
You can use HPDF_Image_AddSMask method for this.

PDFSharp - Report Document Colors and Transparency

I am having some problems with the PDF files that I make using the PDFSharp library. The files are ok as long as I am viewing them normally.
However I need these files to be changed using the accessibility options (Edit -> Preferences -> Accessibility (in the left menu Categories) -> Report Document Colors -> Custom Color). Whenever there is image with transperancy and/or transparent masks and the Background color is set to black everything disappears.
I looked at the PDFSharp code and it seems that they are setting some transparent SMask, which I did not find to do anything noticeable (at least for me), but I am not sure if I disable it will it screw up something that I cannot think of.
Most probably I won't get help on this one, but I hope that someone knows something more about this problem with PDF Transparency and the Accessibility options.
The transparency mask is created for images with transparency only.
So if your images contain black lines and a transparent background and you change the color of PDF pages to black, you will see black lines on a black background - you will see nothing.
If your images contain black lines on a white background, you will see your image as you know it: black lines on a white background.
Transparency is a feature, it's optional.
Maybe there's a bug in PDFsharp. If I watch the output of the Graphics sample with black background color, pages 4 and 5 are completely black (looks wrong to me).
The output of the Hello MigraDoc sample looks correct to me. The image on page 1 does not use transparency and keeps it white background, the chart on page 6 is transparent (which leads to black lines on a black background).
But maybe that's a bug in Adobe Reader - everything looks fine if I do not set a background color, but activate the transparency grid instead.
If you think that your images do not contain transparency, then we'll need files (PDF and image) for further examination.
Edit: I just checked the output of the Graphics sample with Adobe Acrobat 5 - all pages display correctly even with black background color. With Adobe Acrobat 8 and Adobe Reader X pages 4 and 5 are black. Looks like a bug in Adobe Acrobat/Reader to me.

VB.net transparent png overlaying each other.. getting Form Background color

Trying to start a game that involve in a lot of .png and animation.
All these .png are already transparent and set to an individual picture box when i overlay one over the other. There "transparency" actually gets the form background color. and not i'm not able to see through the image behind it.
i set the forecolor to transparent in the attribute am i missing something?
*side question... should i make my game in vb.net if it using a lot of images and animations files? (working solo might get my friend to help later)
Example pictures
well, this is a bit old, but check my answer here :
Make Picturebox transparent over other picturebox?

Remove white background from an image

I want to get a transparent background or no background for my images. I tried the '-background none' option and also the 'transparent' option, but the background image remains white. How can I achieve this?
Please suggest.
If you are using Imagemagik then the command is:
convert input.gif -transparent white output.gif
However, it will only work with a pure white background and not a shade of white.
There are alternative and easier ways to do this with IrfanView or The Gimp or Photoshop (more on that below).
This article mentions that you may be using convert.exe that comes with Windows rather than ImageMagicks Convert.exe in which case you should use the full path for Convert.exe.
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=10665
If you are trying to achieve this from CSS then you misunderstand the CSS property.
The css property 'background' refers to an html elements background color. I.e. <p> <div> <body> whatever.
more here http://www.w3schools.com/css/css_background.asp
If you are referring to the image opacity property, that refers to how "see-through" an image should be. more here:
http://www.w3schools.com/Css/css_image_transparency.asp
The only way to get a transparent background in an image is to make the background of the image transparent using either the PNG (preferred) or GIF formats. For this you can use IrfanView and save a picture as PNG, select the "save transparency" property and select the color from the image you want to be transparent or you can use Photoshop or The Gimp do the same. Example for IrfanView here http://llizard.etherwork.net/cwc/transp_irfanview.html
The Gimp example here http://aplawrence.com/Linux/crousegif.html
whats the format of your images? Try using png format

.NET Graphics on Windows 7: White corners around images?

I've been working on some custom graphics controls, and I found this weird problem with windows 7 rendering my button controls. I've used Photoshop to delete the pixels in the background all around the button image I'm using, then saved it as a GIF, and imported it into VS to use as the background image of my button. When windows XP renders it, it is fine, but when windows 7 renders it, all 4 corners have an odd white border around them.
You can barely see them in this pic, but they are much more apparent when looking at them on the client PC's.
Is there something wrong with the way I am transfering the image? should I not use a gif? is there something wrong with the way I am displaying it on the button? What can I do about it?
GIF was a bad choice, it can only render images with 256 colors. You need all the colors you can get to make the anti-aliasing work properly. Use PNG.
You will also need to make sure that the background color of the container is the same as the one you used in Photoshop, the anti-aliasing pixels will otherwise have the wrong colors. And you cannot stretch the image, that will also stretch the anti-aliasing pixels, ruining the effect.