Click here to Skip to main content
15,913,487 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reset Panel Pin
Stefan Troschuetz22-Oct-05 8:30
Stefan Troschuetz22-Oct-05 8:30 
Questionwin32 API or DirectSound Pin
pakFari22-Oct-05 7:58
pakFari22-Oct-05 7:58 
AnswerRe: win32 API or DirectSound Pin
André Ziegler22-Oct-05 9:00
André Ziegler22-Oct-05 9:00 
GeneralRe: win32 API or DirectSound Pin
pakFari22-Oct-05 18:29
pakFari22-Oct-05 18:29 
GeneralRe: win32 API or DirectSound Pin
André Ziegler23-Oct-05 5:07
André Ziegler23-Oct-05 5:07 
GeneralRe: win32 API or DirectSound Pin
pakFari23-Oct-05 7:58
pakFari23-Oct-05 7:58 
GeneralRe: win32 API or DirectSound Pin
André Ziegler23-Oct-05 11:16
André Ziegler23-Oct-05 11:16 
GeneralRe: win32 API or DirectSound Pin
pakFari23-Oct-05 16:56
pakFari23-Oct-05 16:56 
GeneralRe: win32 API or DirectSound Pin
André Ziegler24-Oct-05 12:26
André Ziegler24-Oct-05 12:26 
QuestionUsing C++ class in C# project Pin
patgo22-Oct-05 7:42
patgo22-Oct-05 7:42 
AnswerRe: Using C++ class in C# project Pin
S. Senthil Kumar23-Oct-05 2:25
S. Senthil Kumar23-Oct-05 2:25 
QuestionRepeating an image instead of resizing it Pin
Melanius22-Oct-05 7:23
Melanius22-Oct-05 7:23 
QuestionHow to retrieve email address from exchange. Pin
Member 107077822-Oct-05 7:15
Member 107077822-Oct-05 7:15 
QuestionHow to fix the form location on the screen? Pin
majidbhutta22-Oct-05 6:50
majidbhutta22-Oct-05 6:50 
QuestionRe: How to fix the form location on the screen? Pin
sejal12312-Jan-09 19:52
sejal12312-Jan-09 19:52 
QuestionResizing of controls Pin
wasife22-Oct-05 6:09
wasife22-Oct-05 6:09 
AnswerRe: Resizing of controls Pin
MoustafaS22-Oct-05 6:52
MoustafaS22-Oct-05 6:52 
Questionunmanaged dll problems/questions Pin
FreeClimber22-Oct-05 5:52
FreeClimber22-Oct-05 5:52 
QuestionProblem in using DirectSound Pin
Anonymous22-Oct-05 3:12
Anonymous22-Oct-05 3:12 
AnswerRe: Problem in using DirectSound Pin
André Ziegler22-Oct-05 4:03
André Ziegler22-Oct-05 4:03 
Questionchanging image format Pin
XeoN-Kc22-Oct-05 2:16
XeoN-Kc22-Oct-05 2:16 
Hi there I've encountered a small problemo......
I'm trying to change brightness of an image...so far so good.

However I managed to make it work on 24-bit format images. When the filter is fed with an image which is either 8bit indexed or 32-bit formats...it fails!

...is there any way to access 8-bit indexed images with C# pointers!

I was observing this message board and found out the following code:
<br />
// create new image with desired pixel format<br />
Bitmap bmp = new Bitmap(width, height, PixelFormat.Format32bppArgb);<br />
<br />
// draw source image on the new one using Graphics<br />
Graphics g = Graphics.FromImage(bmp);<br />
g.DrawImage(src, 0, 0, width, height);<br />
g.Dispose();<br />

...Many thanks to Andy Kirillov

Does the above code...'store' my image as a 24 bit image?

The code project....a perfect experience Cool | :cool:

-- modified at 8:39 Saturday 22nd October, 2005
AnswerRe: changing image format Pin
Andrew Kirillov22-Oct-05 3:04
Andrew Kirillov22-Oct-05 3:04 
QuestionMemory consumption Pin
mohammad92922-Oct-05 2:15
mohammad92922-Oct-05 2:15 
QuestionHeader/Detail Approach Pin
dabuskol22-Oct-05 1:14
dabuskol22-Oct-05 1:14 
QuestionChanging Regional Settings Pin
Zapss22-Oct-05 0:54
Zapss22-Oct-05 0:54 

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.