OfficeIMO.Email.Image
3.6.2
Prefix Reserved
dotnet add package OfficeIMO.Email.Image --version 3.6.2
NuGet\Install-Package OfficeIMO.Email.Image -Version 3.6.2
<PackageReference Include="OfficeIMO.Email.Image" Version="3.6.2" />
<PackageVersion Include="OfficeIMO.Email.Image" Version="3.6.2" />
<PackageReference Include="OfficeIMO.Email.Image" />
paket add OfficeIMO.Email.Image --version 3.6.2
#r "nuget: OfficeIMO.Email.Image, 3.6.2"
#:package OfficeIMO.Email.Image@3.6.2
#addin nuget:?package=OfficeIMO.Email.Image&version=3.6.2
#tool nuget:?package=OfficeIMO.Email.Image&version=3.6.2
OfficeIMO.Email.Image
OfficeIMO.Email.Image renders EmailDocument messages and inline MIME resources through the shared OfficeIMO HTML pipeline, as images or as a styled PDF.
dotnet add package OfficeIMO.Email.Image
The public APIs remain in the OfficeIMO.Email namespace:
using OfficeIMO;
using OfficeIMO.Drawing;
using OfficeIMO.Email;
using OfficeIMO.Html;
EmailDocument message = EmailDocument.Load("message.eml");
var imageOptions1 = new EmailImageExportOptions();
imageOptions1.Mode = HtmlRenderMode.Paged;
imageOptions1.Format = OfficeImageExportFormat.Png;
OfficeConversionReport pages = message.SaveAsImages("message-pages", imageOptions1);
The renderer consumes OfficeIMO.Email.Html for the same body selection, untrusted sanitization, remote-resource policy, and CID/Content-Location resolution used by Reader. It can convert an RTF body when HTML is absent and safely encodes plain text as the final fallback. Rendering limits, page selection, and diagnostics come from the shared HTML renderer.
EmailImageExportOptions also limits inline MIME resources before rendering. MaxInlineResourceCount defaults to 128, while MaxResourceBytes and MaxTotalInlineResourceBytes bound individual and aggregate resource reads.
Keeping this capability separate prevents MIME-only applications from acquiring AngleSharp, CSS layout, and the RTF bridge.
Dependency footprint: OfficeIMO.Core, OfficeIMO.Email, OfficeIMO.Email.Html, OfficeIMO.Html, and OfficeIMO.Html.Pdf.
Styled PDF
SaveAsPdfAsync renders the same message layout to PDF through OfficeIMO.Html.Pdf: a header block with subject, sender, To and Cc recipients and date, the selected body, inline MIME images and a list of file attachments with their content type and size. Inline body resources, hidden parts and contact photos are not listed as attachments.
using OfficeIMO;
using OfficeIMO.Email;
EmailDocument message = EmailDocument.Load("message.msg");
await using FileStream pdf = File.Create("message.pdf");
OfficeConversionReport report = await message.SaveAsPdfAsync(pdf, new EmailPdfExportOptions {
IncludeAttachmentList = true
});
EmailPdfExportOptions.Pdf carries the page, font, resource and PDF settings of the HTML renderer. Body projection findings, such as an RTF-only body, are reported with the rendering findings; Pdf.FailOnLoss rejects them before output is written. OfficeConverter uses this renderer for the email-pdf route.
SaveAsImages(folder, options) and its async form return OfficeConversionReport. The options carry the output format, selection, deadlines, resource limits and file conflict policy. Use the ToImages consumer overloads to process each image with its sequence metadata and diagnostics.
Generated capability summary
This table is generated from the package-neutral OfficeIMO operation catalog. The detailed source contracts remain authoritative for feature-level behavior and limitations.
| Operation | Supported | Partial | Preserved | Rejected | Unsupported | Not applicable |
|---|---|---|---|---|---|---|
| Export | 0 | 5 | 0 | 0 | 0 | 0 |
The complete rows for OfficeIMO.Email.Image are published in the generated operation contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Core (>= 3.6.2)
- OfficeIMO.Email (>= 3.6.2)
- OfficeIMO.Email.Html (>= 3.6.2)
- OfficeIMO.Html (>= 3.6.2)
- OfficeIMO.Html.Pdf (>= 3.6.2)
-
.NETStandard 2.0
- OfficeIMO.Core (>= 3.6.2)
- OfficeIMO.Email (>= 3.6.2)
- OfficeIMO.Email.Html (>= 3.6.2)
- OfficeIMO.Html (>= 3.6.2)
- OfficeIMO.Html.Pdf (>= 3.6.2)
-
net10.0
- OfficeIMO.Core (>= 3.6.2)
- OfficeIMO.Email (>= 3.6.2)
- OfficeIMO.Email.Html (>= 3.6.2)
- OfficeIMO.Html (>= 3.6.2)
- OfficeIMO.Html.Pdf (>= 3.6.2)
-
net8.0
- OfficeIMO.Core (>= 3.6.2)
- OfficeIMO.Email (>= 3.6.2)
- OfficeIMO.Email.Html (>= 3.6.2)
- OfficeIMO.Html (>= 3.6.2)
- OfficeIMO.Html.Pdf (>= 3.6.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OfficeIMO.Email.Image:
| Package | Downloads |
|---|---|
|
OfficeIMO
Document conversion and resumable batches over the OfficeIMO format libraries. |
|
|
Verify.OfficeIMO
Extends Verify (https://github.com/VerifyTests/Verify) to allow verification via OfficeIMO (https://github.com/EvotecIT/OfficeIMO) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.6.2 | 232 | 11/18/2026 |
| 3.6.1 | 175 | 11/10/2026 |
| 3.6.0 | 130 | 11/6/2026 |
| 3.5.3 | 169 | 10/31/2026 |
| 3.5.2 | 173 | 10/24/2026 |
| 3.5.1 | 122 | 10/16/2026 |
| 3.4.5 | 112 | 10/10/2026 |
| 3.4.4 | 114 | 9/27/2026 |
| 3.4.3 | 118 | 9/12/2026 |
| 3.4.2 | 125 | 9/9/2026 |
| 3.4.1 | 126 | 9/7/2026 |
| 3.4.0 | 131 | 9/6/2026 |
| 3.3.0 | 129 | 9/2/2026 |
| 3.2.7 | 130 | 8/29/2026 |
| 3.2.6 | 130 | 8/22/2026 |
| 3.2.5 | 130 | 8/21/2026 |
| 3.2.4 | 126 | 8/19/2026 |
| 3.2.3 | 130 | 8/17/2026 |
| 3.2.2 | 134 | 8/13/2026 |
| 3.2.1 | 129 | 8/11/2026 |