c# - 使用 OpenSlide 的问题
问题描述
我是 C# 新手,无法让 OpenSlide 工作。我需要它才能读取 SVS 文件。下面是我使用的代码。我有可能在目录中遗漏了一些东西吗?我的老板使用了相同的代码,并且可以毫无问题地运行它。我收到以下错误:OpenSlideNET.OpenSlideUnsupportedFormatException: 'OpenSlideNET.OpenSlideUnsupportedFormatException' 类型的异常被抛出。
using OpenSlideNET;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SVSCurrent1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
OpenSlideImage image = OpenSlideImage.Open("C:\\projects\\SVS\\JP2K-33003-1.svs");
}
}
}
解决方案
推荐阅读
- c# - 无法弄清楚如何从另一个脚本访问 int
- sql - 返回具有相同 ref_id 的每个元素的最后一个数量
- python - python:在Numpy数组数组中的每个数组末尾填充零
- unity3d - 如何在一定空间内放置固定宽度的重叠元素?
- javascript - 如何使用液体模板语言在循环中添加锚标记?
- asp.net-core - Aspnet Core - web.config 授权
- android - React-Native 如何在异步功能完成后显示警报?
- kubernetes - 使用 ArangoDB Kubernetes Operator 的 Horizontal Pod Autoscaler
- docker - 挂载一个卷以在 jenkinsfile 中共享 docker 容器的结果
- c++ - 浮点比较给出错误的结果和精度变化