Ver Mensaje Individual
  #6  
Antiguo 06-10-2006
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 28
jachguate Va por buen camino
Cita:
Empezado por roman
con la ventaja de poder utilizar el canal alpha. Esto último lo digo como perico porque no sé qué es aunque creo que es la gran ventaja de los png.
¿el canal alfa no es aquel que permite determinar el "nivel de transparencia"?

¿El mismo que usamos cuando le ponemos un valor a la propiedad AlphaBlend de un formulario?

Cita:
In graphics, a portion of each pixel's data that is reserved for transparency information. 32-bit graphics systems contain four channels -- three 8-bit channels for red, green, and blue (RGB) and one 8-bit alpha channel. The alpha channel is really a mask -- it specifies how the pixel's colors should be merged with another pixel when the two are overlaid, one on top of the other.

Typically, you wouldn't define the alpha channel on a pixel-by-pixel basis, but rather per object. Different parts of the object would have different levels of transparency depending on how much you wanted the background to show through. This allows you to create rectangular objects that appear as if they are irregular in shape -- you define the rectangular edges as transparent so that the background shows through. This is especially important for animation, where the background changes from one frame to the next.

Rendering overlapping objects that include an alpha value is called alpha blending.
enlace

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita