1
0
Fork 0
mirror of https://gitlab.com/Syping/gta5view-cmd synced 2024-11-23 22:20:23 +01:00

.g5e/pgta -> .jpg fixed

This commit is contained in:
Syping 2018-02-03 03:00:27 +01:00
parent 29d88bca6e
commit e396f29b2d

View file

@ -34,9 +34,10 @@ int main(int argc, char *argv[])
if (args.length() >= 3)
{
QString format = "jpg";
bool isDefault = true;
bool avatarMode = false;
bool convertToGTA = true;
bool convertToGTA = false;
bool customFormat = false;
bool keepAspectRatio = true;
QMap<QString,QString> flags;
@ -53,6 +54,11 @@ int main(int argc, char *argv[])
convertToGTA = true;
customFormat = true;
}
else if (args.at(3) == "-jpg")
{
format = "jpg";
convertToGTA = false;
}
}
if (args.length() >= 5)
{