偉大なサンプルプロジェクトhereがあります。あなたが本当に狂っていて、プログラムや画像/タイルを生成したいのであれば、this MSDN articleで参照されている種類のものを試すことができます。
DeepZoomTools.dllに関する実際のドキュメントはほとんど見つかりませんでしたが、アップロードした単一のイメージをDeep Zoomソースに変換するための小さなテストWebサービスを作成しました。関連するコードは次のとおりです。リターンパスがそうのように使用されて
public string CreateDeepZoomImage(byte[] abyte, string fileName)
{
ImageCreator ic = new ImageCreator();
string FilePath = Path.Combine(_uploadPath, fileName);
System.IO.FileStream fs = new System.IO.FileStream(FilePath, System.IO.FileMode.Create);
fs.Write(abyte, 0, abyte.Length);
fs.Close();
FileInfo imageFileInfo = new FileInfo(FilePath);
string destination = imageFileInfo.DirectoryName + "\\" + imageFileInfo.Name.TrimEnd(imageFileInfo.Extension.ToCharArray()) + "\\output.xml";
ic.Create(FilePath, destination);
string returnpath = "/Uploads/" + imageFileInfo.Name.TrimEnd(imageFileInfo.Extension.ToCharArray()) + "/output.xml";
return returnpath;
}
は:
ZoomImage.Source = new DeepZoomImageTileSource(new Uri(e.Result, UriKind.Relative));
(ずさんなコードを許すことがが動作しません。)
おかげリンクは、オブジェクトに関する非常に有益ですモデルが、初心者として実行可能なサンプルはありますか? – George2