Skip to content

- Add an example file where we can pass a relative file path as an ar…#42

Merged
jaredforth merged 1 commit intojaredforth:mainfrom
marcobon90:features/convert-to-webp
May 5, 2025
Merged

- Add an example file where we can pass a relative file path as an ar…#42
jaredforth merged 1 commit intojaredforth:mainfrom
marcobon90:features/convert-to-webp

Conversation

@marcobon90
Copy link
Contributor

New Additions

  • Added an example file for image conversion via CLI.
  • Fixed Rust analyzer warnings in files animation_encoder.rs and encoder.rs (restored to avoid conflicts).

Notes

  • I encountered some Rust analyzer warnings that could be reviewed in the future to improve code quality.
  • I added lifetime 'a in return type to these functions:
    • pub fn from_image(image: &'a DynamicImage, timestamp: i32) -> Result<Self, &'a str> {
    • pub fn from_image(image: &'a DynamicImage) -> Result<Self, &'a str> {

@jaredforth jaredforth merged commit 378cb10 into jaredforth:main May 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants