batch convert to wepb produces an animation despite +adjoin

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Locked
vincent.tschanz
Posts: 9
Joined: 2019-10-11T01:05:00-07:00
Authentication code: 1152

batch convert to wepb produces an animation despite +adjoin

Post by vincent.tschanz »

Link to the original question thread

Macos 10.14.16, ImageMagick 7.0.9-5 Q16 x86_64 2019-11-18, installed with Homebrew

Step to reproduce :
generate multiple PNGs

Code: Select all

for i in {1..9}; do magick -background black -fill grey -font impact -size 320x240 -pointsize 96 -gravity center label:$i out-$i.png; done
attempt to convert each files to an individual WEBP

Code: Select all

magick *.png +adjoin -quality 90% -set filename:basename "%[basename]" "%[filename:basename]".webp
Result :
I get 9 webp files, the first one is an animation with all the pictures as frames. the files 2-9 are still pictures.

Code: Select all

identify out-1.webp 
out-1.webp WEBP 320x240 320x240+0+0 8-bit sRGB 3366B 0.000u 0:00.000
identify out-2.webp 
out-2.webp WEBP 320x240 320x240+0+0 8-bit sRGB 460B 0.000u 0:00.000
Expected result :
9 still images looking exactly like the input files. (no animation)

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: batch convert to wepb produces an animation despite +adjoin

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.

vincent.tschanz
Posts: 9
Joined: 2019-10-11T01:05:00-07:00
Authentication code: 1152

Re: batch convert to wepb produces an animation despite +adjoin

Post by vincent.tschanz »

Thank a lot!

Locked