Browse Source

Change test images path from WebP to Webp

pull/1552/head
Brian Popow 5 years ago
parent
commit
3d36c5f776
  1. 283
      ImageSharp.sln
  2. 1
      src/ImageSharp/Formats/WebP/Lossless/NearLosslessEnc.cs
  3. 3
      tests/ImageSharp.Tests.ProfilingSandbox/Program.cs
  4. 248
      tests/ImageSharp.Tests/TestImages.cs

283
ImageSharp.sln

@ -381,146 +381,146 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Png", "Png", "{E1C42A6F-913
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Webp", "Webp", "{983A31E2-5E26-4058-BD6E-03B4922D4BBF}"
ProjectSection(SolutionItems) = preProject
tests\Images\Input\WebP\alpha_color_cache.webp = tests\Images\Input\WebP\alpha_color_cache.webp
tests\Images\Input\WebP\alpha_filter_0_method_0.webp = tests\Images\Input\WebP\alpha_filter_0_method_0.webp
tests\Images\Input\WebP\alpha_filter_0_method_1.webp = tests\Images\Input\WebP\alpha_filter_0_method_1.webp
tests\Images\Input\WebP\alpha_filter_1.webp = tests\Images\Input\WebP\alpha_filter_1.webp
tests\Images\Input\WebP\alpha_filter_1_method_0.webp = tests\Images\Input\WebP\alpha_filter_1_method_0.webp
tests\Images\Input\WebP\alpha_filter_1_method_1.webp = tests\Images\Input\WebP\alpha_filter_1_method_1.webp
tests\Images\Input\WebP\alpha_filter_2.webp = tests\Images\Input\WebP\alpha_filter_2.webp
tests\Images\Input\WebP\alpha_filter_2_method_0.webp = tests\Images\Input\WebP\alpha_filter_2_method_0.webp
tests\Images\Input\WebP\alpha_filter_2_method_1.webp = tests\Images\Input\WebP\alpha_filter_2_method_1.webp
tests\Images\Input\WebP\alpha_filter_3.webp = tests\Images\Input\WebP\alpha_filter_3.webp
tests\Images\Input\WebP\alpha_filter_3_method_0.webp = tests\Images\Input\WebP\alpha_filter_3_method_0.webp
tests\Images\Input\WebP\alpha_filter_3_method_1.webp = tests\Images\Input\WebP\alpha_filter_3_method_1.webp
tests\Images\Input\WebP\alpha_no_compression.webp = tests\Images\Input\WebP\alpha_no_compression.webp
tests\Images\Input\WebP\animated-webp.webp = tests\Images\Input\WebP\animated-webp.webp
tests\Images\Input\WebP\animated2.webp = tests\Images\Input\WebP\animated2.webp
tests\Images\Input\WebP\animated3.webp = tests\Images\Input\WebP\animated3.webp
tests\Images\Input\WebP\animated_lossy.webp = tests\Images\Input\WebP\animated_lossy.webp
tests\Images\Input\WebP\bad_palette_index.webp = tests\Images\Input\WebP\bad_palette_index.webp
tests\Images\Input\WebP\big_endian_bug_393.webp = tests\Images\Input\WebP\big_endian_bug_393.webp
tests\Images\Input\WebP\bryce.webp = tests\Images\Input\WebP\bryce.webp
tests\Images\Input\WebP\bug3.webp = tests\Images\Input\WebP\bug3.webp
tests\Images\Input\WebP\color_cache_bits_11.webp = tests\Images\Input\WebP\color_cache_bits_11.webp
tests\Images\Input\WebP\lossless1.webp = tests\Images\Input\WebP\lossless1.webp
tests\Images\Input\WebP\lossless2.webp = tests\Images\Input\WebP\lossless2.webp
tests\Images\Input\WebP\lossless3.webp = tests\Images\Input\WebP\lossless3.webp
tests\Images\Input\WebP\lossless4.webp = tests\Images\Input\WebP\lossless4.webp
tests\Images\Input\WebP\lossless_big_random_alpha.webp = tests\Images\Input\WebP\lossless_big_random_alpha.webp
tests\Images\Input\WebP\lossless_color_transform.bmp = tests\Images\Input\WebP\lossless_color_transform.bmp
tests\Images\Input\WebP\lossless_color_transform.pam = tests\Images\Input\WebP\lossless_color_transform.pam
tests\Images\Input\WebP\lossless_color_transform.pgm = tests\Images\Input\WebP\lossless_color_transform.pgm
tests\Images\Input\WebP\lossless_color_transform.ppm = tests\Images\Input\WebP\lossless_color_transform.ppm
tests\Images\Input\WebP\lossless_color_transform.tiff = tests\Images\Input\WebP\lossless_color_transform.tiff
tests\Images\Input\WebP\lossless_color_transform.webp = tests\Images\Input\WebP\lossless_color_transform.webp
tests\Images\Input\WebP\lossless_vec_1_0.webp = tests\Images\Input\WebP\lossless_vec_1_0.webp
tests\Images\Input\WebP\lossless_vec_1_1.webp = tests\Images\Input\WebP\lossless_vec_1_1.webp
tests\Images\Input\WebP\lossless_vec_1_10.webp = tests\Images\Input\WebP\lossless_vec_1_10.webp
tests\Images\Input\WebP\lossless_vec_1_11.webp = tests\Images\Input\WebP\lossless_vec_1_11.webp
tests\Images\Input\WebP\lossless_vec_1_12.webp = tests\Images\Input\WebP\lossless_vec_1_12.webp
tests\Images\Input\WebP\lossless_vec_1_13.webp = tests\Images\Input\WebP\lossless_vec_1_13.webp
tests\Images\Input\WebP\lossless_vec_1_14.webp = tests\Images\Input\WebP\lossless_vec_1_14.webp
tests\Images\Input\WebP\lossless_vec_1_15.webp = tests\Images\Input\WebP\lossless_vec_1_15.webp
tests\Images\Input\WebP\lossless_vec_1_2.webp = tests\Images\Input\WebP\lossless_vec_1_2.webp
tests\Images\Input\WebP\lossless_vec_1_3.webp = tests\Images\Input\WebP\lossless_vec_1_3.webp
tests\Images\Input\WebP\lossless_vec_1_4.webp = tests\Images\Input\WebP\lossless_vec_1_4.webp
tests\Images\Input\WebP\lossless_vec_1_5.webp = tests\Images\Input\WebP\lossless_vec_1_5.webp
tests\Images\Input\WebP\lossless_vec_1_6.webp = tests\Images\Input\WebP\lossless_vec_1_6.webp
tests\Images\Input\WebP\lossless_vec_1_7.webp = tests\Images\Input\WebP\lossless_vec_1_7.webp
tests\Images\Input\WebP\lossless_vec_1_8.webp = tests\Images\Input\WebP\lossless_vec_1_8.webp
tests\Images\Input\WebP\lossless_vec_1_9.webp = tests\Images\Input\WebP\lossless_vec_1_9.webp
tests\Images\Input\WebP\lossless_vec_2_0.webp = tests\Images\Input\WebP\lossless_vec_2_0.webp
tests\Images\Input\WebP\lossless_vec_2_1.webp = tests\Images\Input\WebP\lossless_vec_2_1.webp
tests\Images\Input\WebP\lossless_vec_2_10.webp = tests\Images\Input\WebP\lossless_vec_2_10.webp
tests\Images\Input\WebP\lossless_vec_2_11.webp = tests\Images\Input\WebP\lossless_vec_2_11.webp
tests\Images\Input\WebP\lossless_vec_2_12.webp = tests\Images\Input\WebP\lossless_vec_2_12.webp
tests\Images\Input\WebP\lossless_vec_2_13.webp = tests\Images\Input\WebP\lossless_vec_2_13.webp
tests\Images\Input\WebP\lossless_vec_2_14.webp = tests\Images\Input\WebP\lossless_vec_2_14.webp
tests\Images\Input\WebP\lossless_vec_2_15.webp = tests\Images\Input\WebP\lossless_vec_2_15.webp
tests\Images\Input\WebP\lossless_vec_2_2.webp = tests\Images\Input\WebP\lossless_vec_2_2.webp
tests\Images\Input\WebP\lossless_vec_2_3.webp = tests\Images\Input\WebP\lossless_vec_2_3.webp
tests\Images\Input\WebP\lossless_vec_2_4.webp = tests\Images\Input\WebP\lossless_vec_2_4.webp
tests\Images\Input\WebP\lossless_vec_2_5.webp = tests\Images\Input\WebP\lossless_vec_2_5.webp
tests\Images\Input\WebP\lossless_vec_2_6.webp = tests\Images\Input\WebP\lossless_vec_2_6.webp
tests\Images\Input\WebP\lossless_vec_2_7.webp = tests\Images\Input\WebP\lossless_vec_2_7.webp
tests\Images\Input\WebP\lossless_vec_2_8.webp = tests\Images\Input\WebP\lossless_vec_2_8.webp
tests\Images\Input\WebP\lossless_vec_2_9.webp = tests\Images\Input\WebP\lossless_vec_2_9.webp
tests\Images\Input\WebP\lossless_vec_list.txt = tests\Images\Input\WebP\lossless_vec_list.txt
tests\Images\Input\WebP\lossy_alpha1.webp = tests\Images\Input\WebP\lossy_alpha1.webp
tests\Images\Input\WebP\lossy_alpha2.webp = tests\Images\Input\WebP\lossy_alpha2.webp
tests\Images\Input\WebP\lossy_alpha3.webp = tests\Images\Input\WebP\lossy_alpha3.webp
tests\Images\Input\WebP\lossy_alpha4.webp = tests\Images\Input\WebP\lossy_alpha4.webp
tests\Images\Input\WebP\lossy_extreme_probabilities.webp = tests\Images\Input\WebP\lossy_extreme_probabilities.webp
tests\Images\Input\WebP\lossy_q0_f100.webp = tests\Images\Input\WebP\lossy_q0_f100.webp
tests\Images\Input\WebP\near_lossless_75.webp = tests\Images\Input\WebP\near_lossless_75.webp
tests\Images\Input\WebP\peak.png = tests\Images\Input\WebP\peak.png
tests\Images\Input\WebP\segment01.webp = tests\Images\Input\WebP\segment01.webp
tests\Images\Input\WebP\segment02.webp = tests\Images\Input\WebP\segment02.webp
tests\Images\Input\WebP\segment03.webp = tests\Images\Input\WebP\segment03.webp
tests\Images\Input\WebP\small_13x1.webp = tests\Images\Input\WebP\small_13x1.webp
tests\Images\Input\WebP\small_1x1.webp = tests\Images\Input\WebP\small_1x1.webp
tests\Images\Input\WebP\small_1x13.webp = tests\Images\Input\WebP\small_1x13.webp
tests\Images\Input\WebP\small_31x13.webp = tests\Images\Input\WebP\small_31x13.webp
tests\Images\Input\WebP\test-nostrong.webp = tests\Images\Input\WebP\test-nostrong.webp
tests\Images\Input\WebP\test.webp = tests\Images\Input\WebP\test.webp
tests\Images\Input\WebP\very_short.webp = tests\Images\Input\WebP\very_short.webp
tests\Images\Input\WebP\vp80-00-comprehensive-001.webp = tests\Images\Input\WebP\vp80-00-comprehensive-001.webp
tests\Images\Input\WebP\vp80-00-comprehensive-002.webp = tests\Images\Input\WebP\vp80-00-comprehensive-002.webp
tests\Images\Input\WebP\vp80-00-comprehensive-003.webp = tests\Images\Input\WebP\vp80-00-comprehensive-003.webp
tests\Images\Input\WebP\vp80-00-comprehensive-004.webp = tests\Images\Input\WebP\vp80-00-comprehensive-004.webp
tests\Images\Input\WebP\vp80-00-comprehensive-005.webp = tests\Images\Input\WebP\vp80-00-comprehensive-005.webp
tests\Images\Input\WebP\vp80-00-comprehensive-006.webp = tests\Images\Input\WebP\vp80-00-comprehensive-006.webp
tests\Images\Input\WebP\vp80-00-comprehensive-007.webp = tests\Images\Input\WebP\vp80-00-comprehensive-007.webp
tests\Images\Input\WebP\vp80-00-comprehensive-008.webp = tests\Images\Input\WebP\vp80-00-comprehensive-008.webp
tests\Images\Input\WebP\vp80-00-comprehensive-009.webp = tests\Images\Input\WebP\vp80-00-comprehensive-009.webp
tests\Images\Input\WebP\vp80-00-comprehensive-010.webp = tests\Images\Input\WebP\vp80-00-comprehensive-010.webp
tests\Images\Input\WebP\vp80-00-comprehensive-011.webp = tests\Images\Input\WebP\vp80-00-comprehensive-011.webp
tests\Images\Input\WebP\vp80-00-comprehensive-012.webp = tests\Images\Input\WebP\vp80-00-comprehensive-012.webp
tests\Images\Input\WebP\vp80-00-comprehensive-013.webp = tests\Images\Input\WebP\vp80-00-comprehensive-013.webp
tests\Images\Input\WebP\vp80-00-comprehensive-014.webp = tests\Images\Input\WebP\vp80-00-comprehensive-014.webp
tests\Images\Input\WebP\vp80-00-comprehensive-015.webp = tests\Images\Input\WebP\vp80-00-comprehensive-015.webp
tests\Images\Input\WebP\vp80-00-comprehensive-016.webp = tests\Images\Input\WebP\vp80-00-comprehensive-016.webp
tests\Images\Input\WebP\vp80-00-comprehensive-017.webp = tests\Images\Input\WebP\vp80-00-comprehensive-017.webp
tests\Images\Input\WebP\vp80-01-intra-1400.webp = tests\Images\Input\WebP\vp80-01-intra-1400.webp
tests\Images\Input\WebP\vp80-01-intra-1411.webp = tests\Images\Input\WebP\vp80-01-intra-1411.webp
tests\Images\Input\WebP\vp80-01-intra-1416.webp = tests\Images\Input\WebP\vp80-01-intra-1416.webp
tests\Images\Input\WebP\vp80-01-intra-1417.webp = tests\Images\Input\WebP\vp80-01-intra-1417.webp
tests\Images\Input\WebP\vp80-02-inter-1402.webp = tests\Images\Input\WebP\vp80-02-inter-1402.webp
tests\Images\Input\WebP\vp80-02-inter-1412.webp = tests\Images\Input\WebP\vp80-02-inter-1412.webp
tests\Images\Input\WebP\vp80-02-inter-1418.webp = tests\Images\Input\WebP\vp80-02-inter-1418.webp
tests\Images\Input\WebP\vp80-02-inter-1424.webp = tests\Images\Input\WebP\vp80-02-inter-1424.webp
tests\Images\Input\WebP\vp80-03-segmentation-1401.webp = tests\Images\Input\WebP\vp80-03-segmentation-1401.webp
tests\Images\Input\WebP\vp80-03-segmentation-1403.webp = tests\Images\Input\WebP\vp80-03-segmentation-1403.webp
tests\Images\Input\WebP\vp80-03-segmentation-1407.webp = tests\Images\Input\WebP\vp80-03-segmentation-1407.webp
tests\Images\Input\WebP\vp80-03-segmentation-1408.webp = tests\Images\Input\WebP\vp80-03-segmentation-1408.webp
tests\Images\Input\WebP\vp80-03-segmentation-1409.webp = tests\Images\Input\WebP\vp80-03-segmentation-1409.webp
tests\Images\Input\WebP\vp80-03-segmentation-1410.webp = tests\Images\Input\WebP\vp80-03-segmentation-1410.webp
tests\Images\Input\WebP\vp80-03-segmentation-1413.webp = tests\Images\Input\WebP\vp80-03-segmentation-1413.webp
tests\Images\Input\WebP\vp80-03-segmentation-1414.webp = tests\Images\Input\WebP\vp80-03-segmentation-1414.webp
tests\Images\Input\WebP\vp80-03-segmentation-1415.webp = tests\Images\Input\WebP\vp80-03-segmentation-1415.webp
tests\Images\Input\WebP\vp80-03-segmentation-1425.webp = tests\Images\Input\WebP\vp80-03-segmentation-1425.webp
tests\Images\Input\WebP\vp80-03-segmentation-1426.webp = tests\Images\Input\WebP\vp80-03-segmentation-1426.webp
tests\Images\Input\WebP\vp80-03-segmentation-1427.webp = tests\Images\Input\WebP\vp80-03-segmentation-1427.webp
tests\Images\Input\WebP\vp80-03-segmentation-1432.webp = tests\Images\Input\WebP\vp80-03-segmentation-1432.webp
tests\Images\Input\WebP\vp80-03-segmentation-1435.webp = tests\Images\Input\WebP\vp80-03-segmentation-1435.webp
tests\Images\Input\WebP\vp80-03-segmentation-1436.webp = tests\Images\Input\WebP\vp80-03-segmentation-1436.webp
tests\Images\Input\WebP\vp80-03-segmentation-1437.webp = tests\Images\Input\WebP\vp80-03-segmentation-1437.webp
tests\Images\Input\WebP\vp80-03-segmentation-1441.webp = tests\Images\Input\WebP\vp80-03-segmentation-1441.webp
tests\Images\Input\WebP\vp80-03-segmentation-1442.webp = tests\Images\Input\WebP\vp80-03-segmentation-1442.webp
tests\Images\Input\WebP\vp80-04-partitions-1404.webp = tests\Images\Input\WebP\vp80-04-partitions-1404.webp
tests\Images\Input\WebP\vp80-04-partitions-1405.webp = tests\Images\Input\WebP\vp80-04-partitions-1405.webp
tests\Images\Input\WebP\vp80-04-partitions-1406.webp = tests\Images\Input\WebP\vp80-04-partitions-1406.webp
tests\Images\Input\WebP\vp80-05-sharpness-1428.webp = tests\Images\Input\WebP\vp80-05-sharpness-1428.webp
tests\Images\Input\WebP\vp80-05-sharpness-1429.webp = tests\Images\Input\WebP\vp80-05-sharpness-1429.webp
tests\Images\Input\WebP\vp80-05-sharpness-1430.webp = tests\Images\Input\WebP\vp80-05-sharpness-1430.webp
tests\Images\Input\WebP\vp80-05-sharpness-1431.webp = tests\Images\Input\WebP\vp80-05-sharpness-1431.webp
tests\Images\Input\WebP\vp80-05-sharpness-1433.webp = tests\Images\Input\WebP\vp80-05-sharpness-1433.webp
tests\Images\Input\WebP\vp80-05-sharpness-1434.webp = tests\Images\Input\WebP\vp80-05-sharpness-1434.webp
tests\Images\Input\WebP\vp80-05-sharpness-1438.webp = tests\Images\Input\WebP\vp80-05-sharpness-1438.webp
tests\Images\Input\WebP\vp80-05-sharpness-1439.webp = tests\Images\Input\WebP\vp80-05-sharpness-1439.webp
tests\Images\Input\WebP\vp80-05-sharpness-1440.webp = tests\Images\Input\WebP\vp80-05-sharpness-1440.webp
tests\Images\Input\WebP\vp80-05-sharpness-1443.webp = tests\Images\Input\WebP\vp80-05-sharpness-1443.webp
tests\Images\Input\Webp\alpha_color_cache.webp = tests\Images\Input\Webp\alpha_color_cache.webp
tests\Images\Input\Webp\alpha_filter_0_method_0.webp = tests\Images\Input\Webp\alpha_filter_0_method_0.webp
tests\Images\Input\Webp\alpha_filter_0_method_1.webp = tests\Images\Input\Webp\alpha_filter_0_method_1.webp
tests\Images\Input\Webp\alpha_filter_1.webp = tests\Images\Input\Webp\alpha_filter_1.webp
tests\Images\Input\Webp\alpha_filter_1_method_0.webp = tests\Images\Input\Webp\alpha_filter_1_method_0.webp
tests\Images\Input\Webp\alpha_filter_1_method_1.webp = tests\Images\Input\Webp\alpha_filter_1_method_1.webp
tests\Images\Input\Webp\alpha_filter_2.webp = tests\Images\Input\Webp\alpha_filter_2.webp
tests\Images\Input\Webp\alpha_filter_2_method_0.webp = tests\Images\Input\Webp\alpha_filter_2_method_0.webp
tests\Images\Input\Webp\alpha_filter_2_method_1.webp = tests\Images\Input\Webp\alpha_filter_2_method_1.webp
tests\Images\Input\Webp\alpha_filter_3.webp = tests\Images\Input\Webp\alpha_filter_3.webp
tests\Images\Input\Webp\alpha_filter_3_method_0.webp = tests\Images\Input\Webp\alpha_filter_3_method_0.webp
tests\Images\Input\Webp\alpha_filter_3_method_1.webp = tests\Images\Input\Webp\alpha_filter_3_method_1.webp
tests\Images\Input\Webp\alpha_no_compression.webp = tests\Images\Input\Webp\alpha_no_compression.webp
tests\Images\Input\Webp\animated-webp.webp = tests\Images\Input\Webp\animated-webp.webp
tests\Images\Input\Webp\animated2.webp = tests\Images\Input\Webp\animated2.webp
tests\Images\Input\Webp\animated3.webp = tests\Images\Input\Webp\animated3.webp
tests\Images\Input\Webp\animated_lossy.webp = tests\Images\Input\Webp\animated_lossy.webp
tests\Images\Input\Webp\bad_palette_index.webp = tests\Images\Input\Webp\bad_palette_index.webp
tests\Images\Input\Webp\big_endian_bug_393.webp = tests\Images\Input\Webp\big_endian_bug_393.webp
tests\Images\Input\Webp\bryce.webp = tests\Images\Input\Webp\bryce.webp
tests\Images\Input\Webp\bug3.webp = tests\Images\Input\Webp\bug3.webp
tests\Images\Input\Webp\color_cache_bits_11.webp = tests\Images\Input\Webp\color_cache_bits_11.webp
tests\Images\Input\Webp\lossless1.webp = tests\Images\Input\Webp\lossless1.webp
tests\Images\Input\Webp\lossless2.webp = tests\Images\Input\Webp\lossless2.webp
tests\Images\Input\Webp\lossless3.webp = tests\Images\Input\Webp\lossless3.webp
tests\Images\Input\Webp\lossless4.webp = tests\Images\Input\Webp\lossless4.webp
tests\Images\Input\Webp\lossless_big_random_alpha.webp = tests\Images\Input\Webp\lossless_big_random_alpha.webp
tests\Images\Input\Webp\lossless_color_transform.bmp = tests\Images\Input\Webp\lossless_color_transform.bmp
tests\Images\Input\Webp\lossless_color_transform.pam = tests\Images\Input\Webp\lossless_color_transform.pam
tests\Images\Input\Webp\lossless_color_transform.pgm = tests\Images\Input\Webp\lossless_color_transform.pgm
tests\Images\Input\Webp\lossless_color_transform.ppm = tests\Images\Input\Webp\lossless_color_transform.ppm
tests\Images\Input\Webp\lossless_color_transform.tiff = tests\Images\Input\Webp\lossless_color_transform.tiff
tests\Images\Input\Webp\lossless_color_transform.webp = tests\Images\Input\Webp\lossless_color_transform.webp
tests\Images\Input\Webp\lossless_vec_1_0.webp = tests\Images\Input\Webp\lossless_vec_1_0.webp
tests\Images\Input\Webp\lossless_vec_1_1.webp = tests\Images\Input\Webp\lossless_vec_1_1.webp
tests\Images\Input\Webp\lossless_vec_1_10.webp = tests\Images\Input\Webp\lossless_vec_1_10.webp
tests\Images\Input\Webp\lossless_vec_1_11.webp = tests\Images\Input\Webp\lossless_vec_1_11.webp
tests\Images\Input\Webp\lossless_vec_1_12.webp = tests\Images\Input\Webp\lossless_vec_1_12.webp
tests\Images\Input\Webp\lossless_vec_1_13.webp = tests\Images\Input\Webp\lossless_vec_1_13.webp
tests\Images\Input\Webp\lossless_vec_1_14.webp = tests\Images\Input\Webp\lossless_vec_1_14.webp
tests\Images\Input\Webp\lossless_vec_1_15.webp = tests\Images\Input\Webp\lossless_vec_1_15.webp
tests\Images\Input\Webp\lossless_vec_1_2.webp = tests\Images\Input\Webp\lossless_vec_1_2.webp
tests\Images\Input\Webp\lossless_vec_1_3.webp = tests\Images\Input\Webp\lossless_vec_1_3.webp
tests\Images\Input\Webp\lossless_vec_1_4.webp = tests\Images\Input\Webp\lossless_vec_1_4.webp
tests\Images\Input\Webp\lossless_vec_1_5.webp = tests\Images\Input\Webp\lossless_vec_1_5.webp
tests\Images\Input\Webp\lossless_vec_1_6.webp = tests\Images\Input\Webp\lossless_vec_1_6.webp
tests\Images\Input\Webp\lossless_vec_1_7.webp = tests\Images\Input\Webp\lossless_vec_1_7.webp
tests\Images\Input\Webp\lossless_vec_1_8.webp = tests\Images\Input\Webp\lossless_vec_1_8.webp
tests\Images\Input\Webp\lossless_vec_1_9.webp = tests\Images\Input\Webp\lossless_vec_1_9.webp
tests\Images\Input\Webp\lossless_vec_2_0.webp = tests\Images\Input\Webp\lossless_vec_2_0.webp
tests\Images\Input\Webp\lossless_vec_2_1.webp = tests\Images\Input\Webp\lossless_vec_2_1.webp
tests\Images\Input\Webp\lossless_vec_2_10.webp = tests\Images\Input\Webp\lossless_vec_2_10.webp
tests\Images\Input\Webp\lossless_vec_2_11.webp = tests\Images\Input\Webp\lossless_vec_2_11.webp
tests\Images\Input\Webp\lossless_vec_2_12.webp = tests\Images\Input\Webp\lossless_vec_2_12.webp
tests\Images\Input\Webp\lossless_vec_2_13.webp = tests\Images\Input\Webp\lossless_vec_2_13.webp
tests\Images\Input\Webp\lossless_vec_2_14.webp = tests\Images\Input\Webp\lossless_vec_2_14.webp
tests\Images\Input\Webp\lossless_vec_2_15.webp = tests\Images\Input\Webp\lossless_vec_2_15.webp
tests\Images\Input\Webp\lossless_vec_2_2.webp = tests\Images\Input\Webp\lossless_vec_2_2.webp
tests\Images\Input\Webp\lossless_vec_2_3.webp = tests\Images\Input\Webp\lossless_vec_2_3.webp
tests\Images\Input\Webp\lossless_vec_2_4.webp = tests\Images\Input\Webp\lossless_vec_2_4.webp
tests\Images\Input\Webp\lossless_vec_2_5.webp = tests\Images\Input\Webp\lossless_vec_2_5.webp
tests\Images\Input\Webp\lossless_vec_2_6.webp = tests\Images\Input\Webp\lossless_vec_2_6.webp
tests\Images\Input\Webp\lossless_vec_2_7.webp = tests\Images\Input\Webp\lossless_vec_2_7.webp
tests\Images\Input\Webp\lossless_vec_2_8.webp = tests\Images\Input\Webp\lossless_vec_2_8.webp
tests\Images\Input\Webp\lossless_vec_2_9.webp = tests\Images\Input\Webp\lossless_vec_2_9.webp
tests\Images\Input\Webp\lossless_vec_list.txt = tests\Images\Input\Webp\lossless_vec_list.txt
tests\Images\Input\Webp\lossy_alpha1.webp = tests\Images\Input\Webp\lossy_alpha1.webp
tests\Images\Input\Webp\lossy_alpha2.webp = tests\Images\Input\Webp\lossy_alpha2.webp
tests\Images\Input\Webp\lossy_alpha3.webp = tests\Images\Input\Webp\lossy_alpha3.webp
tests\Images\Input\Webp\lossy_alpha4.webp = tests\Images\Input\Webp\lossy_alpha4.webp
tests\Images\Input\Webp\lossy_extreme_probabilities.webp = tests\Images\Input\Webp\lossy_extreme_probabilities.webp
tests\Images\Input\Webp\lossy_q0_f100.webp = tests\Images\Input\Webp\lossy_q0_f100.webp
tests\Images\Input\Webp\near_lossless_75.webp = tests\Images\Input\Webp\near_lossless_75.webp
tests\Images\Input\Webp\peak.png = tests\Images\Input\Webp\peak.png
tests\Images\Input\Webp\segment01.webp = tests\Images\Input\Webp\segment01.webp
tests\Images\Input\Webp\segment02.webp = tests\Images\Input\Webp\segment02.webp
tests\Images\Input\Webp\segment03.webp = tests\Images\Input\Webp\segment03.webp
tests\Images\Input\Webp\small_13x1.webp = tests\Images\Input\Webp\small_13x1.webp
tests\Images\Input\Webp\small_1x1.webp = tests\Images\Input\Webp\small_1x1.webp
tests\Images\Input\Webp\small_1x13.webp = tests\Images\Input\Webp\small_1x13.webp
tests\Images\Input\Webp\small_31x13.webp = tests\Images\Input\Webp\small_31x13.webp
tests\Images\Input\Webp\test-nostrong.webp = tests\Images\Input\Webp\test-nostrong.webp
tests\Images\Input\Webp\test.webp = tests\Images\Input\Webp\test.webp
tests\Images\Input\Webp\very_short.webp = tests\Images\Input\Webp\very_short.webp
tests\Images\Input\Webp\vp80-00-comprehensive-001.webp = tests\Images\Input\Webp\vp80-00-comprehensive-001.webp
tests\Images\Input\Webp\vp80-00-comprehensive-002.webp = tests\Images\Input\Webp\vp80-00-comprehensive-002.webp
tests\Images\Input\Webp\vp80-00-comprehensive-003.webp = tests\Images\Input\Webp\vp80-00-comprehensive-003.webp
tests\Images\Input\Webp\vp80-00-comprehensive-004.webp = tests\Images\Input\Webp\vp80-00-comprehensive-004.webp
tests\Images\Input\Webp\vp80-00-comprehensive-005.webp = tests\Images\Input\Webp\vp80-00-comprehensive-005.webp
tests\Images\Input\Webp\vp80-00-comprehensive-006.webp = tests\Images\Input\Webp\vp80-00-comprehensive-006.webp
tests\Images\Input\Webp\vp80-00-comprehensive-007.webp = tests\Images\Input\Webp\vp80-00-comprehensive-007.webp
tests\Images\Input\Webp\vp80-00-comprehensive-008.webp = tests\Images\Input\Webp\vp80-00-comprehensive-008.webp
tests\Images\Input\Webp\vp80-00-comprehensive-009.webp = tests\Images\Input\Webp\vp80-00-comprehensive-009.webp
tests\Images\Input\Webp\vp80-00-comprehensive-010.webp = tests\Images\Input\Webp\vp80-00-comprehensive-010.webp
tests\Images\Input\Webp\vp80-00-comprehensive-011.webp = tests\Images\Input\Webp\vp80-00-comprehensive-011.webp
tests\Images\Input\Webp\vp80-00-comprehensive-012.webp = tests\Images\Input\Webp\vp80-00-comprehensive-012.webp
tests\Images\Input\Webp\vp80-00-comprehensive-013.webp = tests\Images\Input\Webp\vp80-00-comprehensive-013.webp
tests\Images\Input\Webp\vp80-00-comprehensive-014.webp = tests\Images\Input\Webp\vp80-00-comprehensive-014.webp
tests\Images\Input\Webp\vp80-00-comprehensive-015.webp = tests\Images\Input\Webp\vp80-00-comprehensive-015.webp
tests\Images\Input\Webp\vp80-00-comprehensive-016.webp = tests\Images\Input\Webp\vp80-00-comprehensive-016.webp
tests\Images\Input\Webp\vp80-00-comprehensive-017.webp = tests\Images\Input\Webp\vp80-00-comprehensive-017.webp
tests\Images\Input\Webp\vp80-01-intra-1400.webp = tests\Images\Input\Webp\vp80-01-intra-1400.webp
tests\Images\Input\Webp\vp80-01-intra-1411.webp = tests\Images\Input\Webp\vp80-01-intra-1411.webp
tests\Images\Input\Webp\vp80-01-intra-1416.webp = tests\Images\Input\Webp\vp80-01-intra-1416.webp
tests\Images\Input\Webp\vp80-01-intra-1417.webp = tests\Images\Input\Webp\vp80-01-intra-1417.webp
tests\Images\Input\Webp\vp80-02-inter-1402.webp = tests\Images\Input\Webp\vp80-02-inter-1402.webp
tests\Images\Input\Webp\vp80-02-inter-1412.webp = tests\Images\Input\Webp\vp80-02-inter-1412.webp
tests\Images\Input\Webp\vp80-02-inter-1418.webp = tests\Images\Input\Webp\vp80-02-inter-1418.webp
tests\Images\Input\Webp\vp80-02-inter-1424.webp = tests\Images\Input\Webp\vp80-02-inter-1424.webp
tests\Images\Input\Webp\vp80-03-segmentation-1401.webp = tests\Images\Input\Webp\vp80-03-segmentation-1401.webp
tests\Images\Input\Webp\vp80-03-segmentation-1403.webp = tests\Images\Input\Webp\vp80-03-segmentation-1403.webp
tests\Images\Input\Webp\vp80-03-segmentation-1407.webp = tests\Images\Input\Webp\vp80-03-segmentation-1407.webp
tests\Images\Input\Webp\vp80-03-segmentation-1408.webp = tests\Images\Input\Webp\vp80-03-segmentation-1408.webp
tests\Images\Input\Webp\vp80-03-segmentation-1409.webp = tests\Images\Input\Webp\vp80-03-segmentation-1409.webp
tests\Images\Input\Webp\vp80-03-segmentation-1410.webp = tests\Images\Input\Webp\vp80-03-segmentation-1410.webp
tests\Images\Input\Webp\vp80-03-segmentation-1413.webp = tests\Images\Input\Webp\vp80-03-segmentation-1413.webp
tests\Images\Input\Webp\vp80-03-segmentation-1414.webp = tests\Images\Input\Webp\vp80-03-segmentation-1414.webp
tests\Images\Input\Webp\vp80-03-segmentation-1415.webp = tests\Images\Input\Webp\vp80-03-segmentation-1415.webp
tests\Images\Input\Webp\vp80-03-segmentation-1425.webp = tests\Images\Input\Webp\vp80-03-segmentation-1425.webp
tests\Images\Input\Webp\vp80-03-segmentation-1426.webp = tests\Images\Input\Webp\vp80-03-segmentation-1426.webp
tests\Images\Input\Webp\vp80-03-segmentation-1427.webp = tests\Images\Input\Webp\vp80-03-segmentation-1427.webp
tests\Images\Input\Webp\vp80-03-segmentation-1432.webp = tests\Images\Input\Webp\vp80-03-segmentation-1432.webp
tests\Images\Input\Webp\vp80-03-segmentation-1435.webp = tests\Images\Input\Webp\vp80-03-segmentation-1435.webp
tests\Images\Input\Webp\vp80-03-segmentation-1436.webp = tests\Images\Input\Webp\vp80-03-segmentation-1436.webp
tests\Images\Input\Webp\vp80-03-segmentation-1437.webp = tests\Images\Input\Webp\vp80-03-segmentation-1437.webp
tests\Images\Input\Webp\vp80-03-segmentation-1441.webp = tests\Images\Input\Webp\vp80-03-segmentation-1441.webp
tests\Images\Input\Webp\vp80-03-segmentation-1442.webp = tests\Images\Input\Webp\vp80-03-segmentation-1442.webp
tests\Images\Input\Webp\vp80-04-partitions-1404.webp = tests\Images\Input\Webp\vp80-04-partitions-1404.webp
tests\Images\Input\Webp\vp80-04-partitions-1405.webp = tests\Images\Input\Webp\vp80-04-partitions-1405.webp
tests\Images\Input\Webp\vp80-04-partitions-1406.webp = tests\Images\Input\Webp\vp80-04-partitions-1406.webp
tests\Images\Input\Webp\vp80-05-sharpness-1428.webp = tests\Images\Input\Webp\vp80-05-sharpness-1428.webp
tests\Images\Input\Webp\vp80-05-sharpness-1429.webp = tests\Images\Input\Webp\vp80-05-sharpness-1429.webp
tests\Images\Input\Webp\vp80-05-sharpness-1430.webp = tests\Images\Input\Webp\vp80-05-sharpness-1430.webp
tests\Images\Input\Webp\vp80-05-sharpness-1431.webp = tests\Images\Input\Webp\vp80-05-sharpness-1431.webp
tests\Images\Input\Webp\vp80-05-sharpness-1433.webp = tests\Images\Input\Webp\vp80-05-sharpness-1433.webp
tests\Images\Input\Webp\vp80-05-sharpness-1434.webp = tests\Images\Input\Webp\vp80-05-sharpness-1434.webp
tests\Images\Input\Webp\vp80-05-sharpness-1438.webp = tests\Images\Input\Webp\vp80-05-sharpness-1438.webp
tests\Images\Input\Webp\vp80-05-sharpness-1439.webp = tests\Images\Input\Webp\vp80-05-sharpness-1439.webp
tests\Images\Input\Webp\vp80-05-sharpness-1440.webp = tests\Images\Input\Webp\vp80-05-sharpness-1440.webp
tests\Images\Input\Webp\vp80-05-sharpness-1443.webp = tests\Images\Input\Webp\vp80-05-sharpness-1443.webp
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ImageSharp.Tests", "tests\ImageSharp.Tests\ImageSharp.Tests.csproj", "{EA3000E9-2A91-4EC4-8A68-E566DEBDC4F6}"
@ -536,7 +536,6 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SharedInfrastructure", "sha
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ImageSharp.Tests.ProfilingSandbox", "tests\ImageSharp.Tests.ProfilingSandbox\ImageSharp.Tests.ProfilingSandbox.csproj", "{FC527290-2F22-432C-B77B-6E815726B02C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tga", "Tga", "{FCB65777-1D97-42DD-9ECC-96732D495D5C}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "issues", "issues", "{670DD46C-82E9-499A-B2D2-00A802ED0141}"
ProjectSection(SolutionItems) = preProject
tests\Images\Input\Png\issues\Issue_1014_1.png = tests\Images\Input\Png\issues\Issue_1014_1.png
@ -691,7 +690,7 @@ Global
{C0D7754B-5277-438E-ABEB-2BA34401B5A7} = {1799C43E-5C54-4A8F-8D64-B1475241DB0D}
{68A8CC40-6AED-4E96-B524-31B1158FDEEA} = {815C0625-CD3D-440F-9F80-2D83856AB7AE}
{FC527290-2F22-432C-B77B-6E815726B02C} = {56801022-D71A-4FBE-BC5B-CBA08E2284EC}
{FCB65777-1D97-42DD-9ECC-96732D495D5C} = {9DA226A1-8656-49A8-A58A-A8B5C081AD66}
{5DFC394F-136F-4B76-9BCA-3BA786515EFC} = {9DA226A1-8656-49A8-A58A-A8B5C081AD66}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5F8B9D1F-CD8B-4CC5-8216-D531E25BD795}

1
src/ImageSharp/Formats/WebP/Lossless/NearLosslessEnc.cs

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Formats.Webp.Lossless;
namespace SixLabors.ImageSharp.Formats.Webp.Lossless
{

3
tests/ImageSharp.Tests.ProfilingSandbox/Program.cs

@ -1,3 +1,6 @@
// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.Tests.Formats.Jpg;
using SixLabors.ImageSharp.Tests.PixelFormats.PixelOperations;

248
tests/ImageSharp.Tests/TestImages.cs

@ -518,190 +518,188 @@ namespace SixLabors.ImageSharp.Tests
public static class WebP
{
// Reference image as png
public const string Peak = "WebP/peak.png";
public const string Peak = "Webp/peak.png";
// Test pattern images for testing the encoder.
public const string TestPatternOpaque = "WebP/testpattern_opaque.png";
public const string TestPatternOpaqueSmall = "WebP/testpattern_opaque_small.png";
public const string RgbTestPattern100x100 = "WebP/rgb_pattern_100x100.png";
public const string RgbTestPattern80x80 = "WebP/rgb_pattern_80x80.png";
public const string RgbTestPattern63x63 = "WebP/rgb_pattern_63x63.png";
public const string TestPatternOpaque = "Webp/testpattern_opaque.png";
public const string TestPatternOpaqueSmall = "Webp/testpattern_opaque_small.png";
public const string RgbTestPattern100x100 = "Webp/rgb_pattern_100x100.png";
public const string RgbTestPattern80x80 = "Webp/rgb_pattern_80x80.png";
public const string RgbTestPattern63x63 = "Webp/rgb_pattern_63x63.png";
// Test image for encoding image with a palette.
public const string Flag = "WebP/flag_of_germany.png";
public const string Flag = "Webp/flag_of_germany.png";
// Test images for converting rgb data to yuv.
public const string Yuv = "WebP/yuv_test.png";
public const string Yuv = "Webp/yuv_test.png";
public static class Animated
{
public const string Animated1 = "WebP/animated-webp.webp";
public const string Animated2 = "WebP/animated2.webp";
public const string Animated3 = "WebP/animated3.webp";
public const string Animated4 = "WebP/animated_lossy.webp";
public const string Animated1 = "Webp/animated-webp.webp";
public const string Animated2 = "Webp/animated2.webp";
public const string Animated3 = "Webp/animated3.webp";
public const string Animated4 = "Webp/animated_lossy.webp";
}
public static class Lossless
{
public const string Earth = "WebP/earth_lossless.webp";
public const string Alpha = "WebP/lossless_alpha_small.webp";
public const string WithExif = "WebP/exif_lossless.webp";
public const string WithIccp = "WebP/lossless_with_iccp.webp";
public const string NoTransform1 = "WebP/lossless_vec_1_0.webp";
public const string NoTransform2 = "WebP/lossless_vec_2_0.webp";
public const string GreenTransform1 = "WebP/lossless1.webp";
public const string GreenTransform2 = "WebP/lossless2.webp";
public const string GreenTransform3 = "WebP/lossless3.webp";
public const string GreenTransform4 = "WebP/lossless_vec_1_4.webp";
public const string GreenTransform5 = "WebP/lossless_vec_2_4.webp";
public const string CrossColorTransform1 = "WebP/lossless_vec_1_8.webp";
public const string CrossColorTransform2 = "WebP/lossless_vec_2_8.webp";
public const string PredictorTransform1 = "WebP/lossless_vec_1_2.webp";
public const string PredictorTransform2 = "WebP/lossless_vec_2_2.webp";
public const string ColorIndexTransform1 = "WebP/lossless4.webp";
public const string ColorIndexTransform2 = "WebP/lossless_vec_1_1.webp";
public const string ColorIndexTransform3 = "WebP/lossless_vec_1_5.webp";
public const string ColorIndexTransform4 = "WebP/lossless_vec_2_1.webp";
public const string ColorIndexTransform5 = "WebP/lossless_vec_2_5.webp";
public const string TwoTransforms1 = "WebP/lossless_vec_1_10.webp"; // cross_color, predictor
public const string TwoTransforms2 = "WebP/lossless_vec_1_12.webp"; // cross_color, substract_green
public const string TwoTransforms3 = "WebP/lossless_vec_1_13.webp"; // color_indexing, cross_color
public const string TwoTransforms4 = "WebP/lossless_vec_1_3.webp"; // color_indexing, predictor
public const string TwoTransforms5 = "WebP/lossless_vec_1_6.webp"; // substract_green, predictor
public const string TwoTransforms6 = "WebP/lossless_vec_1_7.webp"; // color_indexing, predictor
public const string TwoTransforms7 = "WebP/lossless_vec_1_9.webp"; // color_indexing, cross_color
public const string TwoTransforms8 = "WebP/lossless_vec_2_10.webp"; // predictor, cross_color
public const string TwoTransforms9 = "WebP/lossless_vec_2_12.webp"; // substract_green, cross_color
public const string TwoTransforms10 = "WebP/lossless_vec_2_13.webp"; // color_indexing, cross_color
public const string TwoTransforms11 = "WebP/lossless_vec_2_3.webp"; // color_indexing, predictor
public const string TwoTransforms12 = "WebP/lossless_vec_2_6.webp"; // substract_green, predictor
public const string TwoTransforms13 = "WebP/lossless_vec_2_9.webp"; // color_indexing, predictor
public const string Earth = "Webp/earth_lossless.webp";
public const string Alpha = "Webp/lossless_alpha_small.webp";
public const string WithExif = "Webp/exif_lossless.webp";
public const string WithIccp = "Webp/lossless_with_iccp.webp";
public const string NoTransform1 = "Webp/lossless_vec_1_0.webp";
public const string NoTransform2 = "Webp/lossless_vec_2_0.webp";
public const string GreenTransform1 = "Webp/lossless1.webp";
public const string GreenTransform2 = "Webp/lossless2.webp";
public const string GreenTransform3 = "Webp/lossless3.webp";
public const string GreenTransform4 = "Webp/lossless_vec_1_4.webp";
public const string GreenTransform5 = "Webp/lossless_vec_2_4.webp";
public const string CrossColorTransform1 = "Webp/lossless_vec_1_8.webp";
public const string CrossColorTransform2 = "Webp/lossless_vec_2_8.webp";
public const string PredictorTransform1 = "Webp/lossless_vec_1_2.webp";
public const string PredictorTransform2 = "Webp/lossless_vec_2_2.webp";
public const string ColorIndexTransform1 = "Webp/lossless4.webp";
public const string ColorIndexTransform2 = "Webp/lossless_vec_1_1.webp";
public const string ColorIndexTransform3 = "Webp/lossless_vec_1_5.webp";
public const string ColorIndexTransform4 = "Webp/lossless_vec_2_1.webp";
public const string ColorIndexTransform5 = "Webp/lossless_vec_2_5.webp";
public const string TwoTransforms1 = "Webp/lossless_vec_1_10.webp"; // cross_color, predictor
public const string TwoTransforms2 = "Webp/lossless_vec_1_12.webp"; // cross_color, substract_green
public const string TwoTransforms3 = "Webp/lossless_vec_1_13.webp"; // color_indexing, cross_color
public const string TwoTransforms4 = "Webp/lossless_vec_1_3.webp"; // color_indexing, predictor
public const string TwoTransforms5 = "Webp/lossless_vec_1_6.webp"; // substract_green, predictor
public const string TwoTransforms6 = "Webp/lossless_vec_1_7.webp"; // color_indexing, predictor
public const string TwoTransforms7 = "Webp/lossless_vec_1_9.webp"; // color_indexing, cross_color
public const string TwoTransforms8 = "Webp/lossless_vec_2_10.webp"; // predictor, cross_color
public const string TwoTransforms9 = "Webp/lossless_vec_2_12.webp"; // substract_green, cross_color
public const string TwoTransforms10 = "Webp/lossless_vec_2_13.webp"; // color_indexing, cross_color
public const string TwoTransforms11 = "Webp/lossless_vec_2_3.webp"; // color_indexing, predictor
public const string TwoTransforms12 = "Webp/lossless_vec_2_6.webp"; // substract_green, predictor
public const string TwoTransforms13 = "Webp/lossless_vec_2_9.webp"; // color_indexing, predictor
// substract_green, predictor, cross_color
public const string ThreeTransforms1 = "WebP/color_cache_bits_11.webp";
public const string ThreeTransforms1 = "Webp/color_cache_bits_11.webp";
// color_indexing, predictor, cross_color
public const string ThreeTransforms2 = "WebP/lossless_vec_1_11.webp";
public const string ThreeTransforms2 = "Webp/lossless_vec_1_11.webp";
// substract_green, predictor, cross_color
public const string ThreeTransforms3 = "WebP/lossless_vec_1_14.webp";
public const string ThreeTransforms3 = "Webp/lossless_vec_1_14.webp";
// color_indexing, predictor, cross_color
public const string ThreeTransforms4 = "WebP/lossless_vec_1_15.webp";
public const string ThreeTransforms4 = "Webp/lossless_vec_1_15.webp";
// color_indexing, predictor, cross_color
public const string ThreeTransforms5 = "WebP/lossless_vec_2_11.webp";
public const string ThreeTransforms5 = "Webp/lossless_vec_2_11.webp";
// substract_green, predictor, cross_color
public const string ThreeTransforms6 = "WebP/lossless_vec_2_14.webp";
public const string ThreeTransforms6 = "Webp/lossless_vec_2_14.webp";
// color_indexing, predictor, cross_color
public const string ThreeTransforms7 = "WebP/lossless_vec_2_15.webp";
public const string ThreeTransforms7 = "Webp/lossless_vec_2_15.webp";
// substract_green, predictor, cross_color
public const string BikeThreeTransforms = "WebP/bike_lossless.webp";
public const string BikeThreeTransforms = "Webp/bike_lossless.webp";
public const string BikeSmall = "WebP/bike_lossless_small.webp";
public const string BikeSmall = "Webp/bike_lossless_small.webp";
// Invalid / corrupted images
// Below images have errors according to webpinfo. The error message webpinfo gives is "Truncated data detected when parsing RIFF payload."
public const string
LossLessCorruptImage1 =
"WebP/lossless_big_random_alpha.webp"; // substract_green, predictor, cross_color.
public const string LossLessCorruptImage1 = "Webp/lossless_big_random_alpha.webp"; // substract_green, predictor, cross_color.
public const string LossLessCorruptImage2 = "WebP/lossless_vec_2_7.webp"; // color_indexing, predictor.
public const string LossLessCorruptImage2 = "Webp/lossless_vec_2_7.webp"; // color_indexing, predictor.
public const string LossLessCorruptImage3 = "WebP/lossless_color_transform.webp"; // cross_color, predictor
public const string LossLessCorruptImage3 = "Webp/lossless_color_transform.webp"; // cross_color, predictor
public const string LossLessCorruptImage4 = "WebP/near_lossless_75.webp"; // predictor, cross_color.
public const string LossLessCorruptImage4 = "Webp/near_lossless_75.webp"; // predictor, cross_color.
}
public static class Lossy
{
public const string Earth = "WebP/earth_lossy.webp";
public const string WithExif = "WebP/exif_lossy.webp";
public const string WithIccp = "WebP/lossy_with_iccp.webp";
public const string Earth = "Webp/earth_lossy.webp";
public const string WithExif = "Webp/exif_lossy.webp";
public const string WithIccp = "Webp/lossy_with_iccp.webp";
// Lossy images without macroblock filtering.
public const string Bike = "WebP/bike_lossy.webp";
public const string NoFilter01 = "WebP/vp80-01-intra-1400.webp";
public const string NoFilter02 = "WebP/vp80-00-comprehensive-010.webp";
public const string NoFilter03 = "WebP/vp80-00-comprehensive-005.webp";
public const string NoFilter04 = "WebP/vp80-01-intra-1417.webp";
public const string NoFilter05 = "WebP/vp80-02-inter-1402.webp";
public const string NoFilter06 = "WebP/test.webp";
public const string Bike = "Webp/bike_lossy.webp";
public const string NoFilter01 = "Webp/vp80-01-intra-1400.webp";
public const string NoFilter02 = "Webp/vp80-00-comprehensive-010.webp";
public const string NoFilter03 = "Webp/vp80-00-comprehensive-005.webp";
public const string NoFilter04 = "Webp/vp80-01-intra-1417.webp";
public const string NoFilter05 = "Webp/vp80-02-inter-1402.webp";
public const string NoFilter06 = "Webp/test.webp";
// Lossy images with a simple filter.
public const string SimpleFilter01 = "WebP/segment01.webp";
public const string SimpleFilter02 = "WebP/segment02.webp";
public const string SimpleFilter03 = "WebP/vp80-00-comprehensive-003.webp";
public const string SimpleFilter04 = "WebP/vp80-00-comprehensive-007.webp";
public const string SimpleFilter05 = "WebP/test-nostrong.webp";
public const string SimpleFilter01 = "Webp/segment01.webp";
public const string SimpleFilter02 = "Webp/segment02.webp";
public const string SimpleFilter03 = "Webp/vp80-00-comprehensive-003.webp";
public const string SimpleFilter04 = "Webp/vp80-00-comprehensive-007.webp";
public const string SimpleFilter05 = "Webp/test-nostrong.webp";
// Lossy images with a complex filter.
public const string IccpComplexFilter = WithIccp;
public const string VeryShort = "WebP/very_short.webp";
public const string BikeComplexFilter = "WebP/bike_lossy_complex_filter.webp";
public const string ComplexFilter01 = "WebP/vp80-02-inter-1418.webp";
public const string ComplexFilter02 = "WebP/vp80-02-inter-1418.webp";
public const string ComplexFilter03 = "WebP/vp80-00-comprehensive-002.webp";
public const string ComplexFilter04 = "WebP/vp80-00-comprehensive-006.webp";
public const string ComplexFilter05 = "WebP/vp80-00-comprehensive-009.webp";
public const string ComplexFilter06 = "WebP/vp80-00-comprehensive-012.webp";
public const string ComplexFilter07 = "WebP/vp80-00-comprehensive-015.webp";
public const string ComplexFilter08 = "WebP/vp80-00-comprehensive-016.webp";
public const string ComplexFilter09 = "WebP/vp80-00-comprehensive-017.webp";
public const string VeryShort = "Webp/very_short.webp";
public const string BikeComplexFilter = "Webp/bike_lossy_complex_filter.webp";
public const string ComplexFilter01 = "Webp/vp80-02-inter-1418.webp";
public const string ComplexFilter02 = "Webp/vp80-02-inter-1418.webp";
public const string ComplexFilter03 = "Webp/vp80-00-comprehensive-002.webp";
public const string ComplexFilter04 = "Webp/vp80-00-comprehensive-006.webp";
public const string ComplexFilter05 = "Webp/vp80-00-comprehensive-009.webp";
public const string ComplexFilter06 = "Webp/vp80-00-comprehensive-012.webp";
public const string ComplexFilter07 = "Webp/vp80-00-comprehensive-015.webp";
public const string ComplexFilter08 = "Webp/vp80-00-comprehensive-016.webp";
public const string ComplexFilter09 = "Webp/vp80-00-comprehensive-017.webp";
// Lossy with partitions.
public const string Partitions01 = "WebP/vp80-04-partitions-1404.webp";
public const string Partitions02 = "WebP/vp80-04-partitions-1405.webp";
public const string Partitions03 = "WebP/vp80-04-partitions-1406.webp";
public const string Partitions01 = "Webp/vp80-04-partitions-1404.webp";
public const string Partitions02 = "Webp/vp80-04-partitions-1405.webp";
public const string Partitions03 = "Webp/vp80-04-partitions-1406.webp";
// Lossy with segmentation.
public const string SegmentationNoFilter01 = "WebP/vp80-03-segmentation-1401.webp";
public const string SegmentationNoFilter02 = "WebP/vp80-03-segmentation-1403.webp";
public const string SegmentationNoFilter03 = "WebP/vp80-03-segmentation-1407.webp";
public const string SegmentationNoFilter04 = "WebP/vp80-03-segmentation-1408.webp";
public const string SegmentationNoFilter05 = "WebP/vp80-03-segmentation-1409.webp";
public const string SegmentationNoFilter06 = "WebP/vp80-03-segmentation-1410.webp";
public const string SegmentationComplexFilter01 = "WebP/vp80-03-segmentation-1413.webp";
public const string SegmentationComplexFilter02 = "WebP/vp80-03-segmentation-1425.webp";
public const string SegmentationComplexFilter03 = "WebP/vp80-03-segmentation-1426.webp";
public const string SegmentationComplexFilter04 = "WebP/vp80-03-segmentation-1427.webp";
public const string SegmentationComplexFilter05 = "WebP/vp80-03-segmentation-1432.webp";
public const string SegmentationNoFilter01 = "Webp/vp80-03-segmentation-1401.webp";
public const string SegmentationNoFilter02 = "Webp/vp80-03-segmentation-1403.webp";
public const string SegmentationNoFilter03 = "Webp/vp80-03-segmentation-1407.webp";
public const string SegmentationNoFilter04 = "Webp/vp80-03-segmentation-1408.webp";
public const string SegmentationNoFilter05 = "Webp/vp80-03-segmentation-1409.webp";
public const string SegmentationNoFilter06 = "Webp/vp80-03-segmentation-1410.webp";
public const string SegmentationComplexFilter01 = "Webp/vp80-03-segmentation-1413.webp";
public const string SegmentationComplexFilter02 = "Webp/vp80-03-segmentation-1425.webp";
public const string SegmentationComplexFilter03 = "Webp/vp80-03-segmentation-1426.webp";
public const string SegmentationComplexFilter04 = "Webp/vp80-03-segmentation-1427.webp";
public const string SegmentationComplexFilter05 = "Webp/vp80-03-segmentation-1432.webp";
// Lossy with sharpness level.
public const string Sharpness01 = "WebP/vp80-05-sharpness-1428.webp";
public const string Sharpness02 = "WebP/vp80-05-sharpness-1429.webp";
public const string Sharpness03 = "WebP/vp80-05-sharpness-1430.webp";
public const string Sharpness04 = "WebP/vp80-05-sharpness-1431.webp";
public const string Sharpness05 = "WebP/vp80-05-sharpness-1433.webp";
public const string Sharpness06 = "WebP/vp80-05-sharpness-1434.webp";
public const string Sharpness01 = "Webp/vp80-05-sharpness-1428.webp";
public const string Sharpness02 = "Webp/vp80-05-sharpness-1429.webp";
public const string Sharpness03 = "Webp/vp80-05-sharpness-1430.webp";
public const string Sharpness04 = "Webp/vp80-05-sharpness-1431.webp";
public const string Sharpness05 = "Webp/vp80-05-sharpness-1433.webp";
public const string Sharpness06 = "Webp/vp80-05-sharpness-1434.webp";
// Very small images (all with complex filter).
public const string Small01 = "WebP/small_13x1.webp";
public const string Small02 = "WebP/small_1x1.webp";
public const string Small03 = "WebP/small_1x13.webp";
public const string Small04 = "WebP/small_31x13.webp";
public const string Small01 = "Webp/small_13x1.webp";
public const string Small02 = "Webp/small_1x1.webp";
public const string Small03 = "Webp/small_1x13.webp";
public const string Small04 = "Webp/small_31x13.webp";
// Lossy images with a alpha channel.
public const string Alpha1 = "WebP/lossy_alpha1.webp";
public const string Alpha2 = "WebP/lossy_alpha2.webp";
public const string Alpha3 = "WebP/alpha_color_cache.webp";
public const string AlphaNoCompression = "WebP/alpha_no_compression.webp";
public const string AlphaNoCompressionNoFilter = "WebP/alpha_filter_0_method_0.webp";
public const string AlphaCompressedNoFilter = "WebP/alpha_filter_0_method_1.webp";
public const string AlphaNoCompressionHorizontalFilter = "WebP/alpha_filter_1_method_0.webp";
public const string AlphaCompressedHorizontalFilter = "WebP/alpha_filter_1_method_1.webp";
public const string AlphaNoCompressionVerticalFilter = "WebP/alpha_filter_2_method_0.webp";
public const string AlphaCompressedVerticalFilter = "WebP/alpha_filter_2_method_1.webp";
public const string AlphaNoCompressionGradientFilter = "WebP/alpha_filter_3_method_0.webp";
public const string AlphaCompressedGradientFilter = "WebP/alpha_filter_3_method_1.webp";
public const string AlphaThinkingSmiley = "WebP/1602311202.webp";
public const string AlphaSticker = "WebP/sticker.webp";
public const string Alpha1 = "Webp/lossy_alpha1.webp";
public const string Alpha2 = "Webp/lossy_alpha2.webp";
public const string Alpha3 = "Webp/alpha_color_cache.webp";
public const string AlphaNoCompression = "Webp/alpha_no_compression.webp";
public const string AlphaNoCompressionNoFilter = "Webp/alpha_filter_0_method_0.webp";
public const string AlphaCompressedNoFilter = "Webp/alpha_filter_0_method_1.webp";
public const string AlphaNoCompressionHorizontalFilter = "Webp/alpha_filter_1_method_0.webp";
public const string AlphaCompressedHorizontalFilter = "Webp/alpha_filter_1_method_1.webp";
public const string AlphaNoCompressionVerticalFilter = "Webp/alpha_filter_2_method_0.webp";
public const string AlphaCompressedVerticalFilter = "Webp/alpha_filter_2_method_1.webp";
public const string AlphaNoCompressionGradientFilter = "Webp/alpha_filter_3_method_0.webp";
public const string AlphaCompressedGradientFilter = "Webp/alpha_filter_3_method_1.webp";
public const string AlphaThinkingSmiley = "Webp/1602311202.webp";
public const string AlphaSticker = "Webp/sticker.webp";
// Issues
public const string Issue1594 = "WebP/issues/Issue1594.webp";
public const string Issue1594 = "Webp/issues/Issue1594.webp";
}
}

Loading…
Cancel
Save