Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ape4
on Jan 18, 2023
|
parent
|
context
|
favorite
| on:
Hello, PNG
But there are lots of BMP versions - wiki says "Many different versions of some of these structures can appear in the file, due to the long evolution of this file format."
Retr0id
on Jan 18, 2023
[–]
Exactly. It is easy to write
a
BMP reader, but if you want to read
any
BMP file that you might find in the wild then you're going to have a fun time.
duskwuff
on Jan 18, 2023
|
parent
[–]
There's even some very niche extensions to BMP which allow it to be used as a container for PNG or JPEG data.
https://learn.microsoft.com/en-us/windows/win32/gdi/jpeg-and...
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: