Skip to main content

Crate lib_jsl_file_io

Crate lib_jsl_file_io 

Source
Expand description

File formats: codecs and file readers/writers for audio and image data.

See the book entry Foundations: file formats.

Re-exports§

pub use jpeg::JpegImage;
pub use jpeg::jpeg_decode;
pub use jpeg::jpeg_encode;
pub use jpeg_files::read_jpeg_file;
pub use jpeg_files::write_jpeg_file;
pub use png::RasterImage;
pub use png::png_decode;
pub use png::png_encode;
pub use png::read_png_file;
pub use png::write_png_file;
pub use ppm::ppm_decode;
pub use ppm::ppm_encode;
pub use ppm::read_ppm_file;
pub use ppm::write_ppm_file;
pub use csv::CsvTable;
pub use csv::format_csv;
pub use csv::format_csv_f64;
pub use csv::parse_csv;
pub use csv::read_csv_file;
pub use csv::write_csv_file;
pub use npy::NpyArray;
pub use npy::NpyData;
pub use npy::npy_decode;
pub use npy::npy_encode;
pub use npy::read_npy_file;
pub use npy::write_npy_file;
pub use npz::NpzArchive;
pub use npz::npz_decode;
pub use npz::npz_encode;
pub use npz::npz_encode_positional;
pub use npz::npz_encode_zip64;
pub use npz::read_npz_file;
pub use npz::write_npz_file;
pub use wav::WavAudio;
pub use wav::WavSampleFormat;
pub use wav::encode_wav;
pub use wav::parse_wav;
pub use wav::read_wav_file;
pub use wav::write_wav_file;
pub use matrix_market::MatrixMarket;
pub use matrix_market::MmField;
pub use matrix_market::MmFormat;
pub use matrix_market::MmInfo;
pub use matrix_market::MmSymmetry;
pub use matrix_market::mm_decode;
pub use matrix_market::mm_encode;
pub use matrix_market::mm_info;
pub use matrix_market::read_mm_file;
pub use matrix_market::write_mm_file;
pub use matlab::MatClass;
pub use matlab::MatValue;
pub use matlab::mat_decode;
pub use matlab::mat_encode;
pub use matlab::mat_whos;
pub use matlab::read_mat_file;
pub use matlab::write_mat_file;
pub use matlab4::MatVersion;
pub use matlab4::mat4_decode;
pub use matlab4::mat4_encode;
pub use matlab4::mat4_encode_big_endian;
pub use matlab4::mat_decode_any;
pub use matlab4::mat_version;
pub use matlab4::read_mat4_file;
pub use matlab4::write_mat4_file;
pub use idl::IdlInfo;
pub use idl::IdlSave;
pub use idl::IdlType;
pub use idl::IdlValue;
pub use idl::idl_decode;
pub use idl::read_idl_file;
pub use hdf5::H5Array;
pub use hdf5::H5Dataset;
pub use hdf5::H5Group;
pub use hdf5::H5Object;
pub use hdf5::H5Type;
pub use hdf5::H5Value;
pub use hdf5::Hdf5File;
pub use hdf5::hdf5_decode;
pub use hdf5::mat73_decode;
pub use hdf5::netcdf4_decode;
pub use hdf5::read_hdf5_file;
pub use hdf5::read_mat73_file;
pub use hdf5::read_netcdf4_file;
pub use harwell_boeing::HarwellBoeing;
pub use harwell_boeing::hb_decode;
pub use harwell_boeing::hb_encode;
pub use harwell_boeing::read_hb_file;
pub use harwell_boeing::write_hb_file;
pub use netcdf::NcValue;
pub use netcdf::NcVariable;
pub use netcdf::NetCdf;
pub use netcdf::netcdf_decode;
pub use netcdf::netcdf_encode;
pub use netcdf::read_netcdf_file;
pub use netcdf::write_netcdf_file;
pub use fortran::fortran_records_decode;
pub use fortran::fortran_records_encode;
pub use fortran::read_fortran_file;
pub use fortran::record_from_f32;
pub use fortran::record_from_f64;
pub use fortran::record_from_i32;
pub use fortran::record_to_f32;
pub use fortran::record_to_f64;
pub use fortran::record_to_i32;
pub use fortran::write_fortran_file;
pub use arff::Arff;
pub use arff::ArffType;
pub use arff::ArffValue;
pub use arff::arff_decode;
pub use arff::arff_encode;
pub use arff::read_arff_file;

Modules§

arff
Attribute-Relation File Format (ARFF) files from Weka (SciPy’s io.arff.loadarff).
csv
Delimited text tables (CSV, RFC 4180).
deflate
DEFLATE (RFC 1951) and zlib (RFC 1950) compression, as used by PNG.
fortran
Fortran sequential unformatted files (SciPy’s io.FortranFile).
harwell_boeing
Harwell-Boeing sparse matrix files (SciPy’s io.hb_read and io.hb_write).
hdf5
A reader for HDF5 files (the format under MATLAB v7.3 .mat files and NetCDF-4 .nc files): groups, datasets, attributes and their data, without the HDF5 library.
idl
IDL .sav files (SciPy’s io.readsav): the SAVE format of Harris Geospatial’s Interactive Data Language, as documented by Craig Markwardt’s Unofficial Format Specification.
jpeg
A simple baseline JPEG codec.
jpeg_files
Reading and writing JPEG files with the workspace’s baseline codec.
matlab
MATLAB level-5 .mat files (SciPy’s io.loadmat, io.savemat and io.whosmat).
matlab4
MATLAB level-4 .mat files (SciPy’s io.loadmat and io.savemat with format='4').
matrix_market
Matrix Market exchange files (SciPy’s io.mmread, io.mmwrite and io.mminfo).
netcdf
NetCDF-3 files, classic and 64-bit offset (SciPy’s io.netcdf_file).
npy
NumPy .npy arrays (format versions 1.0, 2.0 and 3.0).
npz
NumPy .npz archives (numpy.savez, numpy.savez_compressed and numpy.load).
png
PNG images (ISO/IEC 15948): a lossless codec and file helpers.
ppm
Netpbm images: PBM (P1, P4), PGM (P2, P5) and PPM (P3, P6).
wav
Reading and writing RIFF/WAVE audio files.