问题
I am just reading an image file as byte array and writing it in another directory as image file using BufferedImage
like shown in the link :
https://www.tutorialspoint.com/How-to-convert-Byte-Array-to-Image-in-java
But for some image files the created new image file is rotated upside down. Majority of the images works fine.
And also created new images size are increased compared to the source image. What i am missing here ?
来源:https://stackoverflow.com/questions/62473381/java-byte-array-to-image-file-creation-results-a-rotated-upside-down-image-file