-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Polished up the example with better images and explanations
- Loading branch information
1 parent
48b6658
commit cecf7f9
Showing
6 changed files
with
24 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
# Simple Example | ||
|
||
|
||
Convert the provided Library of Congress [Free To Use](https://www.loc.gov/free-to-use/) images using srcset | ||
|
||
#### A verbose dry run using the test `-z` directive on an example `tif` image, converting to `jpg` format: | ||
|
||
`srcset examples/simple/pnp-bellcm-10100-10106u.tif -t jpg -vz` | ||
|
||
#### A verbose dry run using the `-z` directive on the second example `tif` image, converting to `png` format: | ||
|
||
`srcset examples/simple/pnp-fsa-8c02000-8c02400u -t png -vz` | ||
|
||
#### Convert both images to `jpg` using the recurse `-r` option and dump the images in the `/var/www/images` directory. | ||
|
||
``` | ||
srcset examples/simple -r -t jpg -o /var/www/images -v | ||
``` | ||
|
||
|
Binary file not shown.
Binary file not shown.
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