--
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/54ae7b6a-0f72-4b03-8d8d-2e102e6c13c4n%40webmproject.org.
I have converted Kodak 24 images eith sampling factor 420.convert test/images/kodim$i.png -quality $(($j*5)) -sampling-factor 4:2:0 test/jpeg/kodim$i/`printf "%02d" $j`.jpgI need same procedure for WebPconvert test/images/kodim$i.png -quality $(($j*5)) -define webp:lossless=true test/webP/kodim$i/`printf "%02d" $j`.webp
Both convert lines are correct or not. I want to compare the results
--
JPEG is lossy image compression and i want same thing for WebP. I am using imageMagick tool for conversionLike for JPEG, below code generated 20 images with different quality factor of each kodak image for comparisonfor i in {01..24..1}; do
echo JPEG Encoding test/images/kodim$i.png
mkdir -p test/jpeg/kodim$i
for j in {1..20..1}; doconvert test/images/kodim$i.png -quality $(($j*5)) -sampling-factor 4:2:0 test/jpeg/kodim$i/`printf "%02d" $j`.jpg
donedoneFor WebP conversionfor i in {01..24..1}; do
echo WebP Encoding test/images/kodim$i.png
mkdir -p test/webP/kodim$i
for j in {0..20..1}; do
convert test/images/kodim$i.png -quality $(($j*5)) test/webP/kodim$i/`printf "%02d" $j`.webp
done
doneAm i correct?. the above code did not generates webP images with different quality factors. All images are same. Please help me
--On Wednesday, 14 October 2020 at 17:00:50 UTC+9 pascal.m...@gmail.com wrote:On Tue, Oct 13, 2020 at 7:47 PM Khawar Islam <khaw...@gmail.com> wrote:I have converted Kodak 24 images eith sampling factor 420.convert test/images/kodim$i.png -quality $(($j*5)) -sampling-factor 4:2:0 test/jpeg/kodim$i/`printf "%02d" $j`.jpgI need same procedure for WebPconvert test/images/kodim$i.png -quality $(($j*5)) -define webp:lossless=true test/webP/kodim$i/`printf "%02d" $j`.webpIf you want to compare *lossless* WebP, it should be against their PNG equivalent. They use the same colorspace (ARGB),and same compression technique (lossless coding based on lz77 algorithm).If you want to compare *lossy* WebP to JPEG, then you have no choice but using YUV420, which is the only availablecolorspace available.I'd advise using 'cwebp' instead of 'convert', to get better control over fine encoding options.hope it helps,skal/Both convert lines are correct or not. I want to compare the results--You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/54ae7b6a-0f72-4b03-8d8d-2e102e6c13c4n%40webmproject.org.
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/23c5197b-55ec-4988-842f-cad6522202cen%40webmproject.org.
To view this discussion on the web visit https://groups.google.com/a/webmproject.org/d/msgid/webp-discuss/390f2eb2-f6e5-41ce-9ed2-752afc507d85n%40webmproject.org.