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

Even without a GPU, the JPEG format itself allows for totally lossless rotation. It is also quite fast, and doesn't require reading and writing every pixel in the image.


Isn't this only true for images where the resolution is divisible by the block size or something like that?

IIRC in other cases you have to cut the edge of the image off (rounded to the nearest block) or recompress those edge blocks




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

Search: