foresterre / sic

🦜 Accessible image processing and conversion from the terminal. Front-end for image-rs/image.
Apache License 2.0
168 stars 7 forks source link

BUG: --glob-input relative path error #1655

Open felix9743 opened 1 year ago

felix9743 commented 1 year ago

I use the Windows binary to convert the images extracted from a PDF but when I give a relative path, it tells me that it does not find it.

image

It works properly with--input, so the problem probably comes from --glob-input.

It however works correctly if I give an absolute path.

foresterre commented 1 year ago

I've confirmed that this is indeed an issue. Thanks!

foresterre commented 1 year ago

I've been looking into this issue, and found lots of interesting questions:

The plan

I'm also still considering dropping absolute path support; then a pre-processed version of wax may be preferable (like I've implemented here)

Libraries

Still also happy to use/replace the glob library used. A list of libraries I'm aware of follows:

No filesystem walker

Includes filesystem walker