Permalink
Please sign in to comment.
Browse files
Replace OpenSlide.fileIsValid() with detectVendor()
openslide_can_open() is slow and deprecated. openslide_detect_vendor() can return non-null on files that openslide_open() will reject, so we don't attempt to implement a fileIsValid() method with it.
- Loading branch information...
Showing
with
15 additions
and 12 deletions.
- +1 −1 README.txt
- +8 −5 openslide-jni.c
- +3 −3 src/org/openslide/OpenSlide.java
- +1 −1 src/org/openslide/OpenSlideJNI.java
- +2 −2 src/org/openslide/TestCLI.java
0 comments on commit
117011b