Building My Own Image Engine 'HakoNyans': I Beat PNG, but WebP is a Wall

Published: (February 20, 2026 at 10:05 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

The Milestone: Beating PNG

I’m happy to report that HakoNyans has officially surpassed PNG. Getting the architecture and logic right to beat such a classic, widely‑used format was a huge milestone for this project.

The Current Struggle: The WebP Wall

My next target is WebP, and it’s proving to be a formidable opponent.

Current performance against WebP

  • Processing speed: ~20 % slower
  • Compression ratio: ~20 % larger files

Closing this gap in both speed and size is my current obsession.

Let’s Discuss!

I’m continually pushing the limits of my algorithms and would love to hear from the community.

  • Has anyone else tried building an image codec or data‑compression engine from scratch?
  • What optimization techniques or mental models helped you break through performance plateaus?

Any advice, feedback, or shared experiences would be greatly appreciated. I’ll keep pushing HakoNyans forward!

0 views
Back to Blog

Related posts

Read more »

[Boost]

!pichttps://media2.dev.to/dynamic/image/width=256,height=,fit=scale-down,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farti...

How We Made Our E2E Tests 12x Faster

!Alex Neamtuhttps://media2.dev.to/dynamic/image/width=50,height=50,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2F...