#file #generator #format #generate #pdf #pdf-file #void

bin+lib fvoid

Void file generator, supports many formats

2 unstable releases

0.2.4 May 30, 2022
0.1.0 May 27, 2022

#1930 in Text processing

Unlicense

15KB
383 lines

fvoid

Void file generator, supports many formats.

TODO

  • VoidMP4: To be implemented.

  • VoidMTS: To be implemented.

  • VoidPNG: To be implemented.

  • VoidJPEG: To be implemented.

  • Example server using tiny-http.


lib.rs:

fvoid, a void file generator, supports many formats.

Example

Generate a blank PDF file with 3 pages and default size (100 x 200):

use fvoid::VoidPDF;
let pdf_cfg = VoidPDF {
    page_count: 3,
    ..Default::default()
};
let pdf_data = pdf_cfg.data();
// std::fs::write("void.pdf", pdf_data).unwrap();

No runtime deps