!seqaBRImHwZJpNbjYb:cadence.moe:8111

Bibliogram

496 Members
https://bibliogram.art // https://github.com/cloudrac3r/bibliogram94 Servers

Load older messages


SenderMessageTime
9 Feb 2020
@cloudrac3r:cadence.moe:8111cloudrac3r Why do you hate antialiasing? You're using it right now to read this text, see my avatar, and render the chat icons. 02:15:22
@cloudrac3r:cadence.moe:8111cloudrac3r When you don't antialias you get this garbage https://cdn.discordapp.com/attachments/112760669178241024/675595191826120714/unknown.png 02:16:14
@thefrenchghosty:privacytools.ioTheFrenchGhostyI understand and that's good to know, I really don't use svg enough02:16:39
@cloudrac3r:cadence.moe:8111cloudrac3r the key point is that there is no such thing as a "pure" or "true" way to convert lines to pixels. 02:17:15
@thefrenchghosty:privacytools.ioTheFrenchGhostyIt's not that I hate antialiasing it's just that when creating the website (where I will host stuff including bibliogram) I was looking for a way to have a fixed size png (because I'm bad at CSS) and noticed it when converting the existing png02:18:59
@thefrenchghosty:privacytools.ioTheFrenchGhostyTLDR; needed a png for that: 02:20:02
@cloudrac3r:cadence.moe:8111cloudrac3rinclude the svg for better resolution02:20:04
@thefrenchghosty:privacytools.ioTheFrenchGhostys.png
Download s.png
02:20:07
@cloudrac3r:cadence.moe:8111cloudrac3rphones can display it as hidpi then02:20:19
@thefrenchghosty:privacytools.ioTheFrenchGhostyThe thing is that the SVG was forcing the card at a bigger resolution (and for whatever reason using width:XXXpx didn't work)02:21:16
@cloudrac3r:cadence.moe:8111cloudrac3rcss for images sucks, you can make it work02:21:48
@thefrenchghosty:privacytools.ioTheFrenchGhostyit wasn't css, it was a img tag02:22:12
@cloudrac3r:cadence.moe:8111cloudrac3rsee: the banner on the bibliogram.art home02:22:17
@cloudrac3r:cadence.moe:8111cloudrac3ryeah well you need to apply css to the img to change how it displays of course02:22:31
@thefrenchghosty:privacytools.ioTheFrenchGhosty

This didn't work

<img src="images/bibliogram.svg" width:100px>
02:23:04
@cloudrac3r:cadence.moe:8111cloudrac3rwell thats because you suck at writing html02:23:17
@thefrenchghosty:privacytools.ioTheFrenchGhostyExactly02:23:27
@cloudrac3r:cadence.moe:8111cloudrac3rput that in the w3 validator lol02:23:30
@cloudrac3r:cadence.moe:8111cloudrac3r (1) attributes have = not : so you want width=100px 02:23:55
@thefrenchghosty:privacytools.ioTheFrenchGhostyThat was from https://stackoverflow.com/questions/3120739/resizing-svg-in-html02:23:53
@thefrenchghosty:privacytools.ioTheFrenchGhosty
<img width="200px" src="lion.svg"></img>
02:24:13
@cloudrac3r:cadence.moe:8111cloudrac3r (2) the img width attribute has no units so you want width=100 02:24:17
@thefrenchghosty:privacytools.ioTheFrenchGhosty(I used quote)02:24:25
@cloudrac3r:cadence.moe:8111cloudrac3r (3) the img width attribute is actually used to specify the intrinsic width of the image file, not what size to display it at 02:24:55
@thefrenchghosty:privacytools.ioTheFrenchGhosty
In reply to @cloudrac3r:cadence.moe:8111
(3) the img width attribute is actually used to specify the intrinsic width of the image file, not what size to display it at
So the stackoverflow was wrong?
02:25:50
@cloudrac3r:cadence.moe:8111cloudrac3r

if your image is 800 pixels wide and you want to display it 200 pixels wide:

(1) img attribute width=800
(2) css for the img width: 200px

02:25:59
@thefrenchghosty:privacytools.ioTheFrenchGhostyOh ok02:26:17
@cloudrac3r:cadence.moe:8111cloudrac3r
In reply to @thefrenchghosty:privacytools.io
So the stackoverflow was wrong?
afaict yes
02:26:39
@cloudrac3r:cadence.moe:8111cloudrac3rread the docs/spec on mdn02:26:46
@thefrenchghosty:privacytools.ioTheFrenchGhostyWell, thanks02:26:54

Show newer messages


Back to Room ListRoom Version: 4