Comments (4)
Experimental branch here:
https://github.com/jcupitt/pyvips/tree/api
Seems to work, though it still needs some polish. It can work in ABI and API modes, but I'm not sure it'll fall back to ABI if API fails. It does start much faster.
There are some problems with g_free
as well: in API mode, you can't use lib functions directly as callback arguments, so it's forced to add a py layer to blob free. This then causes a segv on exit as libvips tries to call back into py after py has gone.
from pyvips.
It knocks 20% off the test-suite run time, though it'll be less in regular code.
from pyvips.
g_free()
problems fixed with libvips 8.6.
It's not falling back correctly on install:
$ rm ~/vips/lib/pkgconfig/vips
vipsCC.pc vips-cpp.pc vips.pc
$ rm ~/vips/lib/pkgconfig/vips*
$ pkg-config vips --modversion
Package vips was not found in the pkg-config search path.
Perhaps you should add the directory containing `vips.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vips' found
$ pip install --user -e .
Obtaining file:///home/john/GIT/pyvips
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/john/GIT/pyvips/setup.py", line 86, in <module>
from pyvips.
Merged to master and released in 2.1
from pyvips.
Related Issues (20)
- Does Pyvips have uniformly sampled noise? HOT 2
- Select interpretation when initializing the image HOT 1
- VipsOperation: class "pdfload" not found HOT 2
- SVG rendering failed HOT 1
- JPEG compression resulted in color error. HOT 1
- How to generate patches from coordinate list by a multiprocessing way? HOT 1
- Dtype auto conversion while running script HOT 6
- new release when & ship with libvips? HOT 14
- ICC Profile Application on SVS and tiffsave hangs randomly
- High RAM usage with fetch when reading multiple WSI tiles HOT 2
- Slower first run, even without cache HOT 2
- using resource.setrlimit makes pyvips / liborc spit the dummy HOT 2
- 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
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.