@NonNull
    public static String imageUrlForSpoilerCompare(@Nullable final String url) {
        if (url == null) {
            return "";
        }
        return StringUtils.defaultString(Uri.parse(url).getLastPathSegment());
    }
Decode a base64-encoded string and save the result into a stream.

@param inString the encoded string
@param out      the stream to save the decoded result into
main/src/main/java/cgeo/geocaching/utils/ImageUtils.java