Open lordscarlet opened 10 years ago
Actually, the thumbnails generated by this are much smaller than on the existing site.. by about half the size. However, .net can't generate 4-bit pngs, so the full-size images are much larger.
On that note, I'm only comparing the .png rendering in mono, I have no idea if ms.net generates larger .png files.
oh and by the way, the thumbnails are almost twice as big as those on the current site, as it allows for retina displays.. and they are still much smaller.. (;
Yeah, the 8-bit PNG's are the main issue. The current site doesn't optimize them either, I don't think. But after a quick search, I imagine something like http://stackoverflow.com/questions/7362976/managed-png-optimization-library-available would be good.
eek, system.drawing only.. though that being said, I've forced pablo.gallery to use system.drawing for pablo for all platforms (as opposed to using gtk/cairo on linux, or cocoa on os x).
There certainly may be better options. Or no options. I have no idea, but its certainly something to look into. Cloudflare may even optimize on their end.
Last I checked .net's rendering of PNG's was not particularly efficient.