aboutsummaryrefslogtreecommitdiff
path: root/project/src/wimgt.c
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2022-12-16 16:02:51 +0100
committerWiimm <wiimm@wiimm.de>2022-12-16 16:02:51 +0100
commit0e143e393d99ebb00cb14ffaa4c50efeec3729f1 (patch)
treeeb3843c088d6306f08b43e6940ffcca76c1e2912 /project/src/wimgt.c
parentf6b04f8a74242cc98a9dd511ace55fe3c905d937 (diff)
SZS v2.31a
Diffstat (limited to 'project/src/wimgt.c')
-rw-r--r--project/src/wimgt.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/project/src/wimgt.c b/project/src/wimgt.c
index a6359dc..2391a55 100644
--- a/project/src/wimgt.c
+++ b/project/src/wimgt.c
@@ -242,19 +242,19 @@ static enumError cmd_test()
*end = 0;
StringCopyE(end,path+sizeof(path),"-std.png");
- SavePNG(&img,true,path,0,0,false,0);
+ SavePNG(&img,true,0,path,0,0,false,0);
ConvertIMG(&img,false,0,IMG_X_RGB,PAL_INVALID);
StringCopyE(end,path+sizeof(path),"-rgb.png");
- SavePNG(&img,true,path,0,0,false,0);
+ SavePNG(&img,true,0,path,0,0,false,0);
ConvertIMG(&img,false,0,IMG_X_GRAY,PAL_INVALID);
StringCopyE(end,path+sizeof(path),"-gray.png");
- SavePNG(&img,true,path,0,0,false,0);
+ SavePNG(&img,true,0,path,0,0,false,0);
ConvertIMG(&img,false,0,IMG_X_PAL,PAL_INVALID);
StringCopyE(end,path+sizeof(path),"-pal.png");
- SavePNG(&img,true,path,0,0,false,0);
+ SavePNG(&img,true,0,path,0,0,false,0);
}
ResetIMG(&img);
}
@@ -348,7 +348,7 @@ static enumError cmd_decode()
if (!testmode)
{
- err = SavePNG(&img,true,dest,0,0,false,0);
+ err = SavePNG(&img,true,0,dest,0,0,false,0);
if ( max_err < err )
max_err = err;
}
@@ -431,7 +431,7 @@ static enumError cmd_convert ( int cmd_id, ccp cmd_name, ccp def_path )
if (!testmode)
{
- err = SaveIMG(&img,fform,0,dest,samefile);
+ err = SaveIMG(&img,fform,0,0,dest,samefile);
if ( err > ERR_WARNING )
return err;
}
@@ -539,7 +539,7 @@ static enumError cmd_copy()
if (!testmode)
{
- err = SaveIMG(&img,fform,0,dest,samefile);
+ err = SaveIMG(&img,fform,0,0,dest,samefile);
if ( err > ERR_WARNING )
return err;
}