Click here to Skip to main content
15,914,413 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralCryptAcquireContext Pin
Raphael Amorim31-Mar-03 8:09
professionalRaphael Amorim31-Mar-03 8:09 
QuestionHow to implement a Remoting object which uses Activex control Pin
shokisingh31-Mar-03 0:17
shokisingh31-Mar-03 0:17 
AnswerRe: How to implement a Remoting object which uses Activex control Pin
neroknights3-Apr-03 9:52
neroknights3-Apr-03 9:52 
Generalsunken vs. raised status bar border style Pin
Marc Clifton30-Mar-03 14:15
mvaMarc Clifton30-Mar-03 14:15 
GeneralRe: sunken vs. raised status bar border style Pin
Chris Jobson1-Apr-03 11:18
Chris Jobson1-Apr-03 11:18 
GeneralRe: sunken vs. raised status bar border style Pin
Marc Clifton1-Apr-03 13:49
mvaMarc Clifton1-Apr-03 13:49 
Generalflatstyle, buttons with bitmaps, and transparency Pin
Marc Clifton30-Mar-03 11:31
mvaMarc Clifton30-Mar-03 11:31 
GeneralRe: flatstyle, buttons with bitmaps, and transparency Pin
Chris Jobson1-Apr-03 11:30
Chris Jobson1-Apr-03 11:30 
GeneralRe: flatstyle, buttons with bitmaps, and transparency Pin
Marc Clifton1-Apr-03 13:51
mvaMarc Clifton1-Apr-03 13:51 
General.NET Equivelant to COM .EXE Server Pin
Jamie Nordmeyer28-Mar-03 7:32
Jamie Nordmeyer28-Mar-03 7:32 
GeneralRe: .NET Equivelant to COM .EXE Server Pin
Stephane Rodriguez.30-Mar-03 7:27
Stephane Rodriguez.30-Mar-03 7:27 
Generalreturning a structure from a XML Web Service Pin
Ray Cassick27-Mar-03 17:41
Ray Cassick27-Mar-03 17:41 
GeneralRe: returning a structure from a XML Web Service Pin
Ray Cassick27-Mar-03 18:29
Ray Cassick27-Mar-03 18:29 
GeneralCDATA? Pin
Paul Watson1-Apr-03 7:21
sitebuilderPaul Watson1-Apr-03 7:21 
GeneralRe: CDATA? Pin
Ray Cassick1-Apr-03 12:01
Ray Cassick1-Apr-03 12:01 
GeneralRe: CDATA? Pin
Paul Watson1-Apr-03 18:14
sitebuilderPaul Watson1-Apr-03 18:14 
GeneralRe: CDATA? Pin
Anonymous1-Apr-03 19:06
Anonymous1-Apr-03 19:06 
GeneralRe: CDATA? Pin
Ray Cassick1-Apr-03 19:08
Ray Cassick1-Apr-03 19:08 
GeneralTransparent GIF in .NET Pin
Paul Watson26-Mar-03 8:42
sitebuilderPaul Watson26-Mar-03 8:42 
GeneralRe: Transparent GIF in .NET Pin
Daniel Turini26-Mar-03 9:32
Daniel Turini26-Mar-03 9:32 
GeneralIE PNG Problem, save as 8bit Pin
Paul Watson26-Mar-03 21:01
sitebuilderPaul Watson26-Mar-03 21:01 
GeneralRe: Transparent GIF in .NET Pin
leppie26-Mar-03 12:01
leppie26-Mar-03 12:01 
General32bit to 8bit PNG conversion? Pin
Paul Watson26-Mar-03 21:06
sitebuilderPaul Watson26-Mar-03 21:06 
GeneralRe: 32bit to 8bit PNG conversion? Pin
Stephane Rodriguez.28-Mar-03 3:18
Stephane Rodriguez.28-Mar-03 3:18 
Paul Watson wrote:
convert that 32bit PNG to an 8bit PNG, then PNG transparency works in IE

There are at least two ways. But this remains theory until practice shows it works.

The first way to achieve 32bit --> 8bit color reduction is to explicitely set an encoder attribute when you are saving your file. This code snippet[^] shows how to proceed. Of course, it is going to work if the built-in GDI+ PNG encoder directly supports paletted formats such as 8bpp.

The other way is to explicitely convert the current image into a palettized one. There is a GDI (not GDI+) function which does that job : it's CreateHalftonePalette. And it has to be used in conjunction with other functions to make sure it is applied on the image. More info in this code snippet[^]. (this sample uses GetHalftonePalette instead of CreateHalftonePalette, which might be enough to do the job, in fact).
GeneralRe: 32bit to 8bit PNG conversion? Pin
Paul Watson1-Apr-03 7:23
sitebuilderPaul Watson1-Apr-03 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.