Skip to content

Commit

Permalink
docs (sipi): fix typos (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
schwemmer authored and subotic committed Jul 6, 2017
1 parent eed21d4 commit 4d275c0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions config/sipi.config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ sipi = {
jpeg_quality = 60,

--
-- For scaling images, SIPI offers to methods. The value "high" offers best quality using expensive
-- For scaling images, SIPI offers two methods. The value "high" offers best quality using expensive
-- algorithms (bilinear interpolation, if downscaling the image is first scaled up to an integer
-- multple of the requires size, and then downscaled using averaging. This results in the best
-- image quality. "medium" uses bilinear interpolation but does not du upscaling before
-- multiple of the requires size, and then downscaled using averaging. This results in the best
-- image quality. "medium" uses bilinear interpolation but does not do upscaling before
-- downscaling. Scaling quality is set to "low", then just a lookup table and nearest integer
-- interpolation is being used to scale the images.
-- Recognized values are: "high", "medium", "low".
Expand All @@ -68,7 +68,7 @@ sipi = {
jpeg = "low",
tiff = "high",
png = "medium",
j2k = "heigh"
j2k = "high"
},

--
Expand All @@ -83,10 +83,10 @@ sipi = {

--
-- indicates the path to the root of the image directory. Depending on the settings of the variable
-- "prefix_as_path" the images are search at <imgroot>/<prefix>/<imageid> (prefix_as_path = TRUE)
-- "prefix_as_path" the images are searched at <imgroot>/<prefix>/<imageid> (prefix_as_path = TRUE)
-- or <imgroot>/<imageid> (prefix_as_path = true). Please note that "prefix" and "imageid" are
-- expected to be urlencoded. Both will be decoded. That is, "/" will be recognized and expanded
-- in the final path the image file.
-- in the final path of the image file.
--
-- To use Sipi's test data, use the following imgroot, and set prefix_as_path to true below:
-- imgroot = './test/_test_data/images',
Expand All @@ -99,11 +99,11 @@ sipi = {
prefix_as_path = false,

--
-- In order not to accumulate to many files into one diretory (which slows down file
-- In order not to accumulate too many files into one directory (which slows down file
-- access considerabely), the images are stored in recursive subdirectories 'A'-'Z'.
-- If subdir_levels is equal 0, no subdirectories are used. The maximum is 6.
-- The recommandeation is that on average there should not me more than a few
-- thousand files in a unix directory (your mileage may vay depending on the
-- The recommendation is that on average there should not be more than a few
-- thousand files in a unix directory (your mileage may vary depending on the
-- file system used).
--
subdir_levels = 0,
Expand Down Expand Up @@ -163,7 +163,7 @@ sipi = {

--
-- If compiled with SSL support, the path to the certificate (must be .pem file)
-- The follow commands can be used to generate a self-signed certificate
-- The following commands can be used to generate a self-signed certificate
-- # openssl genrsa -out key.pem 2048
-- # openssl req -new -key key.pem -out csr.pem
-- #openssl req -x509 -days 365 -key key.pem -in csr.pem -out certificate.pem
Expand All @@ -177,7 +177,7 @@ sipi = {


--
-- The secret for generating JWT's (JSON Web Tokens) (exactely 42 characters)
-- The secret for generating JWT's (JSON Web Tokens) (exactly 42 characters)
--
jwt_secret = 'UP 4888, nice 4-8-4 steam engine',
-- 12345678901234567890123456789012
Expand Down Expand Up @@ -213,7 +213,7 @@ fileserver = {
docroot = './server',

--
-- route under which the normal webserver shouöd respond to requests
-- route under which the normal webserver should respond to requests
--
wwwroute = '/server'
}
Expand Down

0 comments on commit 4d275c0

Please sign in to comment.