Skip to content

Commit 0ca1ddb

Browse files
committed
imgsizes: Fix colorspace and typos
Signed-off-by: Paul Barker <[email protected]>
1 parent 6b1a3fb commit 0ca1ddb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/imgsizes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
This script creates two new alternative versions of each image in the source
77
path given on the command line:
88
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
1010
preview. It's optimised for small file size and progressive loading.
1111
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
1313
display whilst keeping a moderate file size.
1414
1515
Output directories are created for each of these alternatives so that filenames
@@ -63,7 +63,7 @@ def usage():
6363
"-resize", "1920x1920>",
6464
"-interlace", "JPEG",
6565
"-quality", "92%",
66-
"-colorspace", "RGB",
66+
"-colorspace", "sRGB",
6767
src, f"1920/{dst}",
6868
# fmt: on
6969
],
@@ -86,7 +86,7 @@ def usage():
8686
"-sampling-factor", "4:2:0",
8787
"-interlace", "JPEG",
8888
"-quality", "80%",
89-
"-colorspace", "RGB",
89+
"-colorspace", "sRGB",
9090
src, f"800/{dst}",
9191
# fmt: on
9292
],

0 commit comments

Comments
 (0)