I used ImageIO library and tried to compress Multipart File but if the extension is jpg then it works fine, but when I used png file then it's not working. I go
when the image is loaded from localdrive by default my image rotates to Portrait from Landscape. My image type is ".jpg" and size is 1.32MB. To verify the issue
This is a question that has been asked like 100 times on this site, but I have looked at all of them and even though they all were solved, none of the solutions