Image.pixels.join: def of gralha-image@0.1.0.1 Import: import gralha-image@0.1.0.1/image.bend as Image Lines 25-29 of gralha-image@0.1.0.1/image.bend: https://jend.leeeet.dev/read.txt?path=gralha-image@0.1.0.1/image.bend&start_line=25&end_line=29 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def pixels.join(+a: Pixels, +b: Pixels, +c: Pixels, +d: Pixels) -> Pixels: match a b c d: case Flat{aa} Flat{bb} Flat{cc} Flat{dd}: U.choose(Pixels, color.same(aa, bb) && color.same(aa, cc) && color.same(aa, dd), Flat{aa}, Quad{a, b, c, d}) case _ _ _ _: Quad{a, b, c, d} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=gralha-image@0.1.0.1/image.bend&name=Pixels https://jend.leeeet.dev/definition.txt?path=gralha-image@0.1.0.1/image.bend&name=color.same https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=choose