screenshots icon indicating copy to clipboard operation
screenshots copied to clipboard

Attempts to process .DS_Store if folder has been opened in Finder

Open tomgilder opened this issue 5 years ago • 0 comments

If you open the temporary directory where screenshots were being generated in Finder, a .DS_Store file is generated which screenshots tries to process, causing it to fail:

Processing screenshots from test...
convert: no decode delegate for this image format `' @ error/constitute.c/ReadImage/562.
convert: no images defined `info:' @ error/convert.c/ConvertImageCommand/3285.


Unhandled exception:
command failed: exitcode=1, cmd='convert /tmp/screenshots/test/.DS_Store -crop 1000x40+0+0 +repage -colorspace gray -format ""%[fx:(mean>0.76)?1:0]"" info:', workingDir=.

Probably worth ignoring all hidden files?

Thank you for the amazing utility!

tomgilder avatar Sep 30 '20 12:09 tomgilder