4
Answers

Keep gettting a hard time from people

John  Burns

John Burns

14y
2.3k
1

firstly apologies as this may be the wrong section to post, but it has the 'c#' word in it
most of you guys know im self studying, picking up books and learning at my own pace in my own way, nd making some good progress.
but my friends and family say that i need to stop this and get myself to university and get a degree as i wont get a job otherwise as there is no qualification in self study apart from Microsoft Certs but most employers wont be interested and would favour a degree.
they say i could do the degree then if i wanted to study for microsoft certs afterwards and i will have a better understanding afterwards.
what you guys think on this? i know its my choice but im stuck :S
Answers (4)
0
Santiago Felipe
NA 2 0 9y
Do you mean you want to convert the JPEG image to PNG while loading the JPEG image (and not after)?

Are you selecting and loading the JPEG image using the OpenFileDialog Class?

If yes, you can get the name of the JPEG file, pass it Image.FromFile method:
https://msdn.microsoft.com/en-us/library/system.drawing.image.fromfile.aspx
And then save it to PNG using the
Image.Save method (Stream, ImageFormat):
https://msdn.microsoft.com/en-us/library/ms142147.aspx

But if you face any problem while loading or saving the JPEG or PNG images, you can try using loading and saving features from leadtools programming toolkit.
0
Raja T
NA 7.4k 6k 9y
Hi,

Please refer below URLs

http://stackoverflow.com/questions/17294737/converting-an-image-to-png-on-upload


http://stackoverflow.com/questions/3906260/how-can-i-convert-a-jpeg-image-to-a-png-one-with-transparent-background


http://www.c-sharpcorner.com/UploadFile/scottlysle/ImageConverter09132006105604AM/ImageConverter.aspx

Thanks