rustyphoenixpng 1.1.0

This project eases manipulation of ong image inside Phoenix ecosystem
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented0 out of 0 items with examples
  • Size
  • Source code size: 94.68 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.77 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 29s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • toprinse

pipeline status Latest release coverage report documentation Phoenix2 documentation DOI

Code

https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/static-site-generator/RustyPhoenixPng

Documentation

https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/static-site-generator/RustyPhoenixPng/index.html

Requirements

  • cargo
  • rustc

Quick start

This project eases manipulation of PNG image inside Phoenix ecosystem.

use std::path::PathBuf;
use rustyphoenixpng::PImage;

...

let filename = PathBuf::from("some_image.png");

//We can create an image
let image: PImage = PImage::new(100, 50);

//We can save the image
image.write(&filename).unwrap();

//We can load the image
let other: PImage = PImage::from(&filename);


Installation for Users

git clone https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/static-site-generator/RustyPhoenixPng.git
cd RustyPhoenixPng