convert tiff to jpg format

后端 未结 4 2027
天涯浪人
天涯浪人 2020-12-03 08:01

I have a tiff image with two pages. When I convert the file to jpg format I lost second pages. Is there any way to put two images on tiff file into one jpg file. Because of

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-03 08:36

    using System.Drawing;
    using System.Drawing.Imaging;
    
    Bitmap bm=Bitmap.FromFile("photo.tif");
    bm.Save("photo.jpg",ImageFormat.Jpeg);
    

提交回复
热议问题