Base64 encoding utility method
package |
OCA\Gallery\Service |
---|
encode(\OC_Image|string $previewData) : string
Using base64_encode for files which are downloaded (cached Thumbnails, SVG, GIFs) and using __toStrings for the previews which are instances of \OC_Image
\OC_Image|string
string