package com.kofax.mobile.sdk.ak; import android.content.Context; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; /* loaded from: classes3.dex */ public class c { public static Bitmap a(Context context, String str) { Resources resources = context.getResources(); return BitmapFactory.decodeResource(resources, resources.getIdentifier(str, "drawable", context.getPackageName())); } }