Răsfoiți Sursa

Add a last profile to test

Weiyi Lou 1 lună în urmă
părinte
comite
3bb9d267ac
2 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      scan-dialog
  2. BIN
      scanner-al.icm

+ 2 - 1
scan-dialog

@@ -81,6 +81,7 @@ function run_scan {
   [[ $landscape == true ]] && options="${options} -rotate 90"
   [[ $icc == "Profile1" ]] && options="${options} -profile /home/cinaeco/scan-dialog/scanner-as.icm"
   [[ $icc == "Profile2" ]] && options="${options} -profile /home/cinaeco/scan-dialog/scanner-ax.icm"
+  [[ $icc == "Profile3" ]] && options="${options} -profile /home/cinaeco/scan-dialog/scanner-al.icm"
   echo "Options: $options"
 
   convert $options $tempname $tempname | \
@@ -128,7 +129,7 @@ yad --form --orient=hor --maximized --width=750 --height=250 --columns=3 --focus
   --field="File format:CB" jpg\!png\!pdf\!tiff \
   --field="Paper Size:CB" A4\!A4-R\!A5\!A5-R\!B5\!B5-R\!LTR\!LTR-R\! \
   --field="Resolution (DPI):CB" 75\!150\!^300\!600\!1200 \
-  --field="Apply ICC Profile:CB" Profile1\!Profile2\!No \
+  --field="Apply ICC Profile:CB" Profile1\!Profile2\!Profile3\!No \
   --field="Scan Buttons:BTN" "" \
   --field="Colour:FBTN" 'bash -c "run_scan %1 %2 %3 %4 %5 %6 %7 Color"' \
   --field="Grayscale:FBTN" 'bash -c "run_scan %1 %2 %3 %4 %5 %6 %7 Gray"' \

BIN
scanner-al.icm