google / guetzli

Perceptual JPEG encoder
Apache License 2.0
12.9k stars 977 forks source link

Guetzli is changing palette and makes it incompatible to itself? #196

Open rogierlommers opened 7 years ago

rogierlommers commented 7 years ago

I found that sometimes Guetzli is unable to run on a file which is created by itself :). To be more specific:

It can actually happen that Guetzli creates a jpeg file which it can't read itself, by optimizing the color type to Palette instead of TrueColor. This means that if an asset is in the queue multiple times, it'll end up as an error after a successful resizing.

jyrkialakuijala commented 7 years ago

Can you repeat this bug with guetzli? If yes, please send us the image that causes this to happen.

rogierlommers commented 7 years ago

Please see attached (small) image. As you can see in the attached output, Guetzli is able to do it's magic on the source file. But then Guetzli is not able to reprocess it's own output, due to color palette change?

#!/bin/bash
echo "original --> target 1"
guetzli --verbose --quality 85 original.jpg target1.jpg
echo "target 1 --> target 2"
guetzli --verbose --quality 85 target1.jpg target2.jpg
echo "target 2 --> target 3"
guetzli --verbose --quality 85 target2.jpg target3.jpg
echo "target 3 --> target 4"
guetzli --verbose --quality 85 target3.jpg target4.jpg

echo "done"

Output from above script

original --> target 1
Original Out[   1142] BA[100.00%] D[0.0000] Score[1142.0000] (*)
Iter  1: f112222 quantization matrix:
  5  3  3  5  7 12 15 18     5  5  7 14 30 30 30 30     5  5  7 14 30 30 30 30
  4  4  4  6  8 17 18 17     5  6  8 20 30 30 30 30     5  6  8 20 30 30 30 30
  4  4  5  7 12 17 21 17     7  8 17 30 30 30 30 30     7  8 17 30 30 30 30 30
  4  5  7  9 15 26 24 19    14 20 30 30 30 30 30 30    14 20 30 30 30 30 30 30
  5  7 11 17 20 33 31 23    30 30 30 30 30 30 30 30    30 30 30 30 30 30 30 30
  7 11 17 19 24 31 34 28    30 30 30 30 30 30 30 30    30 30 30 30 30 30 30 30
 15 19 23 26 31 36 36 30    30 30 30 30 30 30 30 30    30 30 30 30 30 30 30 30
 22 28 29 29 34 30 31 30    30 30 30 30 30 30 30 30    30 30 30 30 30 30 30 30
Iter  1: f112222 GQ[150.73] Out[   1142] BA[100.00%] D[0.0000] Score[1142.0000]
Iter  2: f112222 quantization matrix:
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
  1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1     1  1  1  1  1  1  1  1
Iter  2: f112222 GQ[ 0.00] Out[   1508] BA[100.00%] D[0.0000] Score[1508.0000]
Iter  3: f112222 quantization matrix:
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
  3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3     3  3  3  3  3  3  3  3
Iter  3: f112222 GQ[22.56] Out[   1286] BA[100.00%] D[0.3302] Score[1286.0000]
Iter  4: f112222 quantization matrix:
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
  5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5     5  5  5  5  5  5  5  5
Iter  4: f112222 GQ[45.11] Out[   1183] BA[100.00%] D[0.3531] Score[1183.0000]
Iter  5: f112222 quantization matrix:
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
  7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7     7  7  7  7  7  7  7  7
Iter  5: f112222 GQ[67.67] Out[   1102] BA[100.00%] D[0.5008] Score[1102.0000] (*)
Iter  6: f112222 quantization matrix:
  9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9
  9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9
  9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9
  9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9
  9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9
  9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9
  9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9     9  9  9  9  9  9  9  9
  9  9  9  9  9  9  9 11     9  9  9  9  9  9  9 11     9  9  9  9  9  9  9 11
Iter  6: f112222 GQ[90.31] Out[   1046] BA[100.00%] D[0.6645] Score[1046.0000] (*)
Iter  7: f112222 quantization matrix:
 11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11
 11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11
 11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11
 11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11
 11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11
 11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11
 11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11    11 11 11 11 11 11 11 11
 11 11 11 11 11 11 11 13    11 11 11 11 11 11 11 13    11 11 11 11 11 11 11 13
Iter  7: f112222 GQ[112.87] Out[    955] BA[100.00%] D[0.8910] Score[955.0000] (*)
Iter  8: f112222 quantization matrix:
 13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13    13 13 13 13 13 13 13 13
 13 13 13 13 13 13 15 15    13 13 13 13 13 13 15 15    13 13 13 13 13 13 15 15
Iter  8: f112222 GQ[135.52] Out[    918] BA[100.00%] D[1.0144] Score[918.0000] (*)
Iter  9: f112222 quantization matrix:
 15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15
 15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15
 15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15
 15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15
 15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15
 15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15    15 15 15 15 15 15 15 15
 15 15 15 15 15 15 15 17    15 15 15 15 15 15 15 17    15 15 15 15 15 15 15 17
 15 15 15 15 15 15 17 17    15 15 15 15 15 15 17 17    15 15 15 15 15 15 17 17
Iter  9: f112222 GQ[158.17] Out[    883] BA[100.00%] D[1.0721] Score[883.0000] (*)
Iter 10: f112222 quantization matrix:
 17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17
 17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17
 17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17
 17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17
 17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17
 17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17    17 17 17 17 17 17 17 17
 17 17 17 17 17 17 17 19    17 17 17 17 17 17 17 19    17 17 17 17 17 17 17 19
 17 17 17 17 17 17 19 19    17 17 17 17 17 17 19 19    17 17 17 17 17 17 19 19
Iter 10: f112222 GQ[180.73] Out[    854] BA[100.00%] D[1.1256] Score[854.0000] (*)
Iter 11: f112222 quantization matrix:
 19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19
 19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19
 19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19
 19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19
 19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19    19 19 19 19 19 19 19 19
 19 19 19 19 19 19 19 21    19 19 19 19 19 19 19 21    19 19 19 19 19 19 19 21
 19 19 19 19 19 19 19 21    19 19 19 19 19 19 19 21    19 19 19 19 19 19 19 21
 19 19 19 19 19 19 21 21    19 19 19 19 19 19 21 21    19 19 19 19 19 19 21 21
Iter 11: f112222 GQ[203.38] Out[    823] BA[100.00%] D[1.2089] Score[823.0000] (*)
Iter 12: f112222 quantization matrix:
 21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21
 21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21
 21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21
 21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21
 21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21    21 21 21 21 21 21 21 21
 21 21 21 21 21 21 21 23    21 21 21 21 21 21 21 23    21 21 21 21 21 21 21 23
 21 21 21 21 21 21 23 23    21 21 21 21 21 21 23 23    21 21 21 21 21 21 23 23
 21 21 21 21 21 21 23 23    21 21 21 21 21 21 23 23    21 21 21 21 21 21 23 23
Iter 12: f112222 GQ[226.03] Out[    798] BA[100.00%] D[1.3371] Score[798.0000] (*)
Iter 13: f112222 quantization matrix:
 23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23
 23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23
 23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23
 23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23
 23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23    23 23 23 23 23 23 23 23
 23 23 23 23 23 23 23 25    23 23 23 23 23 23 23 25    23 23 23 23 23 23 23 25
 23 23 23 23 23 23 25 25    23 23 23 23 23 23 25 25    23 23 23 23 23 23 25 25
 23 23 23 23 23 25 25 25    23 23 23 23 23 25 25 25    23 23 23 23 23 25 25 25
Iter 13: f112222 GQ[248.69] Out[    769] BA[100.00%] D[1.5918] Score[769.0000] (*)
Iter 14: f112222 quantization matrix:
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 27    25 25 25 25 25 25 25 27    25 25 25 25 25 25 25 27
 25 25 25 25 25 25 27 27    25 25 25 25 25 25 27 27    25 25 25 25 25 25 27 27
 25 25 25 25 27 27 27 27    25 25 25 25 27 27 27 27    25 25 25 25 27 27 27 27
Iter 14: f112222 GQ[271.35] Out[    751] BA[100.00%] D[2.0349] Score[636162.6421]
Iter 15: f112222 quantization matrix:
 23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25
 23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25
 23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
Iter 15: f112222 GQ[260.36] Out[    753] BA[100.00%] D[1.8915] Score[753.0000] (*)
Iter 16: f112222 quantization matrix:
 23 23 23 23 23 23 25 25    23 23 23 23 23 23 25 25    23 23 23 23 23 23 25 25
 23 23 23 23 23 25 25 25    23 23 23 23 23 25 25 25    23 23 23 23 23 25 25 25
 23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25
 23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25
 23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
Iter 16: f112222 GQ[254.80] Out[    763] BA[100.00%] D[1.5276] Score[763.0000]
Iter 17: f112222 quantization matrix:
 23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25
 23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25
 23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25
 23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25
 23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
