|
@@ -422,10 +422,6 @@ class ChatViewCoordinator: Coordinator {
|
|
|
let pixelSize = compressedImage.imageSizeInPixel()
|
|
|
let width = Int32(exactly: pixelSize.width)!
|
|
|
let height = Int32(exactly: pixelSize.height)!
|
|
|
-// let width = Int32(exactly: compressedImage.size.width)!
|
|
|
-// let height = Int32(exactly: compressedImage.size.height)!
|
|
|
- print("CompressImage width: \(width)")
|
|
|
- print("CompressImage height: \(height)")
|
|
|
let path = Utils.saveImage(image: compressedImage)
|
|
|
let msg = dc_msg_new(mailboxPointer, DC_MSG_IMAGE)
|
|
|
dc_msg_set_file(msg, path, "image/jpeg")
|