Bmp to jpg/png in C#

前端 未结 7 1884
无人共我
无人共我 2020-11-29 01:41

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

7条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 02:24

    Fundamentally you won't be able to keep the same quality because jpg is (so far as I'm aware) always lossy even with the highest possible quality settings.

    If bit-accurate quality is really important, consider using png, which has some modes which are lossless.

提交回复
热议问题