コード例 #1
0
 /// <inheritdoc/>
 protected override JpegColorConverterBase GetColorConverter(JpegFrame frame, IRawJpegData jpegData) => JpegColorConverterBase.GetConverter(JpegColorSpace.RGB, frame.Precision);
コード例 #2
0
 /// <summary>
 /// Gets the color converter.
 /// </summary>
 /// <param name="frame">The jpeg frame with the color space to convert to.</param>
 /// <param name="jpegData">The raw JPEG data.</param>
 /// <returns>The color converter.</returns>
 protected virtual JpegColorConverterBase GetColorConverter(JpegFrame frame, IRawJpegData jpegData) => JpegColorConverterBase.GetConverter(jpegData.ColorSpace, frame.Precision);