<p>Is there any way to convert a bmp image to jpg/png without losing the quality in C#? Using Image class we can convert bmp to jpg but the quality of output image is very poor. Can we gain the quality level as good as an image converted to jpg using photoshop with highest quality?</p>

You can try:
```
```
Bitmap.InterpolationMode = InterpolationMode.HighQualityBicubic;
```
```
and
```
```
Bitmap.CompositingQuality = CompositingQuality.HighQuality;
```
```
Which does keep the quality fairly high, but not the highest possible.