Comments (8)
Hello @Frankling,
My guess is your libvips has been built without dzsave
support. Did you build it yourself? dzsave
needs libgsf
, check the summary at the end of configure.
from pyvips.
@jcupitt thank you, I had solved it by installing pre-required libs.
But now I have met a problem of dzsave, when the file is large, it produce the black pic.....
from pyvips.
It shouldn't make black output. I use it on slides of 200,000 x 200,000 pixels without problems.
You need to give some more details: what kind of image, what size, what platform, what software versions, etc. etc.
from pyvips.
the system detail is below:
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
########################################
vips version:
vips-8.7.0-Fri Aug 31 14:11:19 UTC 2018
########################################
svs file:
https://pan.baidu.com/s/1pcjVRIuZ-kW5yrbzPAzfag
#######################################
when the svs file size is small (1.9Mb)it can work
from pyvips.
Sorry, I can't download your file. I tried in a couple of different browsers. Could you try another file sharing service?
Do you have openslide support enabled? Try entering:
$ vips openslideload
load file with OpenSlide
usage:
openslideload filename out [--option-name option-value ...]
where:
filename - Filename to load from, input gchararray
out - Output image, output VipsImage
optional arguments:
flags - Flags for this file, output VipsForeignFlags
memory - Force open via memory, input gboolean
default: false
access - Required access pattern for this file, input VipsAccess
default: random
allowed: random, sequential, sequential-unbuffered
level - Load this level from the file, input gint
default: 0
min: 0, max: 100000
autocrop - Crop to image bounds, input gboolean
default: false
fail - Fail on first error, input gboolean
default: false
associated - Load this associated image, input gchararray
If you have not enabled openslide, you can get black images from SVS sources.
from pyvips.
@jcupitt
http://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/JP2K-33003-1.svs
####################################
I have try command you provide,the result show below:
vips: unknown action "openslideload"
how to enable openslide
from pyvips.
configure: WARNING: OpenSlide >= 3.3.0 not found; disabling virtual slide support
checking for MATIO... no
##############
but I have installed the openslide 3.4.1
from pyvips.
You need the openslide-devel
package too.
from pyvips.
Related Issues (20)
- Memory leaking with pdf HOT 21
- dzsave_target returns NoneType not list[] as in docs HOT 1
- Pyvips fetch returns bad image on .svs files HOT 4
- Reading in image a second time breaks on qptiff file HOT 6
- Documentation link to conda package HOT 1
- Create svs file with image pyramid, label and macro in pyvips? HOT 4
- Image merge stitch HOT 2
- `addalpha` has different behaviour compared to C HOT 1
- Error installing pyvips on Mac OS HOT 15
- draw_rect fill error HOT 2
- creating tiles of 16bit multiband (4 band) tiff image leaves black canvas HOT 4
- class "jxlsave" not found HOT 9
- Assertion failed: sp->cinfo.comm.is_decompressor HOT 3
- Help installing pyvips for jupyter HOT 5
- `TIFFFillTile: Read error` when writing a TIFF file on a per-tile basis. HOT 2
- Thumbnail creation taking too long HOT 2
- Unable to save images when certain combinations of them are resize()'d HOT 7
- pyvips stats HOT 1
- How does composite() merge colors? HOT 8
- ICC profiles from file stream in pyvips HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvips.