.g5e/pgta -> .jpg fixed

This commit is contained in:
Syping 2018-02-03 03:00:27 +01:00
parent 29d88bca6e
commit e396f29b2d
1 changed files with 7 additions and 1 deletions

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)
{