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

C#

 
GeneralRe: Object Serialization with an ArrayList Pin
Hessam Jalali7-Aug-07 6:43
Hessam Jalali7-Aug-07 6:43 
QuestionCannot generate SSPI context error Pin
xbiplav6-Aug-07 5:17
xbiplav6-Aug-07 5:17 
AnswerRe: Cannot generate SSPI context error Pin
snorkie6-Aug-07 11:49
professionalsnorkie6-Aug-07 11:49 
AnswerRe: Cannot generate SSPI context error Pin
mav.northwind7-Aug-07 1:18
mav.northwind7-Aug-07 1:18 
QuestionFile Encoding Pin
Sean_B6-Aug-07 4:22
Sean_B6-Aug-07 4:22 
AnswerRe: File Encoding Pin
Luc Pattyn6-Aug-07 4:37
sitebuilderLuc Pattyn6-Aug-07 4:37 
GeneralRe: File Encoding Pin
Sean_B6-Aug-07 5:26
Sean_B6-Aug-07 5:26 
QuestionPNG compression? Pin
Mad_Mike6-Aug-07 3:52
Mad_Mike6-Aug-07 3:52 
Hi all,

I really hope there is a simple and good solution for my problem. I'm opening a .jpg image (640 x 480 pixels / 96 x 96 dpi / 24 bit depth / 30kb) using Image.FromFile(); After that i'm creating a thumbnail using
GetThumbnailImage(298, 160, dummyCallBack, IntPtr.Zero);
thumbNailImg.save(location, ImageFormat.Png);

This results in a .png image (298 x 168 pixels / 178 x 134 dpi / 32 bit depth / 90kb). But as result i want a smaller (compressed) png image with the following attributes: 298 x 168 pixels, 71dpi, 24 bits depth. How can this be done? I've been looking all over the internet but didn't find any good solution.

Anyone who can help me out? Thanks in advance!
AnswerRe: PNG compression? [modified] Pin
PhilDanger6-Aug-07 4:11
PhilDanger6-Aug-07 4:11 
GeneralRe: PNG compression? Pin
Mad_Mike6-Aug-07 4:14
Mad_Mike6-Aug-07 4:14 
GeneralRe: PNG compression? Pin
PhilDanger6-Aug-07 4:29
PhilDanger6-Aug-07 4:29 
GeneralRe: PNG compression? Pin
Mad_Mike6-Aug-07 5:04
Mad_Mike6-Aug-07 5:04 
Questionexcel Pin
TAREQ F ABUZUHRI6-Aug-07 3:10
TAREQ F ABUZUHRI6-Aug-07 3:10 
AnswerRe: excel Pin
Nisar Inamdar6-Aug-07 3:13
Nisar Inamdar6-Aug-07 3:13 
GeneralRe: excel Pin
TAREQ F ABUZUHRI6-Aug-07 4:03
TAREQ F ABUZUHRI6-Aug-07 4:03 
AnswerRe: excel Pin
Vasudevan Deepak Kumar6-Aug-07 3:23
Vasudevan Deepak Kumar6-Aug-07 3:23 
AnswerRe: excel Pin
Giorgi Dalakishvili6-Aug-07 3:25
mentorGiorgi Dalakishvili6-Aug-07 3:25 
AnswerRe: excel Pin
Bhavesh Bagadiya6-Aug-07 4:26
Bhavesh Bagadiya6-Aug-07 4:26 
GeneralRe: excel Pin
\laddie6-Aug-07 4:29
\laddie6-Aug-07 4:29 
AnswerRe: excel Pin
\laddie6-Aug-07 4:27
\laddie6-Aug-07 4:27 
QuestionAdd variable to object reference Pin
Rick van Woudenberg6-Aug-07 2:30
Rick van Woudenberg6-Aug-07 2:30 
AnswerRe: Add variable to object reference Pin
Luc Pattyn6-Aug-07 2:52
sitebuilderLuc Pattyn6-Aug-07 2:52 
AnswerRe: Add variable to object reference Pin
Vasudevan Deepak Kumar6-Aug-07 3:24
Vasudevan Deepak Kumar6-Aug-07 3:24 
AnswerRe: Add variable to object reference Pin
\laddie6-Aug-07 3:33
\laddie6-Aug-07 3:33 
AnswerRe: Add variable to object reference Pin
Colin Angus Mackay6-Aug-07 3:44
Colin Angus Mackay6-Aug-07 3:44 

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.