Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
AnswerRe: Troubles with a DPI Aware application Pin
Ciumac Sergiu26-Jan-10 7:10
Ciumac Sergiu26-Jan-10 7:10 
QuestionBIZTALK questions: do not import duplicate data coming from csv file to sql server table Pin
challa_praveena26-Jan-10 6:46
challa_praveena26-Jan-10 6:46 
AnswerRe: BIZTALK questions: do not import duplicate data coming from csv file to sql server table Pin
PIEBALDconsult26-Jan-10 7:11
mvePIEBALDconsult26-Jan-10 7:11 
Questionsending output to a multiline text box. Pin
CodeRed300026-Jan-10 5:11
CodeRed300026-Jan-10 5:11 
AnswerRe: sending output to a multiline text box. Pin
Rob Philpott26-Jan-10 5:20
Rob Philpott26-Jan-10 5:20 
AnswerRe: sending output to a multiline text box. Pin
OriginalGriff26-Jan-10 5:26
mveOriginalGriff26-Jan-10 5:26 
AnswerRe: sending output to a multiline text box. Pin
Luc Pattyn26-Jan-10 6:15
sitebuilderLuc Pattyn26-Jan-10 6:15 
Questionvery fast image conversion from jpg to bmp in c# Pin
Mohammad Mahdipour26-Jan-10 3:32
Mohammad Mahdipour26-Jan-10 3:32 
Hi all developers,

I have spent a lot of time to find a fast way for converting a stream of jpg images to bitmap format in c# (to use in a n image processing unit in my application). The conversion in my code is done as follows:

using (MemoryStream ms = new MemoryStream(imageBytes))
{
this.bqi.Bitmap = new Bitmap(ms);
}

in these code lines, imageBytes contains jpg image data ready to convert to bitmap format. These images are coming in from an IP camera as a web server. The frame rate is 15 frames per second, and converting 15 frames per second to Bitmap in this way takes too much time of CPU and the application is almost unable to do any other job when preview is on.

Is there any workaround for this conversion without need to much cpu usage? Is there any solution on using directshow for converting jpg to bmp on gpu?

any suggestions appreciated.

thanks in advance

----------
Eric(M.M)

AnswerRe: very fast image conversion from jpg to bmp in c# Pin
Natza Mitzi26-Jan-10 3:46
Natza Mitzi26-Jan-10 3:46 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
harold aptroot26-Jan-10 3:50
harold aptroot26-Jan-10 3:50 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
Natza Mitzi26-Jan-10 4:58
Natza Mitzi26-Jan-10 4:58 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
harold aptroot26-Jan-10 5:30
harold aptroot26-Jan-10 5:30 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
Natza Mitzi26-Jan-10 8:13
Natza Mitzi26-Jan-10 8:13 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
harold aptroot26-Jan-10 8:19
harold aptroot26-Jan-10 8:19 
AnswerRe: very fast image conversion from jpg to bmp in c# Pin
Luc Pattyn26-Jan-10 4:05
sitebuilderLuc Pattyn26-Jan-10 4:05 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
Mohammad Mahdipour26-Jan-10 18:31
Mohammad Mahdipour26-Jan-10 18:31 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
Luc Pattyn27-Jan-10 12:47
sitebuilderLuc Pattyn27-Jan-10 12:47 
AnswerRe: very fast image conversion from jpg to bmp in c# [modified] Pin
The Zetta26-Jan-10 6:07
The Zetta26-Jan-10 6:07 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
Ennis Ray Lynch, Jr.26-Jan-10 10:48
Ennis Ray Lynch, Jr.26-Jan-10 10:48 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
The Zetta27-Jan-10 5:30
The Zetta27-Jan-10 5:30 
AnswerRe: very fast image conversion from jpg to bmp in c# Pin
Mohammad Mahdipour26-Jan-10 18:37
Mohammad Mahdipour26-Jan-10 18:37 
QuestionBasic SQL connection through classes Pin
Steve-Co26-Jan-10 0:09
Steve-Co26-Jan-10 0:09 
AnswerRe: Basic SQL connection through classes Pin
#realJSOP26-Jan-10 0:12
mve#realJSOP26-Jan-10 0:12 
GeneralRe: Basic SQL connection through classes Pin
Steve-Co26-Jan-10 0:24
Steve-Co26-Jan-10 0:24 
GeneralRe: Basic SQL connection through classes Pin
J4amieC26-Jan-10 0:41
J4amieC26-Jan-10 0:41 

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.