Lymphatus / caesium-clt

Caesium Command Line Tools - Lossy/lossless image compression tool
http://saerasoft.com/caesium
Other
354 stars 34 forks source link

Using -o does place output into root (/) in Linux #26

Closed bardiir closed 6 years ago

bardiir commented 6 years ago
/caesium # caesiumclt -o /tmp ./toll.jpg 
(1/1) toll.jpg -> /toll.jpg
1.23 MB -> 1.23 MB [-0.20%]
-------------------------------
Compression completed in 0m0s82ms
1.23 MB -> 1.23 MB [-0.20% | -2.47 KB]

Previous versions did place the image to /tmp/toll.jpg then. The current version doesn't do this.

bardiir commented 6 years ago

I'm now working around this by also looking for the result file in the root directory: https://github.com/bardiir/auto-caesium/commit/a0afa4be973523d075b016b42547e29fa720c8c5. But overall this should definitely be a priority fix...

Lymphatus commented 6 years ago

I'm gonna look into this as soon as possible.

Thanks for the report.

Sergi0O commented 6 years ago

That is exactly the same issue that I have

Lymphatus commented 6 years ago

On my working machine running OS X 10.13.1 I cannot reproduce the issue. I guess this is a problem on Linux (maybe Windows, I've not tested yet). I'm gonna test on a Arch, Ubuntu and Debian machine as soon as possible.

Lymphatus commented 6 years ago

I can confirm this is an issue, at least on Ubuntu. Working on a fix.