Nodes/AAA Metadata System/Eric Save True SVG Image (with Metadata)
ComfyUI Node

Eric Save True SVG Image (with Metadata)

A ComfyUI node in image/save with 25 inputs and 1 output.

By EricRollei·Created 9 months ago·Updated 8 months ago· 12
Eric Save True SVG Image (with Metadata)
    • saved_path
    svg_content
    filename_prefixwordcloud_svg
    include_projectfalse
    include_datetimetrue
    custom_output_directory
    output_path_modeSubfolder in Output
    filename_formatDefault (padded zeros)
    enable_metadatatrue
    title
    project
    description
    creator
    copyright
    keywords
    custom_metadata{}
    save_embeddedtrue
    save_workflow_as_jsontrue
    save_workflow_as_txtfalse
    save_xmpfalse
    save_to_dbfalse
    svg_optimizefalse
    svg_embed_fontsfalse
    color_profilesRGB v4 Appearance
    bit_depth8-bit
    debug_loggingfalse
    Categoryimage/save

    Inputs (25)

    NameTypeDefaultDescription
    svg_contentSTRINGNative SVG content as string
    filename_prefixSTRINGwordcloud_svgBase name for saved files
    include_projectoptBOOLEANfalseAdd project name to filename
    include_datetimeoptBOOLEANtrueAdd date and time to filename
    custom_output_directoryoptSTRINGOverride the default output location. For relative paths, use 'subfolder' format. Leave empty to use default output folder.
    output_path_modeoptCOMBOSubfolder in OutputHow to interpret the custom output directory
    filename_formatoptCOMBODefault (padded zeros)How to format sequential filenames
    enable_metadataoptBOOLEANtrueMaster switch to enable/disable all metadata writing
    titleoptSTRINGSVG title
    projectoptSTRINGProject name for organization
    descriptionoptSTRINGSVG description/caption
    creatoroptSTRINGCreator/artist name
    copyrightoptSTRINGCopyright information
    keywordsoptSTRINGComma-separated keywords/tags
    custom_metadataoptSTRING{}Custom metadata in JSON format
    save_embeddedoptBOOLEANtrueEmbed metadata directly in the SVG file
    save_workflow_as_jsonoptBOOLEANtrueSave workflow data as a separate JSON file (required for ComfyUI workflow loading)
    save_workflow_as_txtoptBOOLEANfalseSave workflow data as a separate text file
    save_xmpoptBOOLEANfalseSave XMP sidecar file with metadata
    save_to_dboptBOOLEANfalseSave metadata to database
    svg_optimizeoptBOOLEANfalseBasic SVG optimization (remove unnecessary whitespace)
    svg_embed_fontsoptBOOLEANfalseAttempt to embed font information as metadata
    color_profileoptCOMBOsRGB v4 AppearanceColor profile to embed as metadata (for reference when converting SVG)
    bit_depthoptCOMBO8-bitBit depth for metadata reference (actual SVG is vector format)
    debug_loggingoptBOOLEANfalseEnable detailed debug logging

    Outputs (1)

    NameTypeDescription
    saved_pathSTRING