Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
AnswerRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Pete O'Hanlon11-Feb-09 9:10
mvePete O'Hanlon11-Feb-09 9:10 
GeneralRe: Syntax head-scratcher - [Google & MSDN no help] - @return??? Pin
Alaric_11-Feb-09 9:18
professionalAlaric_11-Feb-09 9:18 
News[Message Deleted] Pin
AmeetP11-Feb-09 7:05
AmeetP11-Feb-09 7:05 
GeneralRe: Good Site Can have a look Pin
Dave Kreskowiak11-Feb-09 7:18
mveDave Kreskowiak11-Feb-09 7:18 
GeneralRe: Good Site Can have a look Pin
AmeetP11-Feb-09 8:09
AmeetP11-Feb-09 8:09 
GeneralRe: Good Site Can have a look Pin
EliottA11-Feb-09 8:11
EliottA11-Feb-09 8:11 
GeneralRe: Good Site Can have a look Pin
#realJSOP11-Feb-09 9:59
professional#realJSOP11-Feb-09 9:59 
Questionsong/tune comparison Pin
Vishnu Prem11-Feb-09 7:03
Vishnu Prem11-Feb-09 7:03 
AnswerRe: song/tune comparison Pin
musefan11-Feb-09 7:06
musefan11-Feb-09 7:06 
AnswerRe: song/tune comparison Pin
Alan Balkany11-Feb-09 8:24
Alan Balkany11-Feb-09 8:24 
Questionany one wokred with Casswaory linear programming. Pin
sailesh_gupta11-Feb-09 6:24
sailesh_gupta11-Feb-09 6:24 
AnswerRe: any one wokred with Casswaory linear programming. Pin
Guffa11-Feb-09 7:02
Guffa11-Feb-09 7:02 
GeneralRe: any one wokred with Casswaory linear programming. Pin
sailesh_gupta11-Feb-09 7:05
sailesh_gupta11-Feb-09 7:05 
QuestionCut a file in a specific directory and put it in another directory Pin
abbd11-Feb-09 6:05
abbd11-Feb-09 6:05 
AnswerRe: Cut a file in a specific directory and put it in another directory Pin
Giorgi Dalakishvili11-Feb-09 6:13
mentorGiorgi Dalakishvili11-Feb-09 6:13 
AnswerRe: Cut a file in a specific directory and put it in another directory Pin
musefan11-Feb-09 6:14
musefan11-Feb-09 6:14 
QuestionClass Libraries and Web References Pin
caksabre211-Feb-09 5:39
caksabre211-Feb-09 5:39 
AnswerRe: Class Libraries and Web References Pin
J4amieC11-Feb-09 5:47
J4amieC11-Feb-09 5:47 
GeneralRe: Class Libraries and Web References Pin
caksabre211-Feb-09 5:59
caksabre211-Feb-09 5:59 
QuestionTransform a file from Word to PDF and from PDF to Word Pin
abbd11-Feb-09 5:10
abbd11-Feb-09 5:10 
AnswerRe: Transform a file from Word to PDF and from PDF to Word Pin
Giorgi Dalakishvili11-Feb-09 6:17
mentorGiorgi Dalakishvili11-Feb-09 6:17 
GeneralRe: Transform a file from Word to PDF and from PDF to Word Pin
DJ-Boris11-Feb-09 6:50
DJ-Boris11-Feb-09 6:50 
GeneralRe: Transform a file from Word to PDF and from PDF to Word Pin
abbd11-Feb-09 21:11
abbd11-Feb-09 21:11 
Questionretaining alpha channels from 32bpp bmp Pin
Doof36911-Feb-09 5:01
Doof36911-Feb-09 5:01 
AnswerRe: retaining alpha channels from 32bpp bmp Pin
Dave Kreskowiak11-Feb-09 6:42
mveDave Kreskowiak11-Feb-09 6:42 
Doof369 wrote:
I am having difficulty in keeping the alpha channels in my images when I open them into a c# pictureBox.


What did you expect the PictureBox to do?? It's only a "noobie" control used to quick'n'dirty show a single image. It doens't do any magical transformations on the image it's showing.


Doof369 wrote:
I gather that a pictureBox doesn't actually keep the alpha channel


Yes it does, becuase it doesn't manipulate the Image object you passed to it in any way. Just because it doesn't show the results of the alpha channel, doesn't mean that it complete tossed it.


Doof369 wrote:
I need to store the info in memory and work on the data there, pre-multiplying the alpha channels and doing any other calculations I need to with the raw data and then display the result when all is done.


That's exactly what you have to do. Check out the excellent series of articles Christian Grauss put together on image filters, here[^].


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




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.