
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@annotorious/plugin-boolean-operations
Advanced tools
Adds functionality to merge and subtract annotation shapes
Adds functionality to merge and subtract annotation shapes.

Important: this plugin only supports
@annotorious/openseadragonat this time. Support for plain (JPEG, PNG,...) images is not yet implemented. Get in touch via the forum if you are interested in using this with the@annotorious/annotoriousor@annotorious/reactpackages.
npm install @annotorious/plugin-boolean-operations
import OpenSeadragon from 'openseadragon';
import { createOSDAnnotator } from '@annotorious/openseadragon';
import { mountPlugin as mountBooleanPlugin } from '@annotorious/plugin-boolean-operations';
import '@annotorious/openseadragon/annotorious-openseadragon.css';
/**
* Important: the plugin requires the multi-select option
* to be enabled!
*/
const viewer = OpenSeadragon({
/** init your viewer **/
multiSelect: true
});
const anno = createOSDAnnotator(viewer, { /* options */ });
// Initialize the plugin
const plugin = mountBooleanPlugin(anno);
// The plugin has two functions: `mergeSelected` and `subtractSelected`
// - More than one shape must be selected.
// - `mergeSelected` will create a multipolygon union shape of all
// selected shapes
// - `subtractSelelected` will remove all other shapes from the first
// selected shap.
// - Selection order is important! Only data associated with the first
// selected shape is preserved. Data from other selections is lost.
document.getElementById('merge').addEventListener('click', () => {
plugin.mergeSelected();
});
document.getElementById('subtract').addEventListener('click', () => {
plugin.subtractSelected();
});
FAQs
Adds functionality to merge and subtract annotation shapes
The npm package @annotorious/plugin-boolean-operations receives a total of 3 weekly downloads. As such, @annotorious/plugin-boolean-operations popularity was classified as not popular.
We found that @annotorious/plugin-boolean-operations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.