Socket
Book a DemoInstallSign in
Socket

zune-psd

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zune-psd

Source
Cargo
Version
0.4.0
Version published
Maintainers
1
Created
Source

zune-psd

A simple photoshop reader.

This crate doesn't handle any fancy photoshop features, including layering, blending,metadata extraction and such, it simply copies some bytes it believes are the base layer hence it may not suit your needs

Usage

  • First include it into your Cargo.toml
cargo add zune-psd

or include it directory in your Cargo.toml

[dependencies]
zune-psd="0.4"

Then use either one of the decode_ variants to get pixel data decode_raw will always return Vec<u8> while decode distinguishes return type via image depth (either 8-bit or 16-bit)

Speed

The decoder is fairly fast, we don't do any fancy processing so there is no need to compare it with other crates (I'm not sure any supports full parsing), hence there are no benchmarks.

Security

The crate is fuzz tested in CI to ensure untrusted input does not cause a panic

FAQs

Package last updated on 16 Nov 2023

Did you know?

Socket

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.

Install

Related posts