Skip to content

Commit f323827

Browse files
Update create-custom-jpeg-image-converter-net-standard.md
1 parent 8aeeb68 commit f323827

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

knowledge-base/create-custom-jpeg-image-converter-net-standard.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ res_type: kb
1919
</thead>
2020
<tbody>
2121
<tr>
22-
<td>2023.1.315</td>
22+
<td>up to 2023.1.315</td>
2323
<td>RadPdfProcessing</td>
2424
<td rowspan="2" ><a href="https://www.telerik.com/blogs/author/martin-velikov">Martin Velikov</a></td>
2525
</tr>
@@ -34,6 +34,8 @@ res_type: kb
3434

3535
**.NET Standard** specification does not define APIs for converting images or scaling their quality. That is why to export to PDF format a document containing images different than Jpeg and Jpeg2000 or ImageQuality different than High, you will need to provide an implementation of the **JpegImageConverterBase** abstract class. This implementation should be passed to the **JpegImageConverter** property of the **FixedExtensibilityManager**.
3636

37+
>important With the [R2 2023 changes](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/changes-and-backward-compatibility/backward-compatibility#whats-different-in-2023-r2) SkiaSharp replaced ImageSharp as the required dependency.
38+
3739
## Solution
3840

3941
The following code snippets demonstrate how to create a custom implementation of the JpegImageConverterBase abstract class using the [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp) library and set it to the JpegImageConverter property of the FixedExtensibilityManager. We are using the ImageSharp library to convert the images from one of the library's supported formats to Jpeg and to change their quality if it is set.
@@ -95,3 +97,8 @@ The following code snippets demonstrate how to create a custom implementation of
9597
JpegImageConverterBase customJpegImageConverter = new CustomJpegImageConverter();
9698
FixedExtensibilityManager.JpegImageConverter = customJpegImageConverter;
9799
{{endregion}}
100+
101+
102+
# See Also
103+
104+
- [Cross platform >> Images]({%slug radpdfprocessing-cross-platform-images%})

0 commit comments

Comments
 (0)