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
0 answers

Compress gifs with vips on the command line

I try to use libvips to compress my gifs, but I can't find the relevant documentation # vips --version vips-8.12.2-Tue Jan 25 09:34:32 UTC 2022 This gif is very big, I want to try to compress it with vips # ls -ahl *.gif -rw-r--r--. 1 root root 34M…
januw a
  • 2,056
  • 5
  • 18
  • 39
1
vote
1 answer

Parallel overlaying of multiple images in govips

In Govips, is there a functionality to overlay multiple images on a base image parallelly? There is a function - compositeMulti which takes a list of images but does it render it parallelly? Also, does it have a capability to identify which pixel of…
Calypso
  • 63
  • 1
  • 6
1
vote
1 answer

Using libvips with Rust on Alpine

I have a Rust application with Actix Web which resizes images using libvips (https://crates.io/crates/libvips). Now I am trying to dockerize it. Here is my…
Anton
  • 440
  • 3
  • 10
1
vote
1 answer

How can i watermark or stamp pdf file with active storage rails 7. Is it possible?

I want to show watermarked PDF file to end user on .erb view file on my application. For testing purpose firstly i tried to do this with jpeg image. My resources are; ImageProcessing Gem ActiveStorage Vips Gem This code is works but not yet…
1
vote
1 answer

Error installing llvm on MacOs High Siera using Brew

I have tried to follow the instruction here but my installation hang on 2d9d78074b6123ce1571c4ff59e3c4f2c9142e0f--poppler-data-0.4.11.tar.gz ==> Downloading https://poppler.freedesktop.org/poppler-21.12.0.tar.xz Already downloaded:…
pensebien
  • 506
  • 4
  • 16
1
vote
0 answers

vips gem clang: error: unsupported option '-fopenmp'

I'm getting this error when having the gem gem "vips" in my Gemfile: clang: error: unsupported option '-fopenmp' I have llvm and vips installed I have also opened an issue on GitHub https://github.com/libvips/ruby-vips/issues/320
Dorian
  • 7,749
  • 4
  • 38
  • 57
1
vote
1 answer

How do you resample upscale an image using wasm-vips?

wasm-vips is a browser/node wrapper for libvips Goals: Using wasm-vips Upscale image using interpolator such as lanzcos3 or nohalo In the upscale method pass in a buffer instead of reading the image from a file Example reading an image const vips…
dan
  • 2,857
  • 6
  • 34
  • 60
1
vote
0 answers

Getting bus error when composing a lot of images with sharp

I'm trying to compose a ton of images (2300) into a transparent png using sharp. I'm trying that with the following code: await sharp({ create: { width: 256, height: 256, channels: 4, background: { r: 0, g: 0, b: 0,…
Antonio Gamiz Delgado
  • 1,871
  • 1
  • 12
  • 33
1
vote
1 answer

Exit code: 1 Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

I'm getting error while installing dependencies node_modules/sharp error. Please have a look at the picture. Package.json: { "name": "towni-staff", "version": "0.1.0", "description": "", "main": "index.js", "scripts": { "build":…
1
vote
0 answers

vipthumbnail resizing image without aspect ratio

i want to resize my 800x800px image into 500x1000px using libvips vipthumbnails. we know that we can force vipthumbnail to ignore aspect ratio and do whatever dimension we want but it will simply distort the image. resizing 800x800px image to…
jivasen
  • 43
  • 1
  • 3
1
vote
1 answer

Create image from scratch with Ruby Vips

I have and app with gems image_processing and ruby-vips. I need to create white backgrounded image 1920x1920, add some black text there and write it to tempfile. How can I do this with code?
Molfar
  • 1,411
  • 3
  • 18
  • 49
1
vote
1 answer

How to calculate a transform matrix from set of tie points for perspective transform

I am trying to implement an equivalent of imagemagick perspective distort using libvips http://www.imagemagick.org/Usage/distorts/#perspective As per this answer How to perform perspective distort transformation in VIPS? it can be achieved using…
axkirillov
  • 31
  • 7
1
vote
1 answer

Pipe libvips CLI output to stdout in Windows

I am using the Windows libvips CLI to convert images from HEIC to PNG format. I want to pipe the converted output to another process without writing to disk. This can be achieved by writing to stdout (i.e. typing only the file extension as output…
Alreiber
  • 19
  • 4
1
vote
1 answer

How to interpolate a very large image (+10Gigabytes)?

I have a monochrome image whose size is greater than 10 gigabytes (50000x50000). This image has a lot of "holes", pixels with NULL value. Conventionally, I know how to use python griddata function to read in the whole image and fill the pixels…
Lion Lai
  • 1,862
  • 2
  • 20
  • 41
1
vote
2 answers

how install libvips NetVips in Azure cloud - Error:Unable to load DLL \ 'libvips-42.dll\ ' or one of its dependencies

I can run an azure function app with libvips library from localhost for this function app - manipulation for images output correctly. I setup my local environment by saving libvips win64 in a folder in my windows 10 PC, added libvips bin folder to…
Sergio Solorzano
  • 476
  • 9
  • 29