PSP8, PNG's & Transparency Oddity
Tuesday, October 16, 2007 by Daiwa | Discussion: Skinning

When I save an image using the above settings, it appears to save with proper alpha-channel trans as when I then import it in SKS5, the converted .tga displays proper trans in the skin. However, if I re-open the .png file, often the trans is lost & the image displays white where the trans should be as in the left panel above. If I then just close it or save it, the .png alpha-channel trans is lost - if I re-import it, the converted .tga has no trans. This is not consistent but happens more often than not; only occasionally will a .png with alpha-trans open in PSP8 with transparency properly displayed as in the panel on the right above.
I have the option selected to "Load and save transparency from / to alpha channel" in PNG File Format Preferences.
Any ideas why the trans isn't sticking?
Reply #2 Tuesday, October 16, 2007 10:01 PM
use Existing Image or Transparency Layer instead of "areas matching this color"
Reply #3 Tuesday, October 16, 2007 10:11 PM
Reply #4 Tuesday, October 16, 2007 10:14 PM

Reply #5 Tuesday, October 16, 2007 10:24 PM
use Existing Image or Transparency Layer instead of "areas matching this color"
Thanks very much Boss & Lantec.
Lantec -
The dialog was just a convenient way to show both images at the same time. When I save, say a .bmp I've made, in .png format using those settings to make the white area transparent, the resulting .png file does have alpha trans & it converts to a .tga with proper trans when imported in SKS5.
But if I re-open that .png file, it will usually open without displaying the trans - the area that was transparent will be white, as in the "before" image in the dialog. Sometimes it will open with the transparent background showing properly as in the "after" image in the dialog, but not usually. The trans seems to get "lost" in the Save/Open cycle for some reason.
Is that more clear?
Reply #6 Tuesday, October 16, 2007 10:30 PM
I'm divorced...easier to buy the spensive programs that way.
Reply #7 Tuesday, October 16, 2007 10:31 PM
Reply #8 Tuesday, October 16, 2007 10:50 PM
If it is a version-specific problem, I'd be willing to upgrade, though Paint.NET is an attractive alternative (at an outstanding price). I've gotten pretty comfortable using PSP, the only thing being this unpredictable handling of trans.
Thanks again.
Reply #9 Tuesday, October 16, 2007 10:59 PM
Make sure your set for the Alpha Channel and Existing Image/Layer transparency.....
That's if your going to use in a Stardock applied skin.
I'm on version XI but frankly X was as good and both are better than 8 & IX if you do a lot of digital photography.
Reply #10 Tuesday, October 16, 2007 11:38 PM
Looks like the current upgrade price for 12 (PSP Photo X2) is ~$60.
Reply #11 Tuesday, October 16, 2007 11:45 PM
Reply #13 Wednesday, October 17, 2007 12:13 AM
Maybe that is the problem?
Reply #14 Wednesday, October 17, 2007 10:15 AM
I don't see a way to do that in PSP8, which may just be my ignorance. With PSP8, the image is the background layer, unless a new trans layer is added. It also seems that the image often has to be "merged" before PSP8 will save it.
Reply #15 Wednesday, October 17, 2007 5:01 PM
If your editing bmps then I'd suggest opening a new image and paste the portion of the bmp you want into it being careful to avoid copying the background. Use the magic wand selection tool and add (shift key) remove (ctrl key) as necessary to get the selection correct. I find it's sometimes easier to select the background and then invert the section.
If you use the Layer Palette (mines on the right side of the window) each layer has an eye symbol showing. If you click the eye symbol that will make the layer visible or not visible.
Reply #16 Wednesday, October 17, 2007 5:13 PM
You should have an option somewhere in PSP to "PROMOTE TO LAYER" for a .bmp. This will take care of the alpha channels. You'll still need some transparency in the image or SKS will read it as a bmp and convert it accordingly. A simple save as a .png should work fine as long as at least a pixel has transparency, then SKS will detect a png and convert it to tga.
When merging layers use the "Merge visible" option to maintain the alpha channels.
This is using PSP7 but I dont think there was much difference between 7 and 8.

Reply #17 Wednesday, October 17, 2007 5:48 PM
Reply #18 Wednesday, October 17, 2007 8:09 PM
I'm a simple sort who usually starts with an image & then tries to make portions of it transparent - sounds like that's bassackwards. I'll see if working from transparent .pspimage files works better.
Reply #19 Saturday, October 20, 2007 10:01 PM

I double-checked the code settings: Trans=1, PerPixel=1, AlphaMode=0.
It appears that PSP8 saves the .png as a merged image & still strips the trans somehow, despite WBConfig's Preview, as when I open the .png, it looks different than the source .pspimage:

I feel a little like Alice, as in Wonderland.
Any additional ideas?
Reply #20 Saturday, October 20, 2007 11:48 PM
Fixed the last problem - little matter of missing the Taskbar "Background Effect" setting.
Still not sure why the .png shows on a white background rather than a trans background, but at least it imports correctly.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Tuesday, October 16, 2007 9:57 PM
Hopefully someone has a fix for you.