Profile image

1-part custom images: easier, larger, lighter

6,726 11qazxc  2.5 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,726 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 9 months ago
  • Profile image
    6,726 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 one year 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.7 years ago
  • Profile image
    0 Uly31

    Does not work anymore

    +1 29 days ago
  • Profile image

    It’s rare to find such a comprehensive piece that still feels personal and down-to-earth. https://scaryteacheronline.com/

    2 months ago
  • Profile image

    very nice

    5 months ago
  • Profile image

    Commenting to save this

    5 months ago
  • Profile image

    @Mvgames Same.

    8 months ago
  • Profile image
    14.5k Mvgames

    I commenting to save this

    9 months ago
  • Profile image
    9,575 TRS051

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

    one year ago
  • Profile image
    64.4k TheMouse

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

    one year ago
  • Profile image
    6,726 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 one year ago
  • Profile image

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

    +1 one year ago
  • Profile image
    18.6k CCCP0000001

    Why can I only generate half?…

    +1 one year ago
  • Profile image
    64.4k TheMouse

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

    one year ago
  • Profile image

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

    one year ago
  • Profile image

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

    1.1 years ago
  • Profile image
    6,726 11qazxc

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

    1.1 years ago
  • Profile image

    @11qazxc I have the same problem as @Skykid028

    1.1 years ago
  • Profile image
    64.4k TheMouse

    @11qazxc
    It worked great! Thanks soo much!

    1.1 years ago
  • Profile image
    64.4k TheMouse

    @11qazxc
    Ok, I will try.

    1.1 years ago
  • Profile image
    6,726 11qazxc

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

    +1 1.1 years ago
  • Profile image
    64.4k 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.

    1.1 years ago
  • Profile image
    6,726 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.

    1.2 years ago
  • Profile image

    How to get

    1.2 years ago
  • Log in to see more comments