Questions tagged [vips]

`libvips` is a fast image processing library with low memory needs. `vips` is the command-line tool for that library.

libvips is a fast image processing library with low memory needs.

vips is the command-line tool for that library.

179 questions
0
votes
1 answer

Difficulty with handling very large image using VIPS

I'm writing a Python(3.4.3) program that uses VIPS(8.1.1) on Ubuntu 14.04 LTS to read many small tiles using multiple threads and put them together into a large image. In a very simple test : from concurrent.futures import ThreadPoolExecutor from…
user3667217
  • 2,172
  • 2
  • 17
  • 29
0
votes
1 answer

Python server app leaking memory

I'm trying to diagnose why my Python server app is leaking memory. The app takes a request for an image url resizes it using Vips and returns the image. After every request the memory usage grows roughly by the size of the original image. from fapws…
Nicholas
  • 139
  • 1
  • 11
0
votes
1 answer

LibVIPS crashing when processing 3.9gb tiff image

I'm currently working on a project where I have an image of around 3.9gb. I want to create a google maps like view for this image (which is something LibVIPS can generate) by executing the following command: vips-dev-8.1.1\bin\vips.exe dzsave…
Devedse
  • 1,801
  • 1
  • 19
  • 33
0
votes
1 answer

Does Python-VIPS support assignment to part of its image ?

I've been using Python 3 and Numpy to handle an image processing task where I'm assembling small tiles into a large, complete image. I'd do this: canvas = np.zeros((max_y + tilesize_y, max_x + tilesize_x, 3), dtype='uint8') Where max_x, max_y are…
user3667217
  • 2,172
  • 2
  • 17
  • 29
0
votes
2 answers

Extract Vips image and save it to numpy array same as with PIL?

I have looked through some of the documentation available Here for Vips but have not found an answer yet. I want to put the image into a numpy 3D array similar to how PIL images automatically get processed this way: In[1]: import numpy In[2]: from…
alfredox
  • 4,082
  • 6
  • 21
  • 29
0
votes
1 answer

Appending images with node sharp (libvips)

I want to use VIPS to append a directory of many smaller images in to one massive image. The node module "sharp" uses libvips. Is there any way to use sharp to append 2 images together? VIPS has a "LRJOIN" function but I don't see a sharp…
JHawk
  • 11
  • 3
0
votes
1 answer

Cannot install ruby-vips, 'no pkg_config libvips'

I am running Elementary OS and I just installed libvips-dev using apt-get. When I run "gem install ruby-vips -v '0.3.9'" I get this error: extconf.rb:27:in `
': no pkg_config for any of following libvips versions: 7.29, 7.28, 7.27, 7.26,…
admazzola
  • 89
  • 4
0
votes
1 answer

Automagically center a Zoomify image

I am a newbie when it comes to programming and I was hoping y'all could help me. I am trying to automatically center a Zoomify image created through VIPS. Unfortunately I am having a hard finding out how to center an image. If I use the example from…
0
votes
1 answer

Using carriewave-vips with 16-bit tiff

I'm using carrierwave-vips (with ruby-vips) to upload and process 16 bit tiff. The 16 bit tiff will get save (not a problem for carrierewave alone), but I also want to process a thumbnail (jpeg). The problem is that the resulting thumbnail is…
cgat
  • 3,689
  • 4
  • 24
  • 38
-1
votes
0 answers

Can I install jpeg-xl on MacOS 10.14 Mojave?

I am attempting to install vips using Homebrew which has jpeg-xl as a dependency. I am aware that the OS is old and unsupported but I am hoping to make it work a little while longer. Wondering if there is some other way to get jpeg-xl installed or…
jcanipar
  • 1,442
  • 2
  • 11
  • 8
-1
votes
1 answer

How to package vips for distribution?

I am trying to package the vips repository for distribution so I can double-click on it and install it on any Mac OS version. On Windows, this is easy - I just have to put the folder containing the binaries in the package. For Mac OS, I need to…
Prasad
  • 1
-1
votes
1 answer

How to scale up the 20x (.svs whole-slide-image) to 40x slides?

I have a whole-slide-images (.svs format) which are scanned at 20x. For my problem, I would like to upscale the slides to 40x along with the slide metadata. I tried it by the combination of the openslide, NumPy, cv2, and vips command. For a smaller…
-2
votes
1 answer

Install libvips on golang docker container

How to install libvips on a docker container.
binrebin
  • 357
  • 4
  • 16
-2
votes
2 answers

Memory not being released back to OS

I've created an image resizing server that creates a few different thumbnails of and image that you upload to it. I'm using the package https://github.com/h2non/bimg for resizing, which is using libvips with c-bindings. Before going to production…
hamochi
  • 47
  • 4
1 2 3
11
12