@Override
    public Drawable getDrawable(String source) {

        try {
            InputStream inputStream = context.getAssets().open(source);
            Drawable d = Drawable.createFromStream(inputStream, null);
            d.setBounds(0, 0, d.getIntrinsicWidth(), d.getIntrinsicHeight());
            return d;
        } catch (IOException e) {
            // prevent a crash if the resource still can't be found
            Log.e(HtmlTextView.TAG, "source could not be found: " + source);
            return null;
        }

    }
Assets Image Getter
<p>
Load image from assets folder

@author <a href="mailto:daniel@passos.me">Daniel Passos</a>
android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/html/HtmlAssetsImageGetter.java