@Nullable
    @Override
    public Resource<Drawable> transcode(@NonNull Resource<SVG> toTranscode, @NonNull Options options) {
        SVG svg = toTranscode.get();
        float ratio = svg.getDocumentAspectRatio();
        int width = svg.getDocumentWidth() > 0 ? (int) svg.getDocumentWidth() : 1024;
        int height = (int) (svg.getDocumentHeight() > 0 ? svg.getDocumentHeight() : (width / ratio));
        Picture picture = svg.renderToPicture(width, height);
        PictureDrawable drawable = new PictureDrawable(picture);
        return new SimpleResource<>(drawable);
    }
Convert the {@link SVG}'s internal representation to an Android-compatible one ({@link Picture}).
app/src/main/java/com/github/pockethub/android/markwon/SvgDrawableTranscoder.java