-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from ConradHughes/cjch_updating
Updates of possible interest
- Loading branch information
Showing
5 changed files
with
88 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh -e | ||
|
||
# Generate some chessboard JPGs for testing with. | ||
|
||
dir=test | ||
[ -d $dir ] || mkdir $dir | ||
|
||
convert -size 100x100 pattern:gray50 -scale 1600% -sampling-factor 2x2 \ | ||
-crop 796x396+0+0 $dir/chess-2x2.jpg | ||
convert -size 100x100 pattern:gray50 -scale 800%x1600% -sampling-factor 1x2 \ | ||
-crop 796x396+0+0 $dir/chess-1x2.jpg | ||
convert -size 100x100 pattern:gray50 -scale 1600%x800% -sampling-factor 2x1 \ | ||
-crop 796x396+0+0 $dir/chess-2x1.jpg | ||
convert -size 100x100 pattern:gray50 -scale 800% -sampling-factor 1x1 \ | ||
-crop 796x396+0+0 $dir/chess-1x1.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters