当前位置:网站首页>The type initializer for ‘Gdip‘ threw an exception
The type initializer for ‘Gdip‘ threw an exception
2022-04-23 18:47:00 【jackletter】
环境:
- Debian
- .net 6
问题: The type initializer for ‘Gdip’ threw an exception
因为代码中使用 SixLabors.ImageSharp去处理图片,在window上是正常的,在centos上就报错了:The type initializer for ‘Gdip’ threw an excepti。
解决办法:
执行如下命令:
sudo apt-get install libgdiplus
即可!
版权声明
本文为[jackletter]所创,转载请带上原文链接,感谢
https://blog.csdn.net/u010476739/article/details/124317037
边栏推荐
- iptables初探
- Domestic GD chip can filter
- Daily network security certification test questions (April 13, 2022)
- ESP32 LVGL8. 1 - msgbox message box (msgbox 28)
- QT excel operation summary
- ESP32 LVGL8. 1 - input devices (input devices 18)
- Deeply understand what new and make in golang are and what are the differences?
- STM32: LCD显示
- 玻璃体中的硫酸软骨素
- Esp32 (UART receiving and sending) - receiving and sending communication of serial port (4)
猜你喜欢

Practice of Druid SQL and security in meituan review

ctfshow-web362(SSTI)

Download xshell 6 and xftp6 official websites

ESP32 LVGL8. 1 - checkbox (checkbox 23)

Introduction to ROS learning notes (I)

iptables初探

ctfshow-web361(SSTI)

从技术体系到商业洞察,中小研发团队架构实践之收尾篇

Promote QT default control to custom control

os_authent_prefix
随机推荐
22 year flying Book manpower Kit
Golang 语言实现TCP UDP通信
Machine learning theory (8): model integration ensemble learning
WebView opens H5 video and displays gray background or black triangle button. Problem solved
QT curve / oscilloscope customplot control
ESP32 LVGL8. 1 - checkbox (checkbox 23)
解决:cnpm : 无法加载文件 ...\cnpm.ps1,因为在此系统上禁止运行脚本
Seata handles distributed transactions
Daily network security certification test questions (April 18, 2022)
CISSP certified daily knowledge points (April 13, 2022)
程序员如何快速开发高质量的代码?
【科普】CRC校验(一)什么是CRC校验?
Use bitnami / PostgreSQL repmgr image to quickly set up PostgreSQL ha
关于unity文件读取的操作(一)
ESP32 LVGL8. 1 - textarea text area (textarea 26)
Go 语言 GUI 框架 fyne 中文乱码或者不显示的问题
Keil RVMDK compiled data type
[mathematical modeling] - analytic hierarchy process (AHP)
ESP32 LVGL8. 1 - calendar (calendar 25)
Introduction to quantexa CDI syneo platform