Profile image

1-part custom images: easier, larger, lighter

6,378 11qazxc  2.1 years ago

... 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

  • Log in to leave a comment
  • Profile image
    6,378 11qazxc

    (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.

    Pinned 5 months ago
  • Profile image
    6,378 11qazxc

    @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

    Pinned 8 months ago
  • Profile image

    If you find that the text image colours are faded, do this to make the colours accurate.
    (@11qazxc pls pin this thanks!)

    Pinned 1.4 years ago
  • Profile image

    very nice

    one month ago
  • Profile image

    Commenting to save this

    one month ago
  • Profile image

    @Mvgames Same.

    4 months ago
  • Profile image
    13.6k Mvgames

    I commenting to save this

    5 months ago
  • Profile image
    9,575 TRS051

    Hey. The picture I provided cannot be displayed. Only an empty picture. How to fix it?

    8 months ago
  • Profile image
    59.8k TheMouse

    @11qazxc
    I can see how fps woild be a problem.

    8 months ago
  • Profile image
    6,378 11qazxc

    @Mousewithamachinegun122 Yes, it is possible to switch frames to get animation ({T=1?&quot;frame&quot;:&quot;&quot;}{T=2?&quot;frame&quot;:&quot;&quot;}...), but the program won't do it and idk if it'll be possible to run resulting craft at reasonable fps..

    +1 8 months ago
  • Profile image

    @CCCP0000001 Maybe the width of the text label isnt big enough

    +1 8 months ago
  • Profile image
    16.8k CCCP0000001

    Why can I only generate half?…

    +1 8 months ago
  • Profile image
    59.8k TheMouse

    Quick question. Would it be possible to make a video, in one of these? Or a gif?

    8 months ago
  • Profile image

    I copy the code in gam it just onky have some mosaics, that can't dispaly my original picture.

    8 months ago
  • Profile image

    @11qazxc Never mind I just didn't copy all the characters

    9 months ago
  • Profile image
    6,378 11qazxc

    @TheAviator77 Can you please send image you used and result you got?

    9 months ago
  • Profile image

    @11qazxc I have the same problem as @Skykid028

    9 months ago
  • Profile image
    59.8k TheMouse

    @11qazxc
    It worked great! Thanks soo much!

    9 months ago
  • Profile image
    59.8k TheMouse

    @11qazxc
    Ok, I will try.

    9 months ago
  • Profile image
    6,378 11qazxc

    @Mousewithamachinegun123 IDK. Try to increase size of label and set it's alignment to top-left.

    +1 9 months ago
  • Profile image
    59.8k TheMouse

    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.

    9 months ago
  • Profile image
    6,378 11qazxc

    @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.

    10 months ago
  • Profile image

    How to get

    10 months ago
  • Profile image
    6,378 11qazxc

    @UnidentifiedStapler that's sad, but i can't (and i don't wish to) fix GBoard, so perhaps it's not my business.

    11 months ago
  • Profile image

    Gboard absolutely cucks the text i copy, it dissapears after a few hundred lines

    11 months ago
  • Log in to see more comments