                     weChatMessageInfo["mediaUrl"] = url.absoluteString
                 case .image(let image):
                     weChatMessageInfo["objectType"] = "2"
-                    if let fileImageData = UIImageJPEGRepresentation(image, 1) {
-                        weChatMessageInfo["fileData"] = fileImageData
-                    }
+                    if let imageData = UIImageJPEGRepresentation(image, 0.9) {
+                        weChatMessageInfo["fileData"] = imageData
+                    }
+                case .imageData(let imageData):
+                    weChatMessageInfo["objectType"] = "2"
+                    weChatMessageInfo["fileData"] = imageData
                 case .audio(let audioURL, let linkURL):
                     weChatMessageInfo["objectType"] = "3"
                     if let urlString = linkURL?.absoluteString {

                    status.append(url.absoluteString)
                    mediaType = Media.url(url)
                case .image(let image):
                    guard let imageData = UIImageJPEGRepresentation(image, 0.7) else {
                        completionHandler(.failure(.invalidImageData))
                        return
                    }
                    parameters["media"] = imageData
                    mediaType = Media.image(image)
                default:
                    fatalError("web Twitter not supports this type")
                }

                            messageInfo["text"] = text.isEmpty ? url.absoluteString : text + " " + url.absoluteString
                        }
                    case .image(let image):
                        if let imageData = UIImageJPEGRepresentation(image, 0.9) {
                            messageInfo["imageObject"] = [
                                "imageData": imageData
                            ]
                        }
                    case .imageData(let imageData):
                        messageInfo["imageObject"] = [
                            "imageData": imageData
                        ]
                    case .audio:
                        fatalError("Weibo not supports Audio type")
                    case .video:
