Hacker News new | ask | show | jobs
by Rumudiez 431 days ago
Okay, now that it's darker out I can see the game covers faintly. I guess I'd suggest making it a little brighter since it's hard to make out detail in daylight if you want it to come through, not a big deal if it looks how you want already

I also see it's actually a png on desktop and jpg on mobile. For an image of this size, I don't feel like png is a good fit without significant optimizations like restricting colors to a very limited palette. Baking the underlying background color into it as a jpg, like you did for mobile, could help reduce the file size quite a bit for a lot less effort. I converted them at 90% quality and ran them through ImageOptim which got the file size down to 115KB for the desktop image and 88KB for mobile

Sorry for the AI comment. I noticed Tailwind and NextJS while inspecting the images and jumped to conclusions

1 comments

Oh, no prob. Thanks very much for the heads-up, by the way. I've made the changes locally and they will soon be in production too.