bluefireteam / bitmap

A Flutter package for manipulating bitmaps
MIT License
176 stars 34 forks source link

Height is applied to header as negative #7

Closed ryankauk closed 4 years ago

ryankauk commented 5 years ago

Was wondering why the height is set as negative,

https://github.com/renancaraujo/bitmap/blob/ed8df15d759eb15a4819711f7670315893fefd2a/lib/bitmap.dart#L87

renancaraujo commented 5 years ago

I actually spent 1 whole month trying to figure out why the flutters bitmap translated upside down. The answer is here: https://stackoverflow.com/questions/8346115/why-are-bmps-stored-upside-down

renancaraujo commented 5 years ago

And here: https://stackoverflow.com/questions/26144955/after-writing-bmp-file-image-is-flipped-upside-down

ryankauk commented 4 years ago

Closing as this is intentional