Closed dreampiggy closed 5 years ago
See #1
This PR introduce the feature for encoding ("export") a SDSVGImage wrapper, which contains a SVGKImage, into the original SVG raw data.
SDSVGImage
SVGKImage
You can just use:
UIImage *image; // This image must be created by SDWebImage framework but not others NSData *svgData = [image sd_imageDataAsFormat:SDImageFormatSVG];
PR description
See #1
This PR introduce the feature for encoding ("export") a
SDSVGImage
wrapper, which contains aSVGKImage
, into the original SVG raw data.You can just use: