我不是门错误,但是当我单击recyclerview-> image view
D/skia: libjpeg error 117 <Corrupt JPEG data: premature end of data segment> from output_message
D/skia: ------ png error IEJ[84]: invalid chunk type
png onGetPixels Handle incomplete interlaced pngs L481
--- codec->getAndroidPixels() failed.
V/FA: Inactivity, disconnecting from the service
在Recycler View Adapter OnImage中,单击“我正在这样做”
text3DonImageActivity.text3DonImageContainer.setMainImage(BitmapFactory.decodeByteArray(MaskImageValue.DecodedMainImagesString.get(i), 0, MaskImageValue.DecodedMainImagesString.get(i).length));
text3DonImageActivity.text3DonImageContainer.setMaskImage(BitmapFactory.decodeByteArray(MaskImageValue.DecodedMaskImagesString.get(i), 0, MaskImageValue.DecodedMaskImagesString.get(i).length));
在setMain和遮罩图像中
public static void setMainImage(Bitmap bitmap) {
mainImage.setImageBitmap(bitmap);
}
public static void setMaskImage(Bitmap bitmap) {
maskImage.setImageBitmap(bitmap);
maskImage.setVisibility(View.VISIBLE);
}
问题:
当我成功单击“图像主图像集”时 但是未设置遮罩图像
仅显示错误,仅在日志窗口中显示此日志。...
D/skia: libjpeg error 117 <Corrupt JPEG data: premature end of data segment> from output_message
D / skia:------ png错误IEJ [84]:无效的块类型 png onGetPixels处理不完整的交错png L481 ---编解码器-> getAndroidPixels()失败。 V / FA:不活动,正在与服务断开连接
我很困惑,没有人能帮助我。
先谢谢了……
答案 0 :(得分:0)
我遇到了同样的问题,看来问题出在我使用的数据类型上。我在我的玛丽亚数据库数据库中使用了 blob ,但是一旦将其更改为 LONGBLOB ,它就可以完美运行