File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
This script creates two new alternative versions of each image in the source
7
7
path given on the command line:
8
8
9
- * 800: This version is indended for embedding in web pages or using as a
9
+ * 800: This version is intended for embedding in web pages or using as a
10
10
preview. It's optimised for small file size and progressive loading.
11
11
12
- * 1920: This version is indended for full screen viewing on a typical 1080p
12
+ * 1920: This version is intended for full screen viewing on a typical 1080p
13
13
display whilst keeping a moderate file size.
14
14
15
15
Output directories are created for each of these alternatives so that filenames
@@ -63,7 +63,7 @@ def usage():
63
63
"-resize" , "1920x1920>" ,
64
64
"-interlace" , "JPEG" ,
65
65
"-quality" , "92%" ,
66
- "-colorspace" , "RGB " ,
66
+ "-colorspace" , "sRGB " ,
67
67
src , f"1920/{ dst } " ,
68
68
# fmt: on
69
69
],
@@ -86,7 +86,7 @@ def usage():
86
86
"-sampling-factor" , "4:2:0" ,
87
87
"-interlace" , "JPEG" ,
88
88
"-quality" , "80%" ,
89
- "-colorspace" , "RGB " ,
89
+ "-colorspace" , "sRGB " ,
90
90
src , f"800/{ dst } " ,
91
91
# fmt: on
92
92
],
You can’t perform that action at this time.
0 commit comments