Commit c1907fd9 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Alexandre Lision

VCard: reduce image size

Since size for msg is limited, we need reduce image size

Change-Id: Ida12e67f9e8da9d1c98fbf36aca3548565e21211
Reviewed-by: default avatarAlexandre Lision <>
parent a16c9867
...@@ -181,7 +181,7 @@ namespace Interfaces { ...@@ -181,7 +181,7 @@ namespace Interfaces {;;
//PNG ? //PNG ?
(qvariant_cast<QPixmap>(pxm)).save(&buffer, "PNG"); (qvariant_cast<QPixmap>(pxm)).scaled({100,100}).save(&buffer, "PNG");
buffer.close(); buffer.close();
return bArray; return bArray;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment