mirror of
https://gitlab.com/Syping/gta5view-cmd
synced 2025-11-05 04:35:18 +01:00
updating gta5view-cmd for latest gta5sync source
This commit is contained in:
parent
b989ae7ec8
commit
f51b22691e
3 changed files with 5 additions and 5 deletions
6
main.cpp
6
main.cpp
|
|
@ -49,7 +49,7 @@ int main(int argc, char *argv[])
|
|||
SnapmaticPicture picture(args.at(1));
|
||||
if (picture.readingPicture(true, false, true))
|
||||
{
|
||||
if (!picture.exportPicture(args.at(2), "JPG"))
|
||||
if (!picture.exportPicture(args.at(2), SnapmaticFormat::JPEG_Format))
|
||||
{
|
||||
cout << "gta5view-cmd: Exporting of " << args.at(1).toStdString().c_str() << " to " << args.at(2).toStdString().c_str() << " failed!" << endl;
|
||||
return 1;
|
||||
|
|
@ -86,7 +86,7 @@ int main(int argc, char *argv[])
|
|||
filePath.replace("<autodef>", picture.getPictureFileName());
|
||||
if (!customFormat)
|
||||
{
|
||||
if (!picture.exportPicture(filePath, "PGTA"))
|
||||
if (!picture.exportPicture(filePath, SnapmaticFormat::PGTA_Format))
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << args.at(2).toStdString().c_str() << " failed!" << endl;
|
||||
return 1;
|
||||
|
|
@ -94,7 +94,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!picture.exportPicture(filePath, "G5E"))
|
||||
if (!picture.exportPicture(filePath, SnapmaticFormat::G5E_Format))
|
||||
{
|
||||
cout << "gta5view-cmd: Converting of " << args.at(1).toStdString().c_str() << " to " << args.at(2).toStdString().c_str() << " failed!" << endl;
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue