Bitmap的赋值坑

    xiaoxiao2021-03-25  103

    项目里有个需求是把视频的图片截取做为头像,但赋值时用的的=,导致有时候能够保存图片为头像,有时有空,所以网上查了下,改成 以下,问题解决。

    //theLastImage = bitmap;

    theLastImage = bitmap.copy(Config.ARGB_8888, true);
    转载请注明原文地址: https://ju.6miu.com/read-22260.html

    最新回复(0)