
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
A library for low level image processing routines
They work on raw pixels (T
) and they are focused on speed and safety.
Some filters are in alpha stage, and some are broken,
don't use a filter with a Broken
tag
Add the crate to your dependencies e.g cargo add zune-imageprocs
After that one can use the processing routines since they implement zune-image
OperationsTrait
, anywhere that supports them
can call on them
E.g. to increase the exposure of an image
use zune_core::colorspace::ColorSpace;
use zune_image::errors::ImageErrors;
use zune_image::image::Image;
use zune_image::traits::OperationsTrait;
use zune_imageprocs::exposure::Exposure;
fn main()->Result<(),ImageErrors> {
// create a 100x100 grayscale image
let mut img = Image::from_fn::<u16, _>(100, 100, ColorSpace::Luma, |x, y, pix| {
pix[0] = ((x + y) % 65536) as u16;
});
// increase each pixels strength by 2
Exposure::new(2.0, 0.0).execute(&mut img)?;
// write to a file
img.save("hello.png")?;
}
portable-simd
: This adds support for portable simd, requires a nightly compiler.
Some routines are written in portable simd and hence this can speed up some computations.
threads
: Adds support for multithreading on image filters, some filters can run independently per channel,
especially computational heavy filters, this enables that. On platforms without multithtreading (e.g wasm
), this should
be disabled
Most routines in the library can be benchmarked, but they require a nightly compiler
To test speed of most routines run
cargo bench --features=benchmarks
FAQs
Unknown package
We found that zune-imageprocs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.