From 4e908cbadc37d5055e5d2695fa58ce53d040625c Mon Sep 17 00:00:00 2001
From: Benjamin Gilbert
Date: Sat, 11 Jun 2016 21:27:42 -0500
Subject: [PATCH] api/python: Update for OpenSlide Python 1.1.1
---
api/python/.buildinfo | 2 +-
api/python/index.html | 46 ++++++++++++++++++++++--------------------
api/python/objects.inv | 2 +-
api/python/search.html | 14 ++++++-------
api/python/searchindex.js | 2 +-
api/python/sources/index.txt | 9 ++++++---
api/python/static/jquery.js | 2 +-
api/python/static/pygments.css | 3 +++
8 files changed, 44 insertions(+), 36 deletions(-)
diff --git a/api/python/.buildinfo b/api/python/.buildinfo
index 2992076..75c1041 100644
--- a/api/python/.buildinfo
+++ b/api/python/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 1806d36fc8385536bf47e3b3ce303cc0
+config: fb3a52c449aa26d7e74c2c0eac3445b2
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/api/python/index.html b/api/python/index.html
index 667ab5c..ef65192 100644
--- a/api/python/index.html
+++ b/api/python/index.html
@@ -6,7 +6,7 @@
- OpenSlide Python — OpenSlide Python 1.1.0 documentation
+ OpenSlide Python — OpenSlide Python 1.1.1 documentation
@@ -14,7 +14,7 @@
-
+
@@ -55,9 +55,10 @@
Hamamatsu (.ndpi, .vms, .vmu)
Leica (.scn)
MIRAX (.mrxs)
+Philips (.tiff)
Sakura (.svslide)
Trestle (.tif)
-Ventana (.bif)
+Ventana (.bif, .tif)
Generic tiled TIFF (.tif)
OpenSlide Python is released under the terms of the GNU Lesser General
@@ -152,14 +153,14 @@
associated_images
Images, such as label or macro images, which are associated with this
slide. This is a Mapping from image
-name to RGBA Image.
+name to RGBA Image.
Unlike in the C interface, these images are not premultiplied.
-
read_region(location, level, size)
-Return an RGBA Image containing the
+
Return an RGBA Image containing the
contents of the specified region.
Unlike in the C interface, the image data is not premultiplied.
@@ -169,7 +170,7 @@
| Parameters: |
- location (tuple) – (x, y) tuple giving the top left pixel in
the level 0 reference frame
-- level (int) – the level number
+- level (int) – the level number
- size (tuple) – (width, height) tuple giving the region size
|
@@ -186,7 +187,7 @@
-| Parameters: | downsample (float) – the desired downsample factor |
+
|---|
| Parameters: | downsample (float) – the desired downsample factor |
@@ -195,7 +196,7 @@
-
get_thumbnail(size)
-Return an Image containing an RGB thumbnail
+
Return an Image containing an RGB thumbnail
of the slide.
@@ -321,13 +322,13 @@
-
class openslide.ImageSlide(file)
-A wrapper around an Image object that
+
A wrapper around an Image object that
provides an OpenSlide-compatible API.
-| Parameters: | file – a filename or Image object |
+
|---|
| Parameters: | file – a filename or Image object |
| Raises IOError: | if the file cannot be opened |
@@ -367,7 +368,7 @@
Deep Zoom or a similar format.
-
-class openslide.deepzoom.DeepZoomGenerator(osr, tile_size=256, overlap=1, limit_bounds=False)
+class openslide.deepzoom.DeepZoomGenerator(osr, tile_size=254, overlap=1, limit_bounds=False)
A Deep Zoom generator that wraps an
OpenSlide or
ImageSlide object.
@@ -377,8 +378,9 @@
| Parameters: |
- osr – the slide object
-- tile_size (int) – the width and height of a single tile
-- overlap (int) – the number of extra pixels to add to each interior edge
+
- tile_size (int) – the width and height of a single tile. For best
+viewer performance, tile_size + 2 * overlap should be a power of two.
+- overlap (int) – the number of extra pixels to add to each interior edge
of a tile
- limit_bounds (bool) – True to render only the non-empty slide
region
@@ -432,13 +434,13 @@
-
get_tile(level, address)
-Return an RGB Image for a tile.
+Return an RGB Image for a tile.
| Parameters: |
-- level (int) – the Deep Zoom level
+- level (int) – the Deep Zoom level
- address (tuple) – the address of the tile within the level as a
(column, row) tuple
@@ -459,7 +461,7 @@
|
| Parameters: |
-- level (int) – the Deep Zoom level
+- level (int) – the Deep Zoom level
- address (tuple) – the address of the tile within the level as a
(column, row) tuple
@@ -478,7 +480,7 @@
|
| Parameters: |
-- level (int) – the Deep Zoom level
+- level (int) – the Deep Zoom level
- address (tuple) – the address of the tile within the level as a
(column, row) tuple
@@ -549,12 +551,12 @@
|
|---|
|
|---|