Printable Version of Topic

Click here to view this topic in its original format

PMView Pro Forums _ PMView - General Discussion _ PNG alpha channel transparency

Posted by: Per Johansson May 29 2003, 10:16 AM

PMView supports alpha channel transparency according to the help file, but I haven't been able to create such an image.
I have a big black and white 2-colour TIFF image that I make smaller, 10 %, and it becames a Truecolour grayscale image. I save it as a PNG image with transparency turned on, transparency colour 255, 255, 255. The white parts turn transparent when viewed in Mozilla or Opera, but the gray parts remain opaque.

How do a make an alpha channel transparent image?

Posted by: Peter May 29 2003, 11:58 AM

PMView cannot save transparency masks. The only way to achieve transparency when saving is to use a transparent color.

What you're doing will work fine, however you need to invoke Color->Convert to Black&White before saving the file.

Auto-creation of a multi-level opacity mask is out of the scope of PMView. I recommend using the GIMP or Photoshop for this task. However, I doubt this will help. I'm sceptical to whether today's web browsers can use files with an alpha channel (opacity mask). Even if it works in one browser, I bet it won't work in all browsers (IE, Opera, Netscape, Mozilla...). My guess is that they will read the file without problem but they will not use the alpha channel data and the result is an image that is not transparent at all. Please correct me if I'm wrong...



Edited By Peter on 1054228135

Posted by: Per A Johansson Jun 1 2003, 05:17 AM

QUOTE (Peter)
PMView cannot save transparency masks. The only way to achieve transparency when saving is to use a transparent color.

What you're doing will work fine, however you need to invoke Color->Convert to Black&White before saving the file.

Auto-creation of a multi-level opacity mask is out of the scope of PMView. I recommend using the GIMP or Photoshop for this task. However, I doubt this will help. I'm sceptical to whether today's web browsers can use files with an alpha channel (opacity mask). Even if it works in one browser, I bet it won't work in all browsers (IE, Opera, Netscape, Mozilla...). My guess is that they will read the file without problem but they will not use the alpha channel data and the result is an image that is not transparent at all. Please correct me if I'm wrong...

I think it should be explained in the documentation that PMView cannot save transparency masks, or rather what you can and can't do with PMView.

Yes, I have now used GIMP to create the semi-transparent image. Current browsers can handle such images, except Internet Explorer for Windows, which may be considered a legacy browser these days, although you can't ignore it as long as it has most of the browser market.

Some sites returns different images for current and legacy browsers. Using that technique, semi-transparent PNG's can be used. For now, I'll stick with one-colour transparency.

There are demos here for those who are interested in how images are rendered (or ignored!) in different browsers:
http://www.libpng.org/pub/png/pngsuite.html

Posted by: Peter Jun 1 2003, 08:51 AM

QUOTE
I think it should be explained in the documentation that PMView cannot save transparency masks, or rather what you can and can't do with PMView.


When browsing through the menus, it should be obvious that PMView does not support transparency masks. If it did, there would certainly be a "View" option so that you could see the mask layer (and possibly edit it too).

Please remember that PMView 2000 is mostly a viewer/converter, which I suppose its name should reflect.

A future version of PMView will definitely have full support for transparency masks.

Thanks,



Edited By Peter on 1054583695

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)