On 8/31/23 11:40, Daniel Bauer wrote:
Actually, after googling, I now believe that it's not an imagemagick problem, but comes from the bash...
The "buffer full" occurs for example when running this:
#!/bin/sh for bild in *.JPG do convert "$bild" -quality 50 -verbose "${bild%.JPG}.png" done
(or other similar scripts). The "I/O error : buffer full" appears for each processing image.
I've never seen an "I/O error : buffer full" as the result of looping though anything. This has a config bug vibe to it -- somewhere. When you loop, 'for bild in *.JPG', the command line is limited to: convert "$bild" -quality 50 -verbose "${bild%.JPG}.png" and no way exceeds `getconf ARG_MAX` characters. You can also run: xargs --no-run-if-empty --show-limits