btastic / flutter_native_image

Native Flutter Image tools
Other
340 stars 138 forks source link

Normalise bitmap orientation, before cropping an image #101

Open doruchidean opened 1 year ago

doruchidean commented 1 year ago

Device cameras have different native orientations (i.e. Samsung, One Plus, Sony => ROTATE_90). When cropping the bitmap, it has to be normalised before. The new flow of cropImage method is so: