microsoft / EmbeddedSocial-iOS-SDK

SDK for interacting with the Microsoft Embedded Social service from inside your iOS app
MIT License
19 stars 11 forks source link

Performance: Image compression #65

Open Vadim-Bulavin opened 7 years ago

Vadim-Bulavin commented 7 years ago
  1. Implement async image compression service.
  2. Define requirements for max pixel resolution.
  3. Define requirements for max size in bytes.
  4. Replace code similar to the sample below with calls to image compression service.
guard let imageData = UIImageJPEGRepresentation(image, 0.8) else {
    return
}
orezhko commented 7 years ago

Low priority for now