{ "id": "ed847ff9-1353-456d-9812-05bd8736fb7b", "revision": 0, "last_node_id": 10, "last_link_id": 18, "nodes": [ { "id": 5, "type": "PreviewImage", "pos": [ 978.3030395507812, -107.08839416503906 ], "size": [ 1091.5999755859375, 1257.3997802734375 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 18 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.49", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 2, "type": "LoadImage", "pos": [ 15, 2 ], "size": [ 315, 314 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 17 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.49", "Node name for S&R": "LoadImage" }, "widgets_values": [ "PixelArt_00002_.webp", "image" ] }, { "id": 9, "type": "PixelArtLoadPalettes", "pos": [ -0.7088788747787476, 493.8963928222656 ], "size": [ 400, 334 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "paletteList", "type": "LIST", "links": [ 16 ] } ], "properties": { "cnr_id": "comfyui-pixelart-detector", "ver": "fff89dd5649a01302e33c956c6ba285eb9826375", "Node name for S&R": "PixelArtLoadPalettes" }, "widgets_values": [ "31-1x.png", true, "Grid settings. The values will be forwarded to the 'PixelArt Palette Converter to render the grid with all palettes from this node.'", 40, "#f40e12", "#fff", 7, true, 3, "" ] }, { "id": 10, "type": "PixelArtDetectorConverter", "pos": [ 500, 270 ], "size": [ 400, 324 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 17 }, { "name": "paletteList", "shape": 7, "type": "LIST", "link": 16 } ], "outputs": [ { "name": "IMAGE", "shape": 6, "type": "IMAGE", "links": [ 18 ] } ], "properties": { "cnr_id": "comfyui-pixelart-detector", "ver": "51cf5d2390b15f00e0005609f8cd9a5c8c968486", "Node name for S&R": "PixelArtDetectorConverter" }, "widgets_values": [ "GAMEBOY", 512, 512, "contain", "Image.quantize", 2, false, "Image.quantize", 128, true, "MAXCOVERAGE", "OpenCV.kmeans: only when reducing is enabled.\nRANDOM_CENTERS: Fast but doesn't guarantee same labels for the same image.\nPP_CENTERS: Slow but will yield optimum and consistent results for same input image.\nattempts: to run criteria_max_iterations so it gets the best labels. Increasing this value will slow down the runtime a lot, but improves the colors!\n", "RANDOM_CENTERS", 10, 10, "EUCLIDEAN_SQUARE", "Clean up colors: Iterate and eliminate pixels while there was none left covering less than the 'cleanup_pixels_threshold' of the image.\nOptionally, enable the 'reduce colors' option, which runs before this cleanup. Good cleanup_threshold values: between .01 & .05", false, 0.02, "none" ] } ], "links": [ [ 16, 9, 0, 10, 1, "LIST" ], [ 17, 2, 0, 10, 0, "IMAGE" ], [ 18, 10, 0, 5, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.7707347938698456, "offset": [ 197.08546870512617, 268.9349645979441 ] }, "frontendVersion": "1.25.11", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }