Tue, Nov 26, 6:43 AM CST

Renderosity Forums / Photoshop



Welcome to the Photoshop Forum

Forum Moderators: Wolfenshire Forum Coordinators: Anim8dtoon

Photoshop F.A.Q (Last Updated: 2024 Nov 26 6:00 am)

Our mission is to provide an open community and unique environment where anyone interested in learning more about Adobe Photoshop can share their experience and knowledge, post their work for review and critique by their peers, and learn new techniques while developing the skills that allow each individual to realize their own unique artistic vision. We do not limit this forum to any style of work, and we strongly encourage people of all levels and interests to participate.

Are you up to the challenge??
Sharpen your Photoshop skill with this monthly challenge...

 

Checkout the Renderosity MarketPlace - Your source for digital art content!

 



Subject: Format question


bonestructure ( ) posted Tue, 27 April 2004 at 1:22 PM · edited Sat, 09 November 2024 at 10:52 PM

I have several files in .png format. They're intended as textures with opacity maps that are in the alpha channel. Does Pshop handle .png format? If so, how do I extract the alpha channel to get the opacity maps. I need to seperate them into a texture map and an opacity map. I've never dealt with .png files before, don't even know what the heck they are.

Talent is God's gift to you. Using it is your gift to God.


LeFrog ( ) posted Tue, 27 April 2004 at 2:25 PM

Well basically png can be thought of as advanced gif images, gif images are limited to the 256 colors as opposed to png where you can have much more of a color gamut. I do not think however that png's can store alpha channel information (but then i rarely use them)i usually use tiff images instead. So the answer is Photoshop does support png but i do not believe it supports alpha channel info.


Hoofdcommissaris ( ) posted Tue, 27 April 2004 at 3:14 PM

Stop! .png is actually much more than some kind of gif format. Actually it could well be the internet file format of the future, because it supports 256 shades of grey in alpha. The result is that, for instance, an image on a webpage can be partially transparant and have a transparant soft shadow. Flash can use png images and the best part is, there are two kind of them, the one that resembles .gif (256 color) BUT the other one can have all the colors and transparancy you want AND it is lossless! No artefacts! When you open a .png file, it will be transparant in Photoshop. So that is a good start. When you option-click on the layer (I think it is the same on PC, otherwise use the whatever-key/click combination that makes a selection based on the transparancy of the layer you are in), make a new layer and fill the selection with black. Throw away the layer containing the original image, flatten and save under a different name. Sounds like something you can automate, doesn't it? option-clicking is absolutely necessairy, the magic wand (which I honestly NEVER use) doesn't do half-transparant selection, nor does it select transparant parts inside the layer. The .png format is read by newer browsers as well, but not enough to use a lot on the web. The negative side of doing things with them .png files is that they are rather small, most of the time. So zooming in on parts you texture with them will usually result in blocky textures. The larger the better!


Hoofdcommissaris ( ) posted Tue, 27 April 2004 at 3:14 PM

Stop! .png is actually much more than some kind of gif format. Actually it could well be the internet file format of the future, because it supports 256 shades of grey in alpha. The result is that, for instance, an image on a webpage can be partially transparant and have a transparant soft shadow. Flash can use png images and the best part is, there are two kind of them, the one that resembles .gif (256 color) BUT the other one can have all the colors and transparancy you want AND it is lossless! No artefacts! When you open a .png file, it will be transparant in Photoshop. So that is a good start. When you option-click on the layer (I think it is the same on PC, otherwise use the whatever-key/click combination that makes a selection based on the transparancy of the layer you are in), make a new layer and fill the selection with black. Throw away the layer containing the original image, flatten and save under a different name. Sounds like something you can automate, doesn't it? option-clicking is absolutely necessairy, the magic wand (which I honestly NEVER use) doesn't do half-transparant selection, nor does it select transparant parts inside the layer. The .png format is read by newer browsers as well, but not enough to use a lot on the web. The negative side of doing things with them .png files is that they are rather small, most of the time. So zooming in on parts you texture with them will usually result in blocky textures. The larger the better!


Hoofdcommissaris ( ) posted Tue, 27 April 2004 at 3:15 PM

And I will say that two times to make it clear! ;-)


bonestructure ( ) posted Tue, 27 April 2004 at 3:22 PM

These aren't actually small images, they range from 60 to 90 K on download. It's just, I need to save them as the testure image and the black and white opacity map image, which is in the alpha channel.

Talent is God's gift to you. Using it is your gift to God.


Hoofdcommissaris ( ) posted Tue, 27 April 2004 at 3:24 PM

I hope I made clear how you can do that above (twice, because I thought nothing was happening...)


bonestructure ( ) posted Tue, 27 April 2004 at 3:31 PM

well, I think I understand the process. I hope I do. These files would help me a lot, and I'd hate to have to make my own opacity maps of them lol.

Talent is God's gift to you. Using it is your gift to God.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.