convert function return value hotfix

This commit is contained in:
Matteo Paonessa 2024-07-20 11:09:53 +02:00
parent 476279176b
commit ef402d1a1d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "libcaesium" name = "libcaesium"
version = "0.16.0" version = "0.16.1"
authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"] authors = ["Matteo Paonessa <matteo.paonessa@gmail.com>"]
edition = "2021" edition = "2021"
categories = ["multimedia::images"] categories = ["multimedia::images"]

View File

@ -330,7 +330,7 @@ pub fn compress_to_size(
Ok(()) Ok(())
} }
pub fn convert(input_path: String, output_path: String, parameters: &CSParameters, format: SupportedFileTypes) -> Result<(), CaesiumError> { pub fn convert(input_path: String, output_path: String, parameters: &CSParameters, format: SupportedFileTypes) -> error::Result<()> {
let file_type = get_filetype_from_path(&input_path); let file_type = get_filetype_from_path(&input_path);