这边有一个功能,用户上传图片到COS,然后用户再游戏中展示出来,但是图片下载下来,无法显示。提示“”图片超过尺寸!要求尺寸长度低于2048像素,宽度低于2048像素;实际长度1080像素,宽度2340“”, 确实是大于2048像素,有什么办法显示吗。而且在微信开发者那边调试,是可以的,到真机上不行了。
框架类型 | 问题类型 | 操作系统 | 操作系统版本 | 手机型号 | 微信版本 |
---|---|---|---|---|---|
小游戏 | 需求 | Android | Android 9 | Redmi Note 8 Pro | 7.0.16 |
这边有一个功能,用户上传图片到COS,然后用户再游戏中展示出来,但是图片下载下来,无法显示。提示“”图片超过尺寸!要求尺寸长度低于2048像素,宽度低于2048像素;实际长度1080像素,宽度2340“”, 确实是大于2048像素,有什么办法显示吗。而且在微信开发者那边调试,是可以的,到真机上不行了。
Framework type problem type operating system operating system version mobile phone model wechat version small game needs Android Android 9 redmi note 8 Pro 7.0.16, there is a function here, the user uploads the picture to COS, and then the user displays it in the game, but the picture is downloaded and cannot be displayed. Prompt "" picture exceeds size! It is required that the size length is less than 2048 pixels, and the width is less than 2048 pixels; the actual length is 1080 pixels, and the width is 2340 ", which is greater than 2048 pixels. Is there any way to display it. Moreover, debugging on wechat developers is OK, but not on the real machine.
回答:
真机目前只支持2048