From a4e57ace7434a95c6356b67d11b34e363e1ea854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Mart=C3=ADnez?= Date: Mon, 9 Nov 2020 10:25:54 +0100 Subject: [PATCH] Update Examples.md Just some issues I found while testing the examples: - Reference on header for the file try255.py - Typo on parameter from bigtif to bigtiff - Use explicit call to python interpreter from command line --- doc/Examples.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Examples.md b/doc/Examples.md index b966b9c0..7081b5b4 100644 --- a/doc/Examples.md +++ b/doc/Examples.md @@ -138,7 +138,7 @@ $ for i in {1..1000}; do cp x.tif test/$i.tif; done And run this Python program on them: ``` -$ time ./try255.py x.tif[squash,compression=ccittfax4,strip,bigtif] test/* +$ time python try255.py x.tif[squash,compression=ccittfax4,strip,bigtiff] test/* real 1m59.924s user 4m5.388s sys 0m8.936s @@ -154,6 +154,7 @@ colourspace before inserting them. ``` python #!/usr/bin/env python +#file try255.py import sys import random