Click here to Skip to main content
15,915,818 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a word document contains few images that is in .png format.
How do i change the format from .png to .Jpeg.
Please advice.

Thanks.
Posted
Comments
Vani Kulkarni 13-Jul-12 0:22am    
Do you want to convert the images inside document to other format?
Lancy.net 13-Jul-12 1:01am    
Thanks for yr reply vani ... i need to extract all the .png images from word to a folder with .jpeg.

Hi,

see this link from the MSDN how to do it by saving the jpg to the disk:
http://msdn.microsoft.com/en-us/library/twss4wb0%28v=vs.90%29.aspx[^]

or this link which has a solution for converting the png to jpg in memory without buffering it to the hard disk:
http://codekicker.de/fragen/.net-Convert-png-to-jpg-csharp-image-convert-jpg[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900