convert function return value hotfix
This commit is contained in:
parent
476279176b
commit
ef402d1a1d
|
@ -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"]
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue