Edit PNG transparency

Ivo

New member
Local time
2:31 PM
Messages
398
Location
Washington
Hi, everybody.

As part of tweaking my Win7 theme I want to edit the transparency of some PNG images. If I open the PNG file in Photoshop it gets converted to a layer and the transparency is implicit instead of explicit like a separate Alpha channel. I could not find a way to edit that transparency directly. Talking to a few artists I got the following suggestions:

- tweak the layer transparency with the slider. The problem is it is already at 100% and I can only make things more transparent but not more opaque

- duplicate the layer to make it less transparent. This only lets me change the transparency in big steps

- Ctrl+click on the layer and convert the selection mask to a layer mask. The problem is that Photoshop messes up the values. Value of 50 becomes 69, value of 100 becomes 123 and 200 becomes 212. Like some sort of gamma correction. Very bad.

I'm really surprised there is no direct way in Photoshop to edit the per-pixel transparency of a PNG file. I want to be able to see it as an 8-bit grayscale image and paint on it, apply filters, etc. just like I can manipulate an Alpha channel.

What are you guys using to solve this problem?
 

My Computer

Computer Manufacturer/Model Number
Me :) I build all my PCs
OS
Windows 7 Home 64, Vista Ultimate 64
Hi, everybody.

As part of tweaking my Win7 theme I want to edit the transparency of some PNG images. If I open the PNG file in Photoshop it gets converted to a layer and the transparency is implicit instead of explicit like a separate Alpha channel. I could not find a way to edit that transparency directly. Talking to a few artists I got the following suggestions:

- tweak the layer transparency with the slider. The problem is it is already at 100% and I can only make things more transparent but not more opaque

- duplicate the layer to make it less transparent. This only lets me change the transparency in big steps

- Ctrl+click on the layer and convert the selection mask to a layer mask. The problem is that Photoshop messes up the values. Value of 50 becomes 69, value of 100 becomes 123 and 200 becomes 212. Like some sort of gamma correction. Very bad.

I'm really surprised there is no direct way in Photoshop to edit the per-pixel transparency of a PNG file. I want to be able to see it as an 8-bit grayscale image and paint on it, apply filters, etc. just like I can manipulate an Alpha channel.

What are you guys using to solve this problem?

I will usually duplicate the image and then make the top layer more transparent with the slider then merge the layer down if you want to or just save it as a png
 

My Computer

Computer Manufacturer/Model Number
Home Brew
OS
Windows 7 Ultimate Vista Ultimate x64
CPU
Core 2 Duo E8500 3.16Ghz @ 3.8Ghz
Motherboard
eVGA 750i FTW
Memory
2x2Gigs Patriot PC2-6400 LL
Graphics Card(s)
Inno3D GeForce GTX260 216 SP
Monitor(s) Displays
ASUS VW222U 22" 2ms Response time
Screen Resolution
1680x1050
Hard Drives
SATA 150GB
SATA II 250GB
USB IDE 750GB Ext.
PSU
HYTEC 600W & Thermaltake 650W Toughpower Power Exp
Case
Thermaltake Armor LCS (Liquid Cooling System)
Cooling
Liquid Cooling System
Keyboard
Logitech G15 Gaming Keyboard
Mouse
Logitech G9 Gaming Mouse
Get GIMP! ;)

Simple - duplicate the layer (probably multiple times), then adjust the opacity of each layer individually until you get the desired effect.

I think that's what Mr GRiM was trying to get at, but I'm not sure. :)
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba A500-ST6621
OS
7 Ultimate x64, Vista Ultimate x64, 7 Pro x64, XP Pro x86, Linux Mint Nadia Cinnamon
CPU
Intel Core 2 Duo T9600 2.80GHz x64
Motherboard
Intel GM45 chipset
Memory
8GB
Graphics Card(s)
ATI Mobility Radeon HD 4650
Sound Card
N/A
Monitor(s) Displays
single 16:9 widescreen (1366x768)
Hard Drives
Hitachi Travelstar 7K750 5400RPM 750GB
Keyboard
standard Toshiba backlit keyboard w/ numberpad
Internet Speed
N/A
But I am a programmer! I need exact values and per-pixel accuracy!!!! :D :D

Does GIMP offer editing of the PNG transparency as a grayscale image?
 

My Computer

Computer Manufacturer/Model Number
Me :) I build all my PCs
OS
Windows 7 Home 64, Vista Ultimate 64
With Paint Shop Pro 8 and later you can edit the alpha channel on png images. Just go to File Format Preferences -> PNG tab -> select "Load and save transparency to / from alpha channel".
 

My Computer

Computer Manufacturer/Model Number
FujitsuSiemens Amilo Pa3553
OS
Windows 7 x64 Home Premium
CPU
AMD Turion X2 Ultra ZM-82
Memory
4GB DDR2-800
Graphics Card(s)
Ati Mobility Radeon 3200 & Ati Mobility Radeon 3450
Back
Top