dongruolin5324 2017-02-28 13:43
浏览 41
已采纳

Base64图像发布到大

I use https://foliotek.github.io/Croppie/ and when i cropped an image the form posts the base64 data. But for an iphone its to heavy, crashed. On desktop and android it works. So is it possible to encode base64 to a smaller post?

How can i achieve that?

enter image description here

  • 写回答

1条回答 默认 最新

  • dpkrbe395930 2017-04-27 02:06
    关注

    Based off of what you're telling me, it sounds like it's too much for the mobile browser to handle all at once. Does the browser crash on upload or during the process of storing the base64 data in preparation to post. I'm trying to understand where the crash occurs. If you know that the transmission of this amount of data is too much, I recommend finding the limitation. How many characters in this string is it willing to accept without crashing. When you discover this limit, chunk the data and send separate posts one after another. I may be wrong but it's worth looking into. (Chunk Loading)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?