如何在Javafx中获得图像的方向?还有如何修复方向如果旋转
我正在尝试使用JAVAFX在MySQL数据库中插入图像。当我使用ImageView检索并显示图像时,某些图像在旋转时正确定向(尤其是通过移动相机拍摄的图像)。我需要帮助才能知道如何获得图像的当前方向以及如何在正确的方向或旋转时修复该图像。
I am trying to insert image in mysql database using JavaFX. When I retrieve and display the image using ImageView, some images are correctly oriented while some are rotated ( particularly the images those are taken by camera of mobile). I need help to know how to get the current orientation of an image and how to fix that if it is not in correct orientation or rotated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论