Skip to content

Conversation

NoDiskNoFun
Copy link
Contributor

Fixes #97

This patch replaces Bash parameter expansion ${source_file%/*} with dirname,
ensuring the script correctly handles file names without slashes (e.g., test.png).
This makes the behavior more robust and POSIX-compliant, and resolves incorrect
behavior when no slash is present in the path.

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.

encode image failed
1 participant