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
1
vote
2 answers

Process image given multiple URL parameters in Go

I would probably prefer to use pressly/chi, but I guess it makes no difference. I imagine given an input URL like this example.com/Jd8saD.jpg?resize=420x320&fit=crop&rotate=90, then it would go to the following GET function because of…
fisker
  • 979
  • 4
  • 18
  • 28
1
vote
0 answers

VIPS Library Qt

Trying to build project with VIPS library. I added next .lib files to project: win32: LIBS += -L$$PWD/../../../../vips-dev-8.4/lib/ -llibvips INCLUDEPATH += $$PWD/../../../../vips-dev-8.4/include DEPENDPATH +=…
bronstein87
  • 115
  • 1
  • 9
1
vote
1 answer

How to apply a transformation to a certain tonal range in VIPS/Python

I have to apply various transformations to different tonal ranges of 16-bit tiff files in VIPS (and Python). I have managed to do so, but I am new to VIPS and I am not convinced I am doing this in an efficient manner. These images are several…
retrography
  • 6,302
  • 3
  • 22
  • 32
1
vote
1 answer

Golang vips: How to render text with custom truetype font?

When we want to render text an vips image, you do something like this with vips_text: import "C" var textImage *C.VipsImage cText := C.CString("Some text") cFont := C.CString("Arial 12px") C.cgo_vips_text(&textImage, cText,…
Junji Zhi
  • 1,382
  • 1
  • 14
  • 22
1
vote
1 answer

How to calculate image average colors using ruby-vips v 1.0?

Before ruby-vips 1.0, I can get the array of RGB average colors using: im.stats[1][4].to_i, im.stats[2][4].to_i, im.stats[3][4].to_i But after update to ruby-vips 1.0, stats method does not return a ruby array any more. I noticed there is an…
Wei Huang
  • 23
  • 2
1
vote
2 answers

Is possible to detect if two images are the same using ruby-vips8?

I'm trying to compare two images and see if they are identical. They should have the same dimensions, may have the same size, but the content will change sometimes, I want to be able to detect it. I have two ways of doing it in my case: One is to…
fschuindt
  • 821
  • 1
  • 9
  • 23
1
vote
1 answer

Wrong JPEG library version with VIPS built with libjpeg-turbo

I built VIPS 8.1.1 with libjpeg-turbo-official 1.4.2-2050921 I downloaded the package from the sourceforge project website. After installing the package, I configure Vips with ./configure --with-jpeg-includes=/opt/libjpeg-turbo/include…
user3667217
  • 2,172
  • 2
  • 17
  • 29
1
vote
2 answers

How to perform logical operation and logical indexing using VIPS in Python?

I've had following codes that use Python and OpenCV. Briefly, I have a stack of image taken at different focal depth. The codes pick out pixels at every (x,y) position that has the largest Laplacian of Guassian response among all focal depth(z),…
user3667217
  • 2,172
  • 2
  • 17
  • 29
1
vote
1 answer

Ruby-vips > Covert PDF to JPEG

I've been looking through Vips and Ruby-Vips documentation, and I am not seeing anyway to load and convert a PDF. Imagemagick has the convert command in their CLI tools. Is there an equivalent to convert in Vips? My goal is to convert a PDF to a…
Jahkobi Digital
  • 728
  • 11
  • 24
1
vote
1 answer

Setting VIPS library for visual studio 2012

I am trying libvips for visual studio 2012, starting with a simple example at http://www.vips.ecs.soton.ac.uk/supported/current/doc/html/vipsmanual/vipsmanualse1.html#x6-60001.1.1 #include #include int main (int argc,…
Kenny
  • 1,902
  • 6
  • 32
  • 61
0
votes
0 answers

Can I get a list of required packages to install libvips, libvips-dev, libvips-tools for version 8.14.4?

I'm trying to install libvips (https://github.com/libvips/libvips/releases/tag/v8.14.4) on a alpine distribution of Linux. Can I please get help with list of required packages? I want to get https://github.com/h2non/bimg working on my golang project…
0
votes
1 answer

Efficient "bandmax" function in pyvips?

I'm looking for a way to efficiently find the band that has the maximum value in a large multi-band image. For example if we had an image that looked like band 1 band 2 band 3 [1 2 3] [3 4 5] [0 1 2] [3 2 1] [1 2 3] [1 0 1] [4 5 6] [6 7 5] …
matth
  • 563
  • 7
  • 22
0
votes
0 answers

How to setup wasm-vips for next.js/react apps?

I'm trying to use wasm-vips library for my next.js project. When I'm starting file from pure node it works fine, but I want to use it on front-end and that's where problems begins. I'm starting constantly getting errors: I set up headers to make…
Andrew Still
  • 57
  • 1
  • 10
0
votes
1 answer

Creating a Deep Zoom Image(.dzi) using pyvips library

I have 360000 images of 800x600 pixel size. I need to stitch with overlap all these images to create a full image that can be zoomed in to view details. How do I make a .dzi image from these base tiles using pyvips library? I tried to create a jpeg…
0
votes
1 answer

VIPs-Warning ** error in tile 0 x 1104 - Gif Crashing website - Ruby on Rails

I've deployed my app to fly.io and found an interesting error that only affects production. The same gif doesn't cause this issue using local storage. The gif is uploaded to AWS S3 First I get the VIPs-Warning ** error in tile 0 x 1104 Followed by…