Giter VIP home page Giter VIP logo

Comments (8)

jcupitt avatar jcupitt commented on June 19, 2024

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.

Frankling avatar Frankling commented on June 19, 2024

@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.

jcupitt avatar jcupitt commented on June 19, 2024

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.

Frankling avatar Frankling commented on June 19, 2024

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.

jcupitt avatar jcupitt commented on June 19, 2024

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.

Frankling avatar Frankling commented on June 19, 2024

@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.

Frankling avatar Frankling commented on June 19, 2024

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.

jcupitt avatar jcupitt commented on June 19, 2024

You need the openslide-devel package too.

from pyvips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.