-
ErCiccione[m]
.merges
-
xmr-pr
#1027 #1074 #1075 #1079 #1080 #1084 #1086 #1087 #1092
-
ErCiccione[m]
luigi1111w could you merge some stuff when you have a sec?
-
ErCiccione[m]
binaryfate please delete your netlify instance when you can
-
xmr-pr
erciccione opened pull request #1094: Merchants: update 'BITEXBOOK'
-
xmr-pr
-
ErCiccione[m]
i shrinked the images in the homepage. We went from 1.51 MB to 468.63 kB 🙂
monero-project/monero-site #1095
-
ErCiccione[m]
sarang ^
-
ErCiccione[m]
i'll do the same for the other images
-
xmr-pr
erciccione opened pull request #1095: Shrink images to reduce size of the homepage (from 1.51 MB to 468.63 k...
-
xmr-pr
-
asymptotically
ErCiccione[m]: what tool did you use? zopflipng managed to shave off another 5%
-
ErCiccione[m]
I used tinypng. If there is no degradation just send me your png please and i will upload those (i'm about to have lunch, will be back in a couple of hours)
-
asymptotically
yeah still lossless :)
-
asymptotically
i can run it on everything in img/
-
asymptotically
*or at least every png in img/
-
selsta
I wonder how these tools save so much space
-
selsta
what can they even remove apart from metadata
-
asymptotically
png contains gzip'd or deflate blobs, zopflipng just recompresses them
-
asymptotically
not sure what pngcrush -brute does but i think that it just rewrites it in a bunch of ways to see if anything is smaller
-
ErCiccione[m]
I only shrinked heavy images. I'm not a fan of running it in the entire folder. Especially if we can manipulate directly the originals (if they are around), but we can do it if we want. I will take a deeper look later today.
-
asymptotically
have you seen Git LFS? i've never tried it but i think it might help with keeping images and other large files in the repo
-
selsta
don’t think it is necessary for the site repo
-
xmr-pr
00-matt opened pull request #1096: img: Recompress all PNGs with zopfli
-
xmr-pr
-
ErCiccione[m]
Yeah it's not necessary.
-
ErCiccione[m]
Oh you made a PR. As i said, not a big fan, but that's me. I'll close mine in a bit.
-
ErCiccione[m]
asymptotically: I'm taking a look now and your pngs seem much bigger than mine. The entire homepage with your files is 1.36 MB, compared to the 468.63 kB of mine
-
ErCiccione[m]
for example, your support.png is 280kb, mine is 72.7kb
-
asymptotically
:x when i ran it on the files initially they were smaller, let me see what i did wrong
-
ErCiccione[m]
it also made some iamges bigger :P
-
ErCiccione[m]
*images
-
ErCiccione[m]
oh no ignore my last comment
-
asymptotically
hmm it's only supposed to write them again when they're actually smaller. i wonder what horrible things ive done
-
asymptotically
ah i think when i tested it first, i ran zopfli on the images that you put through tinypng. but for the PR i ran them on the originals
-
asymptotically
i think original -> tinypng -> zopfli is the way to go. tinypng must be able to throw away some data in support.png since it's quite a simple picture, but zopflipng just recompressing chunks and doesn't touch the way the png is written
-
ErCiccione[m]
Alright. Then i'm gonna run zopfli on the shrinked images in my PR
-
asymptotically
with pngcrush and zopfli i cant get anywhere near to what you did to support.png lol
-
ErCiccione[m]
I'm testing zopfli on the already shrinked support.png but doesn't seem to reduce it further
-
ErCiccione[m]
(i'm simply doing zoplifi $picture)
-
asymptotically
try zopflipng $picture $picture-zopfli.png
-
asymptotically
zopfli on its own is just like running gzip on a file i think
-
ErCiccione[m]
Ah ok
-
ErCiccione[m]
yes, now took 5% more off (67k from 71k)
-
ErCiccione[m]
pushed
-
ErCiccione[m]
saves only 1kb on the final homepage, but looks good.
-
ErCiccione[m]
.merge+ #1095
-
xmr-pr
Added
-
dsc_
that's nice, everything helps
-
sarang
Nice
-
xmr-pr
erciccione opened pull request #1097: Fix URL generation in sitemap generator
-
xmr-pr
-
ErCiccione[m]
.merge+ #1097
-
xmr-pr
Added