What 5 KB is good for
5 KB is close to the practical floor for a recognisable image. At this size you are working with a budget of about 40,000 bytes of actual picture data, which is enough for a small square icon or a simple logo but not for a photograph at any meaningful resolution.
That constraint is the point rather than a problem. The things that genuinely need 5 KB — favicons, avatars in a comment thread, a logo embedded in an email signature — are all small on screen anyway, so nobody ever sees the detail you gave up.