rgbgfx: Add an option to take the CGB's color profile into account

This commit is contained in:
Jakub Kądziołka
2019-08-20 14:15:07 +02:00
parent b8d5dd1824
commit 91984cb7e7
4 changed files with 50 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
depth = 2;
while ((ch = getopt(argc, argv, "Aa:Dd:Ffhmo:Tt:uPp:Vvx:")) != -1) {
while ((ch = getopt(argc, argv, "Aa:CDd:Ffhmo:Tt:uPp:Vvx:")) != -1) {
switch (ch) {
case 'A':
opts.attrmapout = true;
@@ -53,6 +53,9 @@ int main(int argc, char *argv[])
case 'a':
opts.attrmapfile = optarg;
break;
case 'C':
opts.colorcurve = true;
break;
case 'D':
opts.debug = true;
break;