Click here to Skip to main content
15,867,453 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# clear out global cache Pin
cptKoala14-Nov-12 21:50
cptKoala14-Nov-12 21:50 
GeneralRe: C# clear out global cache Pin
Pete O'Hanlon14-Nov-12 22:07
subeditorPete O'Hanlon14-Nov-12 22:07 
GeneralRe: C# clear out global cache Pin
cptKoala14-Nov-12 22:12
cptKoala14-Nov-12 22:12 
GeneralRe: C# clear out global cache Pin
Paul Conrad15-Nov-12 7:52
professionalPaul Conrad15-Nov-12 7:52 
GeneralRe: C# clear out global cache Pin
Pete O'Hanlon15-Nov-12 8:39
subeditorPete O'Hanlon15-Nov-12 8:39 
Questionpredefined type 'xxx' is defined in multiple assemblies in the global alias Pin
sc steinhayse14-Nov-12 5:23
sc steinhayse14-Nov-12 5:23 
QuestionRe: predefined type 'xxx' is defined in multiple assemblies in the global alias Pin
n.podbielski14-Nov-12 6:20
n.podbielski14-Nov-12 6:20 
QuestionConversion of HTML file into TIFF file Pin
ukraju14-Nov-12 1:25
ukraju14-Nov-12 1:25 
Hi,
Programatically I want to convert html file into tiff file.Can any body please help me how to do this using c#?I want to use this code in windows forms application. I just tried like below.

Image img = Image.FromFile(InputFile);
img.Save(OutputFile, ImageFormat.Tiff);

InputFile is a variable which is having path of a input html file. OutputFile is also a variable which is having path of output file.

When the first statement executed I am getting following exception.

"System.OutOfMemoryException: Out of memory"

Thanks in advance.

modified 14-Nov-12 7:41am.

AnswerRe: Conversion of HTML file into TIFF file Pin
Richard MacCutchan14-Nov-12 1:39
mveRichard MacCutchan14-Nov-12 1:39 
GeneralRe: Conversion of HTML file into TIFF file Pin
ukraju14-Nov-12 1:43
ukraju14-Nov-12 1:43 
GeneralRe: Conversion of HTML file into TIFF file Pin
Dave Kreskowiak14-Nov-12 1:52
mveDave Kreskowiak14-Nov-12 1:52 
GeneralRe: Conversion of HTML file into TIFF file Pin
BobJanova14-Nov-12 4:45
BobJanova14-Nov-12 4:45 
QuestionGet outlook password Pin
Sanjeev991813-Nov-12 20:32
Sanjeev991813-Nov-12 20:32 
AnswerRe: Get outlook password Pin
Pete O'Hanlon13-Nov-12 20:46
subeditorPete O'Hanlon13-Nov-12 20:46 
GeneralRe: Get outlook password Pin
Sanjeev991813-Nov-12 20:49
Sanjeev991813-Nov-12 20:49 
GeneralRe: Get outlook password Pin
n.podbielski13-Nov-12 21:04
n.podbielski13-Nov-12 21:04 
GeneralRe: Get outlook password Pin
Pete O'Hanlon13-Nov-12 22:04
subeditorPete O'Hanlon13-Nov-12 22:04 
GeneralRe: Get outlook password Pin
J4amieC13-Nov-12 22:38
J4amieC13-Nov-12 22:38 
GeneralRe: Get outlook password Pin
Manfred Rudolf Bihy13-Nov-12 22:39
professionalManfred Rudolf Bihy13-Nov-12 22:39 
GeneralRe: Get outlook password Pin
OriginalGriff14-Nov-12 4:38
mveOriginalGriff14-Nov-12 4:38 
GeneralRe: Get outlook password Pin
Dave Kreskowiak14-Nov-12 1:49
mveDave Kreskowiak14-Nov-12 1:49 
GeneralRe: Get outlook password Pin
Pete O'Hanlon14-Nov-12 2:05
subeditorPete O'Hanlon14-Nov-12 2:05 
GeneralRe: Get outlook password Pin
Dave Kreskowiak14-Nov-12 4:36
mveDave Kreskowiak14-Nov-12 4:36 
AnswerRe: Get outlook password Pin
Abhinav S13-Nov-12 21:07
Abhinav S13-Nov-12 21:07 
GeneralRe: Get outlook password Pin
Pete O'Hanlon13-Nov-12 22:06
subeditorPete O'Hanlon13-Nov-12 22:06 

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.