Hi,
The following C# code snippet results in the following exception when calling the Aspose.Pdf.Document constructur:
Image loading failed.
Inner exception: GIF frame pixel processing is impossible, because it does not contain neither local color palette nor global. Tip: setup color palette first.
byte[] contentBytes = Encoding.UTF8.GetBytes(mbContent);
using(MemoryStream ms = new MemoryStream(contentBytes))
{
mailbodyDocument = new Document(ms, htmlLoadOptions);
}
The content of the variable mbContent is as follows:
<div dir="ltr"><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>Von: <strong class="gmail_sendername" dir="auto">Accounting Holidu Hosts</strong> <span dir="auto"><<a href="mailto:holidu-hosts-accounting@holidu.com">holidu-hosts-accounting@holidu.com</a>></span><br>Date: Mi., 16. Apr. 2025 um 16:52 Uhr<br>Subject: Fwd: LHS&HoHo - Migrated Properties - ICO<br>To: Rechnungen Holidu Hosts <<a href="mailto:rechnungen-hoho@holidu.com">rechnungen-hoho@holidu.com</a>><br></div><br><br><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>Von: <span dir="auto"><<a href="mailto:steffi.riegel@holidu.com" target="_blank">steffi.riegel@holidu.com</a>></span><br>Date: Mi., 16. Apr. 2025 um 13:42 Uhr<br>Subject: WG: LHS&HoHo - Migrated Properties - ICO<br>To: Accounting Holidu Hosts <<a href="mailto:holidu-hosts-accounting@holidu.com" target="_blank">holidu-hosts-accounting@holidu.com</a>><br></div><br><br><div><div lang="DE" link="blue" vlink="purple" style="word-wrap:break-word"><div><p class="MsoNormal"><span style="font-size:11.0pt">Hallo Sophia,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">bitte die beigefügte Gutschrift an Lohospo über Kendox erfassen.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Die Buchung erfolgt auf Konto 63200700 mit der Kostenstelle für ICO Rechnungen.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">LG<br>Steffi<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4a4a4a">Steffi Riegel</span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#7e7e7e"><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7e7e7e">Director of Accounting</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#7e7e7e"> </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#7e7e7e">& Tax</span><span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#7e7e7e">Holidu GmbH | Riesstraße 24 | 80992 München | Germany</span><span style="font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#7e7e7e">E-mail: </span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0563c1"><a href="mailto:steffi.riegel@holidu.com" target="_blank"><span lang="DE" style="color:#1155cc">steffi.riegel@holidu.com</span></a></span><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0563c1"><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#0563c1">+49 (0) 1520 6477583</span><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray"><a href="http://www.holidu.com/" target="_blank">www.holidu.com</a></span><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-GB" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray">Holidu GmbH • Local Court Munich, HRB 213215</span><span lang="EN-GB" style="font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:gray">Managing Directors: Johannes Siebers, Michael Siebers</span><span style="font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Accounting Holidu Hosts <<a href="mailto:holidu-hosts-accounting@holidu.com" target="_blank">holidu-hosts-accounting@holidu.com</a>> <br><b>Gesendet:</b> Dienstag, 15. April 2025 09:49<br><b>An:</b> Steffi Riegel <<a href="mailto:Steffi.Riegel@holidu.com" target="_blank">Steffi.Riegel@holidu.com</a>><br><b>Betreff:</b> Fwd: LHS&HoHo - Migrated Properties - ICO<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hallo Steffi, <u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">wie gerade in Slack besprochen :) <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">LG<br>Sophia<u></u><u></u></p><div><div><p class="MsoNormal">---------- Forwarded message ---------<br>Von: <strong><span style="font-family:"Aptos",sans-serif">Looker</span></strong> <<a href="mailto:noreply@lookermail.com" target="_blank">noreply@lookermail.com</a>><br>Date: Di., 15. Apr. 2025 um 09:01 Uhr<br>Subject: LHS&HoHo - Migrated Properties - ICO<br>To: <<a href="mailto:holidu-hosts-accounting@holidu.com" target="_blank">holidu-hosts-accounting@holidu.com</a>><u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><div><p class="MsoNormal">Hi liebs Accounting-Team, <br>bitte eine Gutschrift für die migrierten Unterkünfte an Lohospo stellen.<br>Grundlage 400€/ property.<br>Vielen Dank.<br>LG<u></u><u></u></p><p><a href="https://holidu.cloud.looker.com/dashboards/4166?" target="_blank">View this data in Looker</a><u></u><u></u></p><p class="MsoNormal">Results are attached<u></u><u></u></p><p class="MsoNormal">This email was scheduled by <a href="mailto:nikolai.ketterer@holidu.com" target="_blank"><b><span style="color:gray;text-decoration:none">nikolai.ketterer@holidu.com</span></b></a> to <a href="mailto:holidu-hosts-accounting@holidu.com" target="_blank"><b><span style="color:gray;text-decoration:none">holidu-hosts-accounting@holidu.com</span></b></a>.<img border="0" width="1" height="1" style="width:.0083in;height:.0083in" id="m_4762567381244112254m_-812920166393506355_x0000_i1029" src="https://ping.looker.com/25.4.29/bV-JNOKQTdg_Xg/e9417a908003b0c723f0efbeb07f0a1d/564/email/mail_opened?scheduled_job_tracking_id=ba5d3a715d1ef4361761c1e34f3a74a292b9cbc1&run_once=true&default_smtp=true&mail_type=scheduler&email_build_time=2025-04-15+07%3A01%3A03+UTC&entity_id=4166&entity_type=Dashboard"> <u></u><u></u></p></div></div></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal"><span>-- </span><u></u><u></u></p><div><div><p style="margin:0cm"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p><table border="0" cellspacing="0" cellpadding="0" width="602" style="width:451.3pt;border-collapse:collapse"><tbody><tr style="height:40.5pt"><td valign="top" style="padding:.75pt .75pt .75pt .75pt;height:40.5pt;overflow:hidden"><p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm"><b><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#2b2926">Accounting</span></b><u></u><u></u></p></td></tr><tr style="height:36.9pt"><td valign="top" style="padding:.75pt .75pt .75pt .75pt;height:36.9pt;overflow:hidden"><p style="margin:0cm"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;border:none windowtext 1.0pt;padding:0cm"><img border="0" width="135" height="40" style="width:1.4083in;height:.4166in" id="m_4762567381244112254m_-812920166393506355_x0000_i1028" src="https://lh7-us.googleusercontent.com/ZrzQ2w_qvv2SxhMy8rsT15m-lb3-u4m3DJPGK_EB_V14GUdEM0mpzAEw6cFb1VUYfyLdvczo64Cy07wqCT4ks_N7g8qjb2K_bdxPjKTe-7Dw10yqS5zrkVkcclzvBhBhCedp_YwGWrSOnxKf1TphaaQ"></span><u></u><u></u></p></td></tr><tr style="height:52.5pt"><td valign="top" style="padding:.75pt .75pt .75pt .75pt;height:52.5pt;overflow:hidden"><p style="margin:0cm"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#7e7e7e;background:white">Riesstraße 24</span><u></u><u></u></p><p style="margin:0cm"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#7e7e7e;background:white">80992 München<br>Germany</span><u></u><u></u></p></td></tr><tr><td valign="top" style="padding:.75pt .75pt .75pt .75pt;overflow:hidden"><p style="margin:0cm"><a href="https://www.facebook.com/holidu" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1155cc;border:none windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" style="width:.25in;height:.25in" id="m_4762567381244112254m_-812920166393506355_x0000_i1027" src="https://lh7-us.googleusercontent.com/EthBD73WCdjTBThvfqpIhRZynsvJ5l4NK54uL9z7jUJf-7iyZhvf4zdeNqtvqcIn3UMCtW2UztI1C2676NYJ6yfRVfd-4ero0kJ57YlCgbzouqiIOOg-B41dEprOqeeuaLZOg_1HpVAlFclUxdg-Gb8"></span></a><span style="font-size:7.5pt;font-family:Poppins;color:#d1ccc7"> </span><a href="https://www.instagram.com/holidu/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1155cc;border:none windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" style="width:.25in;height:.25in" id="m_4762567381244112254m_-812920166393506355_x0000_i1026" src="https://lh7-us.googleusercontent.com/gkZJpIFFgCDtK7SouHpo_w4YG5E3mgVPtndyzDtJGprZk2Rr79Dh9pUxvxi4TAWYXmMP2IoXZq6HIv1LQAwCFJrFAbohOjVqyK9S67orooj1mHnzre0nirK-cXDshqtDhz_ZUWsxM9hHw8zxZnTIB9k"></span></a><span style="font-size:7.5pt;font-family:Poppins;color:#d1ccc7"> </span><a href="https://www.linkedin.com/company/holidu" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1155cc;border:none windowtext 1.0pt;padding:0cm;text-decoration:none"><img border="0" width="24" height="24" style="width:.25in;height:.25in" id="m_4762567381244112254m_-812920166393506355_x0000_i1025" src="https://lh7-us.googleusercontent.com/DU4LsOhcNT8z004h2qDQyNYQil2gr34pbJOMEwFRQi_HwUXH8b1fJRcjRYRWBfJkonRfY4E5YeTf3ZO2UT13FX83ZExx3ByEVyMLZ3_9x1M09Lzg1mXPhPUiFVb9kd2Lq8YlcKvWwLZARJAeVDQtyMQ"></span></a><u></u><u></u></p></td></tr></tbody></table><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><pre cols="72"><p style="line-height:1.8;margin-top:0pt;margin-bottom:0pt"><font face="arial, helvetica, sans-serif" size="2" color="#000000"><span><br></span></font></p><p dir="ltr" style="line-height:1.2;background-color:#ffffff;margin-top:0pt;margin-bottom:8pt"></p><p style="line-height:1.8;margin-top:0pt;margin-bottom:0pt"><span></span></p><div dir="ltr" style="margin-left:0pt" align="left"><table style="border:none;border-collapse:collapse;table-layout:fixed;width:451.27559055118115pt"><colgroup><col></colgroup><tbody><tr style="height:40.5pt"><td style="vertical-align:top;overflow:hidden"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial,sans-serif;color:#2b2926;background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap">Accounting</span><span style="font-size:10pt;font-family:Poppins,sans-serif;color:#2b2926;background-color:transparent;font-weight:600;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"><br></span><br></p></td></tr><tr style="height:36.91477272727273pt"><td style="vertical-align:top;overflow:hidden"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Inter,sans-serif;color:#000000;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:135px;height:40px"><img src="https://lh7-us.googleusercontent.com/ZrzQ2w_qvv2SxhMy8rsT15m-lb3-u4m3DJPGK_EB_V14GUdEM0mpzAEw6cFb1VUYfyLdvczo64Cy07wqCT4ks_N7g8qjb2K_bdxPjKTe-7Dw10yqS5zrkVkcclzvBhBhCedp_YwGWrSOnxKf1TphaaQ" width="135" height="40" style="margin-left:0px;margin-top:0px"></span></span></p></td></tr><tr style="height:52.5pt"><td style="vertical-align:top;overflow:hidden"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial,sans-serif;color:#7e7e7e;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap">Riesstraße 24</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial,sans-serif;color:#7e7e7e;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap">80992 München</span><span style="font-size:9.5pt;font-family:Arial,sans-serif;color:#7e7e7e;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"><br></span><span style="font-size:9.5pt;font-family:Arial,sans-serif;color:#7e7e7e;background-color:#ffffff;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap">Germany</span></p></td></tr><tr style="height:0pt"><td style="vertical-align:top;overflow:hidden"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><a href="https://www.facebook.com/holidu" style="text-decoration:none" target="_blank"><span style="font-size:10pt;font-family:Inter,sans-serif;color:#1155cc;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:24px;height:24px"><img src="https://lh7-us.googleusercontent.com/EthBD73WCdjTBThvfqpIhRZynsvJ5l4NK54uL9z7jUJf-7iyZhvf4zdeNqtvqcIn3UMCtW2UztI1C2676NYJ6yfRVfd-4ero0kJ57YlCgbzouqiIOOg-B41dEprOqeeuaLZOg_1HpVAlFclUxdg-Gb8" width="24" height="24" style="margin-left:0px;margin-top:0px"></span></span></a><span style="font-size:7.5pt;font-family:Poppins,sans-serif;color:#d1ccc7;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"> </span><a href="https://www.instagram.com/holidu/" style="text-decoration:none" target="_blank"><span style="font-size:10pt;font-family:Inter,sans-serif;color:#1155cc;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:24px;height:24px"><img src="https://lh7-us.googleusercontent.com/gkZJpIFFgCDtK7SouHpo_w4YG5E3mgVPtndyzDtJGprZk2Rr79Dh9pUxvxi4TAWYXmMP2IoXZq6HIv1LQAwCFJrFAbohOjVqyK9S67orooj1mHnzre0nirK-cXDshqtDhz_ZUWsxM9hHw8zxZnTIB9k" width="24" height="24" style="margin-left:0px;margin-top:0px"></span></span></a><span style="font-size:7.5pt;font-family:Poppins,sans-serif;color:#d1ccc7;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"> </span><a href="https://www.linkedin.com/company/holidu" style="text-decoration:none" target="_blank"><span style="font-size:10pt;font-family:Inter,sans-serif;color:#1155cc;background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;white-space:pre-wrap"><span style="border:none;display:inline-block;overflow:hidden;width:24px;height:24px"><img src="https://lh7-us.googleusercontent.com/DU4LsOhcNT8z004h2qDQyNYQil2gr34pbJOMEwFRQi_HwUXH8b1fJRcjRYRWBfJkonRfY4E5YeTf3ZO2UT13FX83ZExx3ByEVyMLZ3_9x1M09Lzg1mXPhPUiFVb9kd2Lq8YlcKvWwLZARJAeVDQtyMQ" width="24" height="24" style="margin-left:0px;margin-top:0px"></span></span></a></p></td></tr></tbody></table></div></pre></div></div></div>
</div></div>
Any help is appreciated,
Thanks