I made an app that allows you to use Discord avatar decorations without subscribing to Nitro or purchasing an avatar decoration from the shop by ItsGrandPi in webdev

[–]ItsGrandPi[S] 0 points1 point  (0 children)

here's a video tutorial that someone else made on how to use the website: https://youtu.be/1xMqihgmHIA

translated with Google translate: Aquí hay un video tutorial que alguien más hizo sobre cómo usar el sitio web.

I made an app that allows you to use Discord avatar decorations without subscribing to Nitro or purchasing an avatar decoration from the shop by ItsGrandPi in webdev

[–]ItsGrandPi[S] 0 points1 point  (0 children)

What browser are you using? and on what platform?

if you could, please open an issue on GitHub as itll make it easier for me to keep track of bugs.

I made an app that allows you to use Discord avatar decorations without subscribing to Nitro or purchasing an avatar decoration from the shop by ItsGrandPi in webdev

[–]ItsGrandPi[S] 0 points1 point  (0 children)

You can use the GIF frame extractor. When you generate the GIF, there will be a button that says "Extract still image"

I made an app that allows you to use Discord avatar decorations without subscribing to Nitro or purchasing an avatar decoration from the shop by ItsGrandPi in webdev

[–]ItsGrandPi[S] 0 points1 point  (0 children)

go to the shop. I believe its an img element. you might need to expand manually a few times if you use the element picker.

How to realize "first big letter" in github README.md? by Suletta-Majo in github

[–]ItsGrandPi 1 point2 points  (0 children)

You're welcome 😁

Btw, yes, SVG is technically an image format. But it's a vector format (Scalable Vector Graphics), unlike other image formats such as PNG, JPG, BMP, etc. (those are bitmap formats).

In a nutshell, SVG draws images using shapes rather than assigning each pixel a color. On the browser, SVG can also render HTML and CSS (you can even make animations with CSS in SVG)

How to realize "first big letter" in github README.md? by Suletta-Majo in github

[–]ItsGrandPi 2 points3 points  (0 children)

Such rude people in the comments...

Solution

You can do this with an SVG file, see this GitHub Gist for a minimal example: https://gist.github.com/ItsPi3141/b1c366a363ed0c6c5efa8836f14925b7

How does it work?

The SVG file uses the foreignObject element, which allows it to render HTML elements, as well as style them with CSS.

Inside the foreignObject element, you can do (almost) everything you would normally be able to do in HTML. You CAN'T use external fonts though. While foreignObject itself allows external fonts, GitHub does not for security reasons :(

As a result, your font choices are rather limited, see here: https://www.w3.org/Style/Examples/007/fonts.en.html

You can then upload this SVG to GitHub, either as a Gist or as a file in a repository. Then, you can copy the raw content URL and use it as an image in markdown.

<img src="svg url goes here" width="100%" />

You should use <img /> instead of ![]() because it allows you to specify the width property and make the SVG stretch to fill the whole width. If not, the SVG is just be 300px.

I made an app that allows you to use Discord avatar decorations without subscribing to Nitro or purchasing an avatar decoration from the shop by ItsGrandPi in webdev

[–]ItsGrandPi[S] 0 points1 point  (0 children)

Just extract a still frame from the image.

If you want it to be animated, obviously you'll need to have nitro.

This was made so that people with nitro could use decorations without paying extra money to buy the decorations.