|
|
@ -206,6 +206,54 @@ namespace SixLabors.ImageSharp.Tests.Formats.Jpg |
|
|
[WithTestPatternImages(587, 821, PixelTypes.Rgba32, JpegColorType.YCbCrRatio444)] |
|
|
[WithTestPatternImages(587, 821, PixelTypes.Rgba32, JpegColorType.YCbCrRatio444)] |
|
|
[WithTestPatternImages(677, 683, PixelTypes.Bgra32, JpegColorType.YCbCrRatio420)] |
|
|
[WithTestPatternImages(677, 683, PixelTypes.Bgra32, JpegColorType.YCbCrRatio420)] |
|
|
[WithSolidFilledImages(400, 400, "Red", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
[WithSolidFilledImages(400, 400, "Red", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Green", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Blue", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Aqua", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Aquamarine", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Azure", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Beige", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Bisque", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "BlanchedAlmond", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "BlueViolet", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Brown", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "BurlyWood", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "CadetBlue", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Chartreuse", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Chocolate", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Coral", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "CornflowerBlue", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Cornsilk", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Crimson", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkBlue", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkCyan", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkGoldenrod", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkGray", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkGreen", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkGrey", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkKhaki", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkMagenta", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkOliveGreen", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkOrange", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkOrchid", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkRed", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkSalmon", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkSeaGreen", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkSlateBlue", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkSlateGray", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkSlateGrey", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkTurquoise", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DarkViolet", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DeepPink", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DeepSkyBlue", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DimGray", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DimGrey", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "DodgerBlue", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Firebrick", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "FloralWhite", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "ForestGreen", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Fuchsia", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "Gainsboro", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
|
|
|
[WithSolidFilledImages(400, 400, "GhostWhite", PixelTypes.Bgr24, JpegColorType.YCbCrRatio420)] |
|
|
public void EncodeBaseline_WorksWithDiscontiguousBuffers<TPixel>(TestImageProvider<TPixel> provider, JpegColorType colorType) |
|
|
public void EncodeBaseline_WorksWithDiscontiguousBuffers<TPixel>(TestImageProvider<TPixel> provider, JpegColorType colorType) |
|
|
where TPixel : unmanaged, IPixel<TPixel> |
|
|
where TPixel : unmanaged, IPixel<TPixel> |
|
|
{ |
|
|
{ |
|
|
|