The web’s clipboard, and how it stores data of different types
Submitted 1 day ago by lemmydividebyzero@reddthat.com to technology@lemmy.world
https://alexharri.com/blog/clipboard
Submitted 1 day ago by lemmydividebyzero@reddthat.com to technology@lemmy.world
https://alexharri.com/blog/clipboard
hark@lemmy.world 1 day ago
Oh, so that’s why when I use the snipping tool and paste it, it’s a png instead of another format that could take up less space.
blackbeans@lemmy.zip 5 hours ago
Png is the right choice as it is lossless. Jpg works well for photos but it’s not designed for abstract depictions such as the lines, panes and texts in applications and web sites. Meaning artifacts become noticeable with smaller jpg file sizes.
LodeMike@lemmy.today 20 hours ago
If it was jpeg you’d be complaining about how garbage it looks.
hark@lemmy.world 8 hours ago
Maybe. Would be nice to have multiple options at least.
lemmydividebyzero@reddthat.com 1 day ago
This makes me curious, if in case of vector graphics (SVG), they kind of don’t need a separate mime type… They could just put that in the text/html slot, because you can inject SVG into html…