converting bmp to jpg in java

前端 未结 1 346
醉话见心
醉话见心 2021-01-22 23:29

How do you convert bmp to jpg in Java? I know how to use the ImageIO way but is there a much faster or better way of doing it?

This is the ImageIO way of do

相关标签:
1条回答
  • 2021-01-22 23:59

    Yes you will. Actually regardless of the way to convert a BMP (lossless) to JPG (lossy) you always lose quality. You can limit the damage if you set the JPG quality to 100% (which kind of defeats the purpose in my opinion).

    Use this tutorial to fix it.

    0 讨论(0)
提交回复
热议问题