[{"data":1,"prerenderedAt":115},["ShallowReactive",2],{"tool-content-en-image-to-ascii":3},{"id":4,"title":5,"body":6,"description":105,"extension":106,"locale":107,"meta":108,"navigation":109,"path":110,"seo":111,"stem":112,"toolId":113,"__hash__":114},"tools\u002Ftools\u002Fen\u002Fimage-to-ascii.md","Image to ASCII Art",{"type":7,"value":8,"toc":97},"minimark",[9,14,18,22,51,58,62,69,83,87],[10,11,13],"h2",{"id":12},"what-this-tool-does","What this tool does",[15,16,17],"p",{},"Turn a photo into ASCII art without uploading it. Drop, paste, or choose an image and it is sampled into a grid of characters: dark areas become dense symbols, bright areas become spaces. Everything runs on your device.",[10,19,21],{"id":20},"choosing-a-character-ramp","Choosing a character ramp",[15,23,24,25,29,30,33,34,38,39,42,43,46,47,50],{},"Each pixel's brightness is mapped to a character. Ramps run from densest to lightest, so the standard ",[26,27,28],"code",{},"@%#*+=-:. "," set puts ",[26,31,32],{},"@"," on the darkest pixel and a space on the brightest. ",[35,36,37],"strong",{},"Blocks"," uses shaded block glyphs, ",[35,40,41],{},"Detailed"," uses a 70-step ramp for smoother gradients, and ",[35,44,45],{},"Minimal"," keeps the output to two symbols and a space. Pick ",[35,48,49],{},"Custom"," to supply your own ramp, densest character first and a trailing space last.",[15,52,53,54,57],{},"Toggle ",[35,55,56],{},"Invert"," to swap the mapping, which is useful when the subject is lighter than its background.",[10,59,61],{"id":60},"width-and-tone","Width and tone",[15,63,64,65,68],{},"The ",[35,66,67],{},"width"," slider sets how many characters wide the result is; the row count follows the image's aspect ratio, corrected by half because monospace cells are about twice as tall as they are wide. A width of 80 to 140 reads well in a terminal or a code block.",[15,70,71,74,75,78,79,82],{},[35,72,73],{},"Brightness",", ",[35,76,77],{},"contrast",", and ",[35,80,81],{},"gamma"," adjust the image before it is mapped. Raise contrast when a low-contrast photo collapses into a flat block of characters, and use gamma to lift or crush the midtones without clipping.",[10,84,86],{"id":85},"background-and-export","Background and export",[15,88,89,92,93,96],{},[35,90,91],{},"Dark background"," flips the mapping so the character art stays readable on a dark page, and the preview switches to a dark surface to match. Copy the result as plain text or download it as a ",[26,94,95],{},".txt"," file for a README, a terminal, or a comment.",{"title":98,"searchDepth":99,"depth":99,"links":100},"",2,[101,102,103,104],{"id":12,"depth":99,"text":13},{"id":20,"depth":99,"text":21},{"id":60,"depth":99,"text":61},{"id":85,"depth":99,"text":86},"Convert any image to monochrome ASCII art in your browser. Pick a character ramp, tune width and contrast, then copy or download the text.","md","en",{},true,"\u002Ftools\u002Fen\u002Fimage-to-ascii",{"title":5,"description":105},"tools\u002Fen\u002Fimage-to-ascii","image-to-ascii","QfNwvf64y0mts-v3VQ7aQqqIQx8kLbtnuTck5in1E5Y",1792391418534]