dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
980 stars 579 forks source link

Low resolution panorama images when fetching media using fetchFileData or fetchFileByteData #1174

Open lleoncini opened 1 year ago

lleoncini commented 1 year ago

If you try to fetch any panorama images from the drone using fetchFileData or fetchFileByteData the result is always a low resolution image despite of the original image is high resolution. On iOS this dosn't happend, why those images are getting compressed on Android while the transfer?

DJI-William commented 1 year ago

Maybe try fetchSubFileDataList, it should contain the PANORAMA media file. In addition, is this also happens in the Android DJI official app?

lleoncini commented 1 year ago

I have tried fetchSubFileDataList but callbacks never returns. Also I have seen the code at the main sample app looking the way of how they use fetchSubFileDataList in the super resolution example (ShootSuperResolutionPhotoView), but at the end they just download a preview of the image and not the full image. I have tried also running the app and try the super resolution photo example from a Air 2 but it dosn't work, instead of it only have a live view of the camera and an option to take a picture, after taking the picture it say success and noting more happend.