我在上传图片时遇到问题。
上传后,我似乎无法显示超过 2800x2800 像素的 PNG 图像。 但我可以显示超出这些分辨率的 jpeg 图像。
有没有办法修改 png 图像的最大分辨率?
或者有没有办法阻止上传高分辨率 png 图片?
我正在使用 file.browse()
上传图像。
最佳答案
参见Flash Player 10 size limits for SWF, bitmap files :
To access the increased bitmap size limits, it's required that the compiled is SWF version 10 or later. Content compiled to a SWF 9 target and running in Flash Player 10 or later are still subject to Flash Player 9 limits (2880 x 2880 pixels). The largest square bitmap allowed is 4,095 x 4,095 pixels. ...
关于java - 无法显示高分辨率 PNG 图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50463526/