diff options
author | OzoneGrif | 2020-01-29 22:33:55 +0100 |
---|---|---|
committer | GitHub | 2020-01-29 22:33:55 +0100 |
commit | 3ef8c5a3e92dab3178d7892606149fedfaadc31f (patch) | |
tree | 167438937bda9dc321f37a52ff80525cbd96bfbd /compiler/src/Config.hs | |
parent | e91065602eeeebef236dae29e67d8e3334ab4029 (diff) | |
parent | c8692be41903791764de314c099ead7f078eed20 (diff) | |
download | ldgallery-3ef8c5a3e92dab3178d7892606149fedfaadc31f.tar.gz |
Merge pull request #50 from pacien/feature-imagemagick
compiler: switch to imagemagick
Diffstat (limited to 'compiler/src/Config.hs')
-rw-r--r-- | compiler/src/Config.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/src/Config.hs b/compiler/src/Config.hs index 4446c14..d670aae 100644 --- a/compiler/src/Config.hs +++ b/compiler/src/Config.hs | |||
@@ -41,7 +41,6 @@ data CompilerConfig = CompilerConfig | |||
41 | , tagsFromDirectories :: Int | 41 | , tagsFromDirectories :: Int |
42 | , thumbnailMaxResolution :: Resolution | 42 | , thumbnailMaxResolution :: Resolution |
43 | , pictureMaxResolution :: Maybe Resolution | 43 | , pictureMaxResolution :: Maybe Resolution |
44 | , jpegExportQuality :: Int | ||
45 | } deriving (Generic, Show) | 44 | } deriving (Generic, Show) |
46 | 45 | ||
47 | instance FromJSON CompilerConfig where | 46 | instance FromJSON CompilerConfig where |
@@ -54,7 +53,6 @@ instance FromJSON CompilerConfig where | |||
54 | <*> v .:? "tagsFromDirectories" .!= 0 | 53 | <*> v .:? "tagsFromDirectories" .!= 0 |
55 | <*> v .:? "thumbnailMaxResolution" .!= (Resolution 400 400) | 54 | <*> v .:? "thumbnailMaxResolution" .!= (Resolution 400 400) |
56 | <*> v .:? "pictureMaxResolution" | 55 | <*> v .:? "pictureMaxResolution" |
57 | <*> v .:? "jpegExportQuality" .!= 80 | ||
58 | 56 | ||
59 | 57 | ||
60 | data GalleryConfig = GalleryConfig | 58 | data GalleryConfig = GalleryConfig |