解决方案 »

  1.   

    可能是baos.reset()的问题
    /**
         * Resets this stream to the beginning of the underlying byte array. All
         * subsequent writes will overwrite any bytes previously stored in this
         * stream.
         */
        public synchronized void reset() {
            count = 0;
        }
    这是源码解释,好像只是重置流的起始点,没有清空
      

  2.   

    问题已经找到了,reset()方法还是能清空的,问题是出在最后流转回bitmap的时候变大的。谢谢你的帮忙咯