package com.kofax.mobile.sdk._internal.impl; import android.graphics.Bitmap; import o.InterfaceC13391fZD; /* loaded from: classes3.dex */ public class f implements com.kofax.mobile.sdk._internal.d { private final com.kofax.mobile.sdk._internal.a vS; @InterfaceC13391fZD public f(com.kofax.mobile.sdk._internal.a aVar) { this.vS = aVar; } @Override // com.kofax.mobile.sdk._internal.d public byte[] g(Bitmap bitmap) { int width = bitmap.getWidth(); int height = bitmap.getHeight(); int[] iArr = new int[width * height]; bitmap.getPixels(iArr, 0, width, 0, 0, width, height); return this.vS.a(iArr, width, height); } }