使用Ctex遇到插入图片遇到image failed (no JPEG header found)

[1{D:/CTEX/UserData/pdftex/config/pdftex.map{Unicode.sfd}{UGBK.sfd}}] [2]
(D:\CTEX\MiKTeX\tex\latex\psnfss\omsptm.fd)
!pdfTeX error: pdflatex.exe (file D:/BaiduYunDownload/mytexhomework/img/figure1
.jpg): reading JPEG image failed (no JPEG header found)
 ==> Fatal error occurred, no output PDF file produced!
texify: pdflatex.exe failed for some reason (see log file).

遇到该问题:

解决方法比较鸡肋:讲要插入的图片格式转换成.png形式,不能直接通过更改文件名的方式来完成

应该通过第三方软件,比如系统自带的画图工具,打开另存为png文件。问题得以解决


一个简单的ctex图片插入命令

\begin{figure}[H]
\centering
\includegraphics[scale=0.4]{./img/acf.png}
\caption{Architecture of the Recognition System.}
\label{fig:figure1}
\end{figure}


  • 6
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值