Add option to set the number of bytes per output line. Closes issue #38

This commit is contained in:
javl
2026-08-15 11:28:19 +02:00
parent a30874d8f1
commit 606d128403
2 changed files with 20 additions and 8 deletions
+5
View File
@@ -323,6 +323,11 @@
<label for="separator" class="sub-field-label">Separator between bytes:</label>
<input id="separator" class="size-input" type="text" value=", " oninput="updateString('separator')"/>
</div>
<div class="sub-field">
<label for="bytesPerRow" class="sub-field-label">Bytes per row:</label>
<input id="bytesPerRow" class="size-input" type="number" min="0" value="16" oninput="updateInteger('bytesPerRow')"/>
<i class="note">Set to 0 to wrap using the image's width instead, e.g. an 8px wide image adds a newline every 8th byte.</i>
</div>
</div>
</div>
</div>