for j in jpg avif heif; do 
#for iin 10 20 30 40 50 60 70 80 90 100:do 
  for i in 60 70; do
	echo $j $i 
         #echo itime heif.enc bmp5.png-q $i-0 bmp5-$i.$i! 
	 if [[ $j == "jpg" ]]; then
	 time magick -quality $i bmp5.png bmp5-$i.$j
 else
	 time heif-enc bmp5.png -q $i -o bmp5-$i.$j 
	 fi
  done 
done