Iter 17: f112222 GQ[257.59] Out[    758] BA[100.00%] D[1.6999] Score[758.0000]
Iter 18: f112222 quantization matrix:
 23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25
 23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25
 23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25    23 23 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
Iter 18: f112222 GQ[259.09] Out[    758] BA[100.00%] D[1.7844] Score[758.0000]
Iter 19: f112222 quantization matrix:
 23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25
 23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25
 23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
Iter 19: f112222 GQ[259.69] Out[    754] BA[100.00%] D[1.7925] Score[754.0000]

YUV420 selected quantization matrix:
 23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25    23 23 23 23 25 25 25 25
 23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25    23 23 23 25 25 25 25 25
 23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25    23 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
 25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25    25 25 25 25 25 25 25 25
Iter 20: f112222(1) up Coeffs[139/194] Blocks[13/17/40] ValThres[1.6371] Out[    719] EstErr[0.28%] BA[100.00%] D[1.9573] Score[12558.1775]
Iter 21: f112222(1) up Coeffs[29/39] Blocks[11/12/40] ValThres[0.2383] Out[    713] EstErr[0.70%] BA[100.00%] D[1.9807] Score[40160.2490]
Iter 22: f112222(1) up Coeffs[7/7] Blocks[2/2/40] ValThres[0.0227] Out[    705] EstErr[0.00%] BA[100.00%] D[1.9810] Score[40154.0073]
Iter 23: f112222(1) down Coeffs[3/150] Blocks[1/12/40] ValThres[0.0123] Out[    706] EstErr[0.00%] BA[100.00%] D[1.9491] Score[8183.8215]
Iter 24: f112222(1) down Coeffs[3/147] Blocks[1/12/40] ValThres[0.0000] Out[    706] EstErr[-0.14%] BA[100.00%] D[1.9324] Score[3553.6044]
Iter 25: f112222(1) down Coeffs[3/144] Blocks[1/12/40] ValThres[0.0000] Out[    707] EstErr[-0.14%] BA[100.00%] D[1.9145] Score[1448.5681]
Iter 26: f112222(1) down Coeffs[3/141] Blocks[2/12/40] ValThres[0.0233] Out[    707] EstErr[0.00%] BA[100.00%] D[1.9063] Score[964.8994]
Iter 27: f112222(1) down Coeffs[3/138] Blocks[2/11/40] ValThres[0.0191] Out[    709] EstErr[0.14%] BA[100.00%] D[1.8630] Score[709.0000] (*)
Iter 28: f112222(1) down Coeffs[3/135] Blocks[2/11/40] ValThres[0.0810] Out[    712] EstErr[0.70%] BA[100.00%] D[1.8630] Score[712.0000]
Iter 29: f112222(1) down Coeffs[3/132] Blocks[2/11/40] ValThres[0.0667] Out[    711] EstErr[-0.14%] BA[100.00%] D[1.8600] Score[711.0000]
Iter 30: f112222(1) down Coeffs[3/99] Blocks[1/9/40] ValThres[0.0231] Out[    716] EstErr[0.42%] BA[100.00%] D[1.8488] Score[716.0000]
Iter 31: f112222(1) down Coeffs[2/77] Blocks[2/6/40] ValThres[0.0967] Out[    715] EstErr[0.14%] BA[100.00%] D[1.8469] Score[715.0000]
Iter 32: f112222(1) down Coeffs[1/54] Blocks[1/4/40] ValThres[0.0070] Out[    716] EstErr[0.14%] BA[100.00%] D[1.8315] Score[716.0000]
target 1 --> target 2
Only YUV color space input jpeg is supported
Guetzli processing failed
target 2 --> target 3
Can't open input file
target 3 --> target 4
Can't open input file
done

original

rogierlommers commented 7 years ago

IDENTIFY OUTPUT FROM ORIGINAL

 Format: JPEG (Joint Photographic Experts Group JFIF format)
  Mime type: image/jpeg
  Class: DirectClass
  Geometry: 36x60+0+0
  Resolution: 72x72
  Print size: 0.5x0.833333
  Units: Undefined
  Type: TrueColor
  Endianess: Undefined
  Colorspace: sRGB
  Depth: 8-bit

IDENTIFY OUTPUT FROM GUETZLI's CREATED FILE

Format: JPEG (Joint Photographic Experts Group JFIF format)
  Mime type: image/jpeg
  Class: PseudoClass
  Geometry: 36x60+0+0
  Units: Undefined
  Type: Grayscale
  Base type: Palette
  Endianess: Undefined
  Colorspace: Gray
  Depth: 8-bit

Please notice the change in color type.