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

.NET (Core and Framework)

 
AnswerRe: about .net framework 2.0 or later Pin
CWIZO26-Mar-06 2:49
CWIZO26-Mar-06 2:49 
AnswerRe: about .net framework 2.0 or later Pin
Dave Kreskowiak26-Mar-06 4:47
mveDave Kreskowiak26-Mar-06 4:47 
QuestionDeploying Assembly and Loading Pin
Subby Dev25-Mar-06 21:06
Subby Dev25-Mar-06 21:06 
AnswerRe: Deploying Assembly and Loading Pin
Tim Paaschen26-Mar-06 18:55
Tim Paaschen26-Mar-06 18:55 
GeneralRe: Deploying Assembly and Loading Pin
Subby Dev27-Mar-06 6:08
Subby Dev27-Mar-06 6:08 
Questionsdf Pin
virz24-Mar-06 16:49
virz24-Mar-06 16:49 
AnswerRe: sdf Pin
HimaBindu Vejella27-Mar-06 21:22
HimaBindu Vejella27-Mar-06 21:22 
Questionchanging image resolution in C#.NET Pin
sarabjs24-Mar-06 8:27
sarabjs24-Mar-06 8:27 
I wish to convert a 96dpi image to a 300dpi image in .NET...

Here's the code I currently use:

// iMage is the original 96dpi image
int iNht=(iMage.Height*300)/96;
int iNwd=(iMage.Width*300)/96;
Bitmap bMap=new Bitmap(iMage,iNwd,iNht);
bMap.SetResolution(300,300);
iMage=bMap;

The code works fine, but there's one problem - the 300dpi image is of poor quality (appears kinda faded)... Time is of concern, so I'm avoiding needing to write my own resize method... But the poorer quality is also not acceptable!! Frown | :(

Any ideas??

Thanks!!
AnswerRe: changing image resolution in C#.NET Pin
Guffa24-Mar-06 9:59
Guffa24-Mar-06 9:59 
GeneralRe: changing image resolution in C#.NET Pin
sarabjs24-Mar-06 11:14
sarabjs24-Mar-06 11:14 
GeneralRe: changing image resolution in C#.NET Pin
sarabjs28-Mar-06 4:25
sarabjs28-Mar-06 4:25 
QuestionHow to safely rename directory? Pin
HamCoder24-Mar-06 4:19
HamCoder24-Mar-06 4:19 
AnswerRe: How to safely rename directory? Pin
Guffa24-Mar-06 5:03
Guffa24-Mar-06 5:03 
Question.Net Framework 2.0 with VS .Net 2002 Pin
Vijaykumar Rajaram23-Mar-06 7:22
Vijaykumar Rajaram23-Mar-06 7:22 
AnswerRe: .Net Framework 2.0 with VS .Net 2002 Pin
Dan Neely23-Mar-06 8:10
Dan Neely23-Mar-06 8:10 
AnswerRe: .Net Framework 2.0 with VS .Net 2002 Pin
HimaBindu Vejella27-Mar-06 21:17
HimaBindu Vejella27-Mar-06 21:17 
QuestionRs232 Initialization? Pin
swcrissman23-Mar-06 6:32
swcrissman23-Mar-06 6:32 
AnswerRe: Rs232 Initialization? Pin
Ed.Poore24-Mar-06 7:57
Ed.Poore24-Mar-06 7:57 
AnswerRe: Rs232 Initialization? Pin
Ray Cassick24-Mar-06 11:45
Ray Cassick24-Mar-06 11:45 
QuestionThis remoting proxy has no channel sink Pin
Tom Mat23-Mar-06 2:34
Tom Mat23-Mar-06 2:34 
Questioncombo box contents not updating in Windows Forms Pin
analytiks22-Mar-06 22:01
analytiks22-Mar-06 22:01 
AnswerRe: combo box contents not updating in Windows Forms Pin
analytiks23-Mar-06 17:27
analytiks23-Mar-06 17:27 
Questionxml schema question Pin
Brayan__22-Mar-06 5:15
Brayan__22-Mar-06 5:15 
Generalprogram.exe has encountered a problem and needs to close. Pin
Jan R Hansen21-Mar-06 23:08
Jan R Hansen21-Mar-06 23:08 
GeneralRe: program.exe has encountered a problem and needs to close. Pin
Vasudevan Deepak Kumar22-Mar-06 18:31
Vasudevan Deepak Kumar22-Mar-06 18:31 

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.