
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
cornerstone-web-image-loader
Advanced tools
A cornerstone Image Loader for web images (PNG, JPEG).
Click here for a live example of this library in use!
View the simple image viewer built on cornerstone.
Get a packaged source file:
Or install via NPM:
npm install cornerstone-web-image-loader
Simply include the cornerstoneWebImageLoader.js in your HTML file after you load cornerstone.js and then set the cornerstone instance as an external module for cornerstoneWebImageLoader:
cornerstoneWebImageLoader.external.cornerstone = cornerstone;
This will let cornerstoneWebImageLoader register itself with cornerstone to load imageId's that have the http or https url schemes. To display an image, pass the url to the image as the imageId parameter to a cornerstone API function loadImage().
@onluiz for fixing a bug with images not being properly invalidated @leonardorame for adding support for CornerstoneImageLoadProgress
This project uses webpack to build the software.
NodeJs - click to visit web site for installation instructions.
Update dependencies (after each pull):
npm install
Running the build:
npm start
Automatically running the build and unit tests after each source change:
npm run watch
Cornerstone was designed to support loading of any kind of image regardless of its container, compression algorithm, encoding or transport. This is one of many possible image loaders that can provide the image pixel data to cornerstone to display
Copyright 2017 Chris Hafey chafey@gmail.com
[2.1.1] - 2018-12-05
FAQs
Cornerstone ImageLoader for Web Images (PNG, JPG)
The npm package cornerstone-web-image-loader receives a total of 3,959 weekly downloads. As such, cornerstone-web-image-loader popularity was classified as popular.
We found that cornerstone-web-image-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.