question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement: support multiple overlayWith in single pipeline (including blend modes) via vips_composite

See original GitHub issue

I’m looking for option to combine multiple images, side by side or one under another. I looked the overlayWith function but seems it can’t do what is required. I also looked in libvips options and maybe .reduce is what we need. Please share with me any idea of realization if there is nothing implemented yet.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:34 (12 by maintainers)

github_iconTop GitHub Comments

16reactions
delijahcommented, Aug 7, 2018

+1

13reactions
lovellcommented, Mar 13, 2019

Commit 7cafd43 on the uptake branch adds a new composite operation that accepts an array of images and blend modes to composite with. As a result the existing overlayWith function will be deprecated.

The proposed API is documented at https://github.com/lovell/sharp/blob/uptake/docs/api-composite.md

It can be tested now by using npm install --build-from-source lovell/sharp#uptake

This will be in sharp v0.22.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using blending modes in Premiere Pro - Adobe Support
Learn how to use blending modes to select the way in which Premiere Pro blends, or superimposes, a clip on a track in...
Read more >
Use blend modes—ArcGIS Online Help | Documentation
Blend modes determine how layers in a map are displayed in relation to one another.
Read more >
Blend Modes Are Here and They're Pretty Awesome - Esri
Map Viewer Beta offers advanced color and blending controls for map layers to help you quickly create new visual effects.
Read more >
mix-blend-mode - CSS: Cascading Style Sheets | MDN
The mix-blend-mode CSS property sets how an element's content should blend with the content of the element's parent and the element's ...
Read more >
Compositing With Blend Modes - HitFilm - 11 - Manula.com
HitFilm includes multiple blend modes, which are used to control how layers and effects are combined visually. A layer's blend mode can be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found