Skip to main content

Crate raw_preview_rs

Crate raw_preview_rs 

Source

Re-exports§

pub use exif_data::ExifInfo;
pub use file_detector::get_file_type;
pub use file_detector::is_image_file;
pub use file_detector::is_raw_file;
pub use file_detector::is_supported_file;
pub use image_processor::process_image_file;
pub use raw_processor::convert_raw_to_jpeg;
pub use image_processor::process_image_bytes_to_vec;
pub use raw_processor::convert_raw_bytes_to_vec;

Modules§

exif_data
file_detector
Universal Image Processing Library
image_processor
raw_processor

Functions§

can_process_file
Checks if a file can be processed by this library
convert_raw_bytes_to_jpeg
Convert RAW bytes to JPEG by processing the bytes in-memory via the native FFI and writing the resulting JPEG preview to output_path.
get_file_info
Gets detailed information about file type and processing capabilities
process_any_image
Unified function to process any supported image file (RAW or standard format)
process_image_bytes
Process image data provided as bytes. Processes the bytes in-memory via the native FFI and writes the resulting JPEG preview to output_path.