How to open a multi-frame TIFF imageformat image in .NET 2.0?

前端 未结 3 1090
猫巷女王i
猫巷女王i 2020-12-08 11:53
Image.FromFile(@\"path\\filename.tif\")

or

Image.FromStream(memoryStream)

both produce image objects with only on

3条回答
  •  甜味超标
    2020-12-08 12:19

    bitmap.Dispose();

    After For loop you need to Dispose bitmap. Otherwise you get error "file using other process" when try to use same file in other process.

提交回复
热议问题