Nodes/lf-nodes/Icon Framer
ComfyUI Node

Icon Framer

A ComfyUI node in ✨ LF Nodes/Image with 17 inputs and 4 outputs.

By lucafoscili·Created 2 years ago·Updated 5 days ago· 36
Icon Framer
  • image
  • mask
  • ui_widget
  • master
  • master_list
  • icon
  • icon_list
◄master_size512►
◄icon_size64►
◄fill0.86►
◄backdropcolor►
◄backdrop_color#000000►
◄glow_color#000000►
◄glow_strength0.00►
◄outline0.012►
◄outline_color#000000►
◄vignette0.35►
◄bevel0.050►
◄bevel_color#8a8a8a►
◄bevel_light0.35►
◄threshold0.50►
Category✨ LF Nodes/Image

Inputs (17)

NameTypeDefaultDescription
imageIMAGEImage (or list of images) holding the subject.
maskMASKSubject mask, one per image or one shared; 1 marks the subject.
master_sizeINT51216–4096Edge of the large square output, in pixels.
icon_sizeINT648–4096Edge of the small square output, downscaled from the large one.
fillFLOAT0.860.1–1Share of the area inside the rim that the subject's longer side fills.
backdropCOMBOcolorcolor: a flat backdrop colour; source: the image's own surroundings.
backdrop_colorSTRING#000000Backdrop colour, and the fill outside the source image (#RRGGBB).
glow_colorSTRING#000000Colour of the glow behind the subject (#RRGGBB).
glow_strengthFLOAT0.000–1Glow behind the subject; 0 turns it off.
outlineFLOAT0.0120–0.1Width of the dark outline around the subject, as a share of the edge; 0 turns it off.
outline_colorSTRING#000000Outline colour (#RRGGBB).
vignetteFLOAT0.350–1How much the corners darken; 0 turns it off.
bevelFLOAT0.0500–0.2Width of the bevelled rim, as a share of the edge; 0 draws no rim.
bevel_colorSTRING#8a8a8aBase colour of the rim (#RRGGBB).
bevel_lightFLOAT0.350–1Contrast between the rim's lit top-left and shaded bottom-right sides.
thresholdFLOAT0.500–0.99Mask value above which a pixel counts towards the subject's bounding box.
ui_widgetoptLF_COMPARE[object Object]—

Outputs (4)

NameTypeDescription
masterIMAGEFramed icons at master size, as a batch.
master_listIMAGEFramed icons at master size, one per input image.
iconIMAGEFramed icons at icon size, as a batch.
icon_listIMAGEFramed icons at icon size, one per input image.