Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Your script is overly complicated and will break on some “weird” file names. Write for x in images/toconvert/*; do … compare -metric PSNR "$x" "images/converted/${x##*/}.jp2" "images/converted/${x##*/}.jp2.png"; done Commented Apr 26, 2014 at 23:23
  • i differ between three types .. i mentioned before it's just a "part" of my code and not even this part is in the current code form, but thanks Commented Apr 28, 2014 at 11:59
  • 1
    funny it's exactly the script I was trying to make too. same issue. Commented Jan 17, 2018 at 9:38