Hi, is it in the scope of this project to resize or compress the images using mozcjpeg like this:
if /bin/ls | grep -Ei "jpg$" &> /dev/null ; then
for file in *.jpg
do
jpgFiles=("${jpgFiles[@]}" "$file")
done
for item in "${jpgFiles[@]}"
do
mv "${item}" "moz.bak_${item}"
mozcjpeg -quality 75 -quant-table 3 -progressive "moz.bak_${item}" >| "${item}"
rm "moz.bak_${item}"
done
fi
if /bin/ls | grep -Ei "heic$" &> /dev/null ; then
mogrify -resize 70% *.heic
fi
Or convert JPEGs to HEIC:
for file in *.jpg
do
jpgFiles=("${jpgFiles[@]}" "$file")
done
for item in "${jpgFiles[@]}"
do
magick "${item}" "${item}.heic"
done
Or is doing soemthing like this out of the scope of this project? The reason I'm asking is because the devs of immich have mentioned that this is not one of their goals and is out of the scope of their project.
So far, I manually run these BEFORE I import large number of files, but it gets tedious. I was hoping there would be a way to run this on the library or a few albums inside the library.
Hi, is it in the scope of this project to resize or compress the images using mozcjpeg like this:
Or using imagemagick to reduce the size?
Or convert JPEGs to HEIC:
Or is doing soemthing like this out of the scope of this project? The reason I'm asking is because the devs of immich have mentioned that this is not one of their goals and is out of the scope of their project.
So far, I manually run these BEFORE I import large number of files, but it gets tedious. I was hoping there would be a way to run this on the library or a few albums inside the library.