找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 14293|回复: 2

[有回复] 无法加载图片

[复制链接]
发表于 2020-3-20 17:51:22 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
```
I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'Club_Background.jpg'>:
  File "renpy/common/000statements.rpy", line 531, in execute_call_screen
Exception: Could not load image u'Club_Background.jpg': error('JPEG loading error',)

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "script.rpyc", line 9075, in script
  File "renpy/ast.py", line 1949, in execute
  File "renpy/ast.py", line 1937, in call
  File "renpy/statements.py", line 277, in call
  File "renpy/common/000statements.rpy", line 531, in execute_call_screen
  File "renpy/exports.py", line 2905, in call_screen
  File "renpy/ui.py", line 297, in interact
  File "renpy/display/core.py", line 2702, in interact
  File "renpy/display/core.py", line 3194, in interact_core
  File "renpy/display/core.py", line 2094, in draw_screen
  File "renpy/display/render.pyx", line 490, in renpy.display.render.render_screen (gen/renpy.display.render.c:6805)
  File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
  File "renpy/display/layout.py", line 722, in render
  File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
  File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
  File "renpy/display/layout.py", line 722, in render
  File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
  File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
  File "renpy/display/layout.py", line 722, in render
  File "renpy/display/render.pyx", line 166, in renpy.display.render.render (gen/renpy.display.render.c:4075)
  File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
  File "accelerator.pyx", line 110, in renpy.display.accelerator.transform_render
  File "renpy/display/render.pyx", line 259, in renpy.display.render.render (gen/renpy.display.render.c:3520)
  File "renpy/display/im.py", line 583, in render
  File "renpy/display/im.py", line 266, in get
  File "renpy/display/im.py", line 628, in load
  File "renpy/display/pgrender.py", line 162, in load_image
Exception: Could not load image u'Club_Background.jpg': error('JPEG loading error',)

```

我确定有Club_Background.jpg这张图片 而且PC端运行是正常的 apk就出错了 何故?

 楼主| 发表于 2020-3-20 18:48:29 | 显示全部楼层
用美图秀秀把Club_Background.jpg重新生成了一遍就好了
回复 支持 抱歉

使用道具 举报

发表于 2020-3-30 16:48:55 | 显示全部楼层
看看脚本里关于这图片“Club_Background.jpg”
路径对不对,会图片格式是不是jpg格式。
回复 支持 抱歉

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|RenPy中文空间 ( 苏ICP备17067825号|苏公网安备 32092302000068号 )

GMT+8, 2024-11-23 08:03 , Processed in 0.117091 second(s), 28 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表