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

It it not counter intuitive and the decision extends far earlier than the first displays.

A raster image onscreen is displayed in the order that the data appears when written down. It stands to reason that a data depiction should be in the same orientation as the display orientation. Displays were created by people who read from left to right, top to bottom. If the displays did not follow that order. images would be flipped or rotated when displayed in a data form.

The first pixel written to the display is in the top left because we read from the top left. If writers of another language had have popularised the text, perhaps things might have been different.



Why does the BMP file format store the image upside-down though?


IBM brain rot adopted by Microsoft.

Why are device-independent bitmaps upside down? Raymond Chen https://devblogs.microsoft.com/oldnewthing/20210525-00/?p=10...

I think you had to wait for WinG or maybe even DirectX to get normal 1:1 mapping.

OpenGL is so old it had same stupid ideas about coordinates.




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

Search: