Jump to content

UnimFileUpload image on mobile with cropping feature?


merolarosa

Recommended Posts

Hi,

 

I was wondering if UniGui mobile has the feature to pick images from mobile using chrome or the default browser. The App give me the option to choose camera or gallery but when capture a new photo from camera or gallery and upload it to unigui server, the picture appears to be rotated.

 

Also, there is no cropping/ editing the picture before uploading it to server.

 

So, I was wondering how can I achieve this in unigui mobile?

 

Any help will be appreciated. thanks in advance

 

merolarosa

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

About the rotate picture, most devices, even if is in portrait, take the photo on landscape, and add an information to the file (EXIF) to say if is portrait or not.

I think there's not much to do, since Delphi doesn't read the EXIF information of the picture file.

You can make a rotate option, but can be slow and may cause quality loss.

Maybe there's a component for Delphi to read the EXIF, but for who doesn't use third party components, no solution yet.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...