... At least i hope so.
Little tests:
26-04-2024: minor change, affects semi-transparent images only.
19-06-2023: minor change (checkbox that doesn't allows to use dashes when checked), must not affect output.
08-01-2023 roundel, 7875 symbols in label.
First release roundel, 8221 symbols in label.
So, i made html+js version of SPRASTER with some modifications.
You can download it HERE or use it online.
If you found a bug, i prefer to see it along with image you used and screenshots
(for debug purposes)
print(re.sub(r"\<#(?:([A-F0-9])([A-F0-9])([A-F0-9])[A-F0-9]?|([A-F0-9][A-F0-9])([A-F0-9][A-F0-9])([A-F0-9][A-F0-9])(?:[A-F0-9][A-F0-9])?)>",lambda m:"\x1b[48;2;"+str(int(m[1] or m[4],16))+";"+str(int(m[2] or m[5],16))+";"+str(int(m[3] or m[6],16))+"m",s).replace("<br>","\n").replace("."," "))
Replaces color tags with ANSI ones.
@TRS051
If code's generated but doesn't shows in SP, try to:
- increase label's width and height;
- set label's alignment to top-left;
if image's displayed but is cut off, try to decrease image's size and generate code again. apparently label's limited to 100k dots and it's not something i can change
If it doesn't generates label's code, try to:
- make sure image isn't svg;
- if you're using image link, make sure that hosting allows cross-origin resource sharing (or download image and try again);
- check browser's dev console (usually F12) to see what's wrong
If you find that the text image colours are faded, do this to make the colours accurate.
(@11qazxc pls pin this thanks!)
very nice
Commenting to save this
@Mvgames Same.
I commenting to save this
Hey. The picture I provided cannot be displayed. Only an empty picture. How to fix it?
@11qazxc
I can see how fps woild be a problem.
@Mousewithamachinegun122 Yes, it is possible to switch frames to get animation (
{T=1?"frame":""}{T=2?"frame":""}
...), but the program won't do it and idk if it'll be possible to run resulting craft at reasonable fps..@CCCP0000001 Maybe the width of the text label isnt big enough
Why can I only generate half?…
Quick question. Would it be possible to make a video, in one of these? Or a gif?
I copy the code in gam it just onky have some mosaics, that can't dispaly my original picture.
@11qazxc Never mind I just didn't copy all the characters
@TheAviator77 Can you please send image you used and result you got?
@11qazxc I have the same problem as @Skykid028
@11qazxc
It worked great! Thanks soo much!
@11qazxc
Ok, I will try.
@Mousewithamachinegun123 IDK. Try to increase size of label and set it's alignment to top-left.
How do you use this? I was trying to do it, but somehow I could not. I got the link and everything, but when I pasted it into the text box, it showed up nothing, it was all blank. I used the right font too.
@Matteosiufromfifakit
Just raise your hand
And reach out for the spell
Find the door to the promised land
Just believe in yourself
Close your eyes and your will find
The way out of the dark
...Or read the post again, there's two links to github.
How to get
@UnidentifiedStapler that's sad, but i can't (and i don't wish to) fix GBoard, so perhaps it's not my business.
Gboard absolutely cucks the text i copy, it dissapears after a few hundred lines