You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some Android devices (i.e. Samsung Galaxy S6) I have a problem with resulting image size - height is equal to targetWidth and width is scaled to keep the aspect ratio.
I think that the problem is caused by autoCorrectionAngle - it rotates the image to keep orientation (which is what I want), but it does not adjust width and height values to the rotation.
Would it be possible to change the behaviour of auto correcting orientation to also switch width with height if needed, so that resulting image width is equal to targetWidth I specify? If not - is there a way for me to know which image will be rotated by autoCorrectionAngle = true so that I can specify a targetHeight instead of targetWidth to achieve the same result?
The text was updated successfully, but these errors were encountered:
There is no way to know the current version.
Because the direction information comes from ExifInterface, an Android native interface, it is not exposed on the dart side.
I am using this library to compress an in-memory image to a certain width:
On some Android devices (i.e. Samsung Galaxy S6) I have a problem with resulting image size - height is equal to
targetWidth
and width is scaled to keep the aspect ratio.I think that the problem is caused by
autoCorrectionAngle
- it rotates the image to keep orientation (which is what I want), but it does not adjust width and height values to the rotation.Would it be possible to change the behaviour of auto correcting orientation to also switch width with height if needed, so that resulting image width is equal to targetWidth I specify? If not - is there a way for me to know which image will be rotated by
autoCorrectionAngle = true
so that I can specify atargetHeight
instead oftargetWidth
to achieve the same result?The text was updated successfully, but these errors were encountered: