User Activity

  • Modified a comment on discussion Help on FreeImage

    Is there a simpler way to render images with transparency (alpha or a designated transparent color) obtained from FreeImage? There seems to be one; we might call GDIplus. Below I whipped a subroutine up, containing all the GDIplus calls involved (extracted from a bigger program elsewhere). All you have to do is to add declarations of the stated Subs/Functions, the associated Enums and Types. If you use FreeImage often, it is worthwhile to spend a little time on it. The subroutine is supposed to be...

  • Modified a comment on discussion Help on FreeImage

    Is there a simpler way to render images with transparency (alpha or a designated transparent color) obtained from FreeImage? There seems to be one; we might call GDIplus. Below I whipped a subroutine up, containing all the GDIplus calls involved (extracted from a bigger program elsewhere). All you have to do is to add declarations of the stated Subs/Functions, the associated Enums and Types. If you use FreeImage often, it is worthwhile to spend a little time on it. The subroutine is supposed to be...

  • Modified a comment on discussion Help on FreeImage

    Is there a simpler way to render images with transparency (alpha or a designated transparent color) obtained from FreeImage? There seems to be one; we might call GDIplus. Below I whipped a subroutine up, containing all the GDIplus calls involved (extracted from a bigger program elsewhere). All you have to do is to add declarations of the stated Subs/Functions, the associated Enums and Types. If you use FreeImage often, it is worthwhile to spend a little time on it. The subroutine is supposed to be...

  • Posted a comment on discussion Help on FreeImage

    Is there a simpler way to render images with transparency (alpha or a designated transparent color) obtained from FreeImage? There seems to be one; we might call GDIplus. Below I whipped a subroutine up, containing all the GDIplus calls involved (extracted from a bigger program elsewhere). All you have to do is to add declarations of the stated Subs/Functions, the associated Enums and Types. If you use FreeImage often, it is worthwhile to spend a little time on it. The subroutine is supposed to be...

  • Modified a comment on discussion Help on FreeImage

    I believe you can forget about merely relying on FreeImage_PaintTransparent. It is just too good to be True. There are remarks made by Carsten Klein, the great author, notably " Since this is a wrapper for the Windows GDI function AlphaBlend(), 32-bit images, containing alpha (or per-pixel) transparency, must be premultiplied for alpha transparent regions to actually show transparent. See MSDN help on the AlphaBlend() function. ...." To run AlphaBlend, both destination and source DIBs must be 32-BPP,...

  • Modified a comment on discussion Help on FreeImage

    I believe you can forget about merely relying on FreeImage_PaintTransparent. It is just too good to be True. There are remarks made by Carsten Klein, the great author, notably " Since this is a wrapper for the Windows GDI function AlphaBlend(), 32-bit images, containing alpha (or per-pixel) transparency, must be premultiplied for alpha transparent regions to actually show transparent. See MSDN help on the AlphaBlend() function. ...." To run AlphaBlend, both destination and source DIBs must be 32-BPP,...

  • Modified a comment on discussion Help on FreeImage

    I believe you can forget about merely relying on FreeImage_PaintTransparent. It is just too good to be True. There are remarks made by Carsten Klein, the great author, notably " Since this is a wrapper for the Windows GDI function AlphaBlend(), 32-bit images, containing alpha (or per-pixel) ransparency, must be premultiplied for alpha transparent regions to actually show transparent. See MSDN help on the AlphaBlend() function. ...." Note: To run AlphaBlend, both destination and source DIBs must be...

  • Modified a comment on discussion Help on FreeImage

    I believe you can forget about merely relying on FreeImage_PaintTransparent. It is just too good to be True. There are remarks made by Carsten Klein, the great author, notably " Since this is a wrapper for the Windows GDI function AlphaBlend(), 32-bit images, containing alpha (or per-pixel) ransparency, must be premultiplied for alpha transparent regions to actually show transparent. See MSDN help on the AlphaBlend() function. ...." Note: To run AlphaBlend, both destination and source DIBs must be...

View All

Personal Data

Username:
petersen4
Joined:
2009-04-23 23:20:35

Projects

  • No projects to display.

Personal Tools

Auth0 Logo