如何将Bitmap.createScaledBitmap与抗锯齿配合使用?

时间:2018-09-12 16:21:14

标签: android bitmap

我正在使用Bitmap.createScaledBitmap来稍微减少资源图像。但是,这样做会创建一些别名。请查看所附的屏幕截图片段。

我尝试了其他人建议的一些方法。我加了:

public introAboutDocumentGroup(){
    $(function(){
      var introguide = introJs();
      // var startbtn   = $('#startdemotour');
      introguide.setOptions({
        steps: [
        {
          element: '#group',
          intro: 'You can add the group name by using click on Add button',
          position: 'bottom'
        },
        ]
      });
      introguide.start();
    });
  }

到BitmapFactory.options。没有效果。

我也尝试过:

options.inPreferredConfig = Bitmap.Config.ARGB_8888;

在canvas.drawBitmap()前面。没什么。

还有其他可以尝试的想法吗?

enter image description here

enter image description here

0 个答案:

没有答案
相关问题