Nodes/ComfyUI-ResolutionHelper/Resolution from Scanlines
ComfyUI Node

Resolution from Scanlines

Calculate Width & Height from aspect ratio and scanlines target, in 'step' multiples.

By AlfredSartan572·Created 2 days ago·Updated about 23 hours ago· 0
Resolution from Scanlines
    • width
    • height
    • longest
    • megapixels
    ◄aspect_ratio▾►
    ◄scanlines▾►
    ◄step32►
    CategoryResolution Tools

    Inputs (3)

    NameTypeDefaultDescription
    aspect_ratioCOMBO15 options: 32:9 (Super Ultrawide), 21:9 (Ultrawide), 16:9 (Widescreen), 16:10 (WUXGA), 5:4 (5:4 Standard), 4:3 (Standard), +9
    scanlinesCOMBO12 options: 240p, 360p, 480p, 544p, 640p, 720p, +6
    stepINT321–112MiniMaxH3=32, Illustrious/Pony=64, other=16

    Outputs (4)

    NameTypeDescription
    widthINT—
    heightINT—
    longestINT—
    megapixelsFLOAT—