Robrowski / GeoSnap

Repository for my projects in CS 403x (Mobile and Ubiquitous) at WPI
1 stars 0 forks source link

Fix image rotation #5

Closed mscosti closed 9 years ago

mscosti commented 9 years ago

Currently there are hacks to correctly rotate the image in the app, but the images are always being saved as if they are in landscape mode. To fix this we have to figure out how to set the camera's orientation depending on device orientation, or actually rotate the file accordingly.

To not worry about this quite as much, we can figure out how to always open the camera in portrait mode, so the photos are saved the right way in portrait, and not really support landscape photos.

Either way works. If we do support both landscape and portrait then we could potentially have a 'maximize' button that display the landscape photos correctly so it can be viewed full screen, even while the rest of the app will be locked to portrait mode.

mscosti commented 9 years ago

semi fixed. images are now transferred as bitmaps and are correctly rotated for viewing and sending to imgur.

slight sizing problem when reviewing, have to make picture view same exact size as preview