module Base64Image

Defined in:

operations/mixins/save_base64_image.cr

Constant Summary

GIF = "image/gif;base64"
JPG = "image/jpeg;base64"
LOCAL_MEDIA_PATH = ENV["LOCAL_MEDIA_PATH"]
PNG = "image/png;base64"
SVG = "image/svg+xml;base64"

Class Method Summary

Macro Summary

Class Method Detail

def self.base64_to_image(base64_image, parent_id, image_id = UUID.random) #

[View source]

Macro Detail

macro save_base64_images(*image_params) #

[View source]