yigolden / openslidenet Goto Github PK
View Code? Open in Web Editor NEW.NET bindings for OpenSlide (http://openslide.org/)
License: MIT License
.NET bindings for OpenSlide (http://openslide.org/)
License: MIT License
Hi,
I am trying whole slide image viewing on windows c# form application without server and client.
I run OpenSlide.Net examples and results are fine.
Can I use OpenSlide library with any image viewer on C# form application.
The next OpenSlide release, 4.0.0, will include some incompatible API changes. Those are unlikely to affect you directly, but as a consequence, OpenSlide's soname will change. This will change the library filename to libopenslide-1.dll
on Windows, libopenslide.1.dylib
on macOS, and libopenslide.so.1
on Linux. Since OpenSlideNET loads OpenSlide by filename, you may want to proactively add support for the new names so OpenSlideNET will work with the new release.
For more information, see openslide/openslide#413. If you have any questions, please ask!
A minor issue, but throughout the API, 'Dimensions' is misspelt as 'Dimemsions'. Also shouldn't the property ObjectiveColor actually be ObjectivePower? 🤔
Severity Code Description Project File Line Suppression State
Error Could not install package 'OpenSlideNET 1.0.0-preview4-18080601'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
i want to use OpenSlideInterop.Open(filename) to open online file with extension .tiff but I cant so please help .
im not sure if this is a problem with OpenSlideNET's implementation of SixLabors.ImageSharp but when trying to retrieve an associated image as JPEG the SixLabors.ImageSharp throughs a method not found error. i have built OpenSlideNET as a net472 package after having difficulties with the missing NativeStubs (that apparently arent required anyway)
any ideas on what may be missing?
I am trying to figure out why OpenSlideNet works on my Windows computer at home in Visual Studio 2019 (web form project), but I cannot get it to work on my Windows computer at work in Visual Studio 2019 (web form project). I get a "An attempt was made to load a program with an incorrect format" which I believe means OpenSlideNet is not finding libopenslide-0.dll. I have my path set and Python, on my computer at work, finds the library fine. I have tried to putting the libopenslide-0.dll in my project \bin folder, but to no avail. I believe I installed OpenSlide and OpenSlideNet the same way at home and work, but I am missing something. If someone can provide advise or Visual Studio installation I would appreciate it.
Hi All,
I'm using .NET Framework 4.6.1 SDK.
Is there any version of the OpenSlideNET that support .NET Framework?
I will be appreciate if you can give me one.
Thanks a lot!
When Windows regional settings do not have '.' as the decimal symbol - as is common in many European countries, for example - floating point properties such as OpenSlideImage.MicronsPerPixelX
and OpenSlideImage.MicronsPerPixelY
are parsed incorrectly from their string equivalent properties. This stems from the use of the double.TryParse(string, out double)
method which is culture sensitive.
The OpenSlide library uses the g_ascii_dtostr
method to convert double
s to string
s which ensures that '.' is used as the decimal point.
The properties should parse the string using the invariant culture in double.TryParse(string, NumberStyles, IFormatProvider, out double)
where IFormatProvider
is CultureInfo.InvariantCulture
which uses '.' as the decimal symbol.
Consider doing similar for the float
and double
GetProperty
extension methods too.
I am running your example for Multislide server. I modified it to point to my whole slide image.
It appears that the boundary width/height are being used instead of the actual slide width/height?
However, some of the tiles are all black, presumably empty. I would prefer them to be all white.
-Gina
Is it because I installed it wrong?
Console.WriteLine(OpenSlideImage.LibraryVersion);
Version can be detected
Visual studio 2019, net core 3.1
pubilsh for linux-x64
run in ubuntu 1910 x64 have exception:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'libopenslide-0.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibopenslide-0.dll: cannot open shared object file: No such file or directory
libopenslide-0.dll.so file and executables are in the same directory, i think nuget is worked.
this is my FolderProfile.pubxml in my visual studio, it‘s auto-generated by Build - Publish in vs:
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp3.1</TargetFramework>
<PublishDir>bin\Release\netcoreapp3.1\publish\</PublishDir>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<SelfContained>true</SelfContained>
<PublishSingleFile>False</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishTrimmed>True</PublishTrimmed>
</PropertyGroup>
</Project>
Hi,
Congrats to your great work on this project! I'm working on a related project recently. Can we talk in private?
Looking forward to hear from you at [email protected].
Hi,
I've looked through the examples you have provided in this GitHub project and it seems like you're suggesting an approach where tiles are being generated on the fly.
Would you care to provide an example where you make use of DeepZoomGenerator
to generate tiles ahead of time?
I've pulled the package from nuget. It looks like DeepZoomGenerator.cs version 1.0.0 is missing Dispose?
The last version that I found containing it was 1.0.0-preview5-20022501.
Thanks!
Hi I am trying to do add read region handler. not giving me jpeg image. any help please
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.