Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Quack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
commul
Zeit.shift
Quack
Commits
c47a583f
Commit
c47a583f
authored
11 years ago
by
Toke Eskildsen
Browse files
Options
Downloads
Patches
Plain Diff
Closes #11 (Smarter histogram generation)
parent
7c1f229d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quack.sh
+6
-5
6 additions, 5 deletions
quack.sh
with
6 additions
and
5 deletions
quack.sh
+
6
−
5
View file @
c47a583f
...
@@ -77,7 +77,7 @@ export THREADS=4
...
@@ -77,7 +77,7 @@ export THREADS=4
# Number of threads used for histograms. Note that histogram generation
# Number of threads used for histograms. Note that histogram generation
# is very memory hungry (~2GB for a 30MP image), unless HISTOGRAM_PHEIGHT
# is very memory hungry (~2GB for a 30MP image), unless HISTOGRAM_PHEIGHT
# is set to a percentage.
# is set to a percentage.
export
HISTOGRAM_THREADS
=
2
export
HISTOGRAM_THREADS
=
8
# Number of threads used for pages. Page generation uses very little memory and
# Number of threads used for pages. Page generation uses very little memory and
# is almost exclusively CPU bound.
# is almost exclusively CPU bound.
...
@@ -126,11 +126,12 @@ export CROP_PERCENT=""
...
@@ -126,11 +126,12 @@ export CROP_PERCENT=""
# If auto, histograms will scale individually to the highest value.
# If auto, histograms will scale individually to the highest value.
# If script_auto, histograms will scale as with auto, but will be generated by
# If script_auto, histograms will scale as with auto, but will be generated by
# script (slow, low mem) instead of ImageMagick (fast, high mem).
# script (slow, low mem) instead of ImageMagick (fast, high mem).
# Setting a fixed height will slow down histogram generation severely, but
# If auto is specified, it is highly recommended to decrease HISTOGRAM_THREADS
# also remove much of the memory overhead. If this value is specified, it
# to 2-4 on a 4-8GB machine
# is therefore recommended to increase HISTOGRAM_THREADS.
# Suggested values are 10-20%
# Suggested values are 10-20%
export
HISTOGRAM_PHEIGHT
=
"auto"
# percentage or script_auto: scripted (low mem, slower)
# auto: GraphicsMagick (high mem, faster)
export
HISTOGRAM_PHEIGHT
=
"script_auto"
# If true, tiles are generated for OpenSeadragon. This requires Robert Barta's
# If true, tiles are generated for OpenSeadragon. This requires Robert Barta's
# deepzoom (see link in README.md) and will generate a lot of 260x260 pixel tiles.
# deepzoom (see link in README.md) and will generate a lot of 260x260 pixel tiles.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment