This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/ .

Original program was made by hpgbproductions.


Note that it's output (last text field) is label's designText (i.e. code), it can't write subassembly file.
You can paste link (sometimes it doesn't works because of CORS, in such cases you can try to copy-paste base64 data url if your browser allows it) or select image file from local storage. Last changed input will be used as image source.

Number of bits per color. Same as number of bits per pixel divided by 4. minimum 1, maximum 8. Can be used as poor lossy compression.
Maximum horizontal size of image in pixels.
Vertical size will be changed to save aspect ratio. Note that sometimes link itself already have "size", "width" or something like that.
Size of each pixel in font units (em).
Background i.e. color treated as transparent. 24bit hex without leading hash, e.g. 10FF80, may be empty.
Disable underlines. Underlines (if this checkbox is not checked) are used for very long sequences of same color. Sometimes small image may be lighter if they're disabled (because of overhead). You also need to check it if you see large gaps or log (or dev console) says "IndexOutOfRangeException" when you save the label.
Disable dashes. I didn't test it but maybe it'll work.




Output (i.e. code for label) will be in text field above.
Note that you must use Military font to get correct results.
If you're fine with not-so-correct results and your image is not transparent you can use any font except Roboto (Roboto font has different dash length and gives weird patterns on large images).