Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As far as I know just about any file format other than JPEG is better at this. If I recall correctly you basically want to go with GIF if your thumbnail has less than 255 pixels total.



just tested this and the jpeg ends up being 690 Bytes while the gif ends up being 2 KB


That can't possibly be right. What size image are you using here?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: