-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic generation of the LUTs png #581
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e5553bf
view to load LUTs binaries
Tom-TBT 613e552
lut png generated and cached in views
Tom-TBT 1d24809
put back gradient in generate lut image
Tom-TBT d770a16
changed luts_png docstring
Tom-TBT 6312fb1
linear LUT gradient on 2/3rd of the array
Tom-TBT 53b966a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2ebbf99
add version param to lutsJson
Tom-TBT d4aac5a
Merge branch 'lut_view' of https://github.com/Tom-TBT/omero-web into …
Tom-TBT 33d95fe
request for v2 of listLuts_json view
Tom-TBT c7c5734
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b03bae5
Merge branch 'master' of https://github.com/ome/omero-web into lut_view
Tom-TBT 07998fa
Merge branch 'lut_view' of https://github.com/Tom-TBT/omero-web into …
Tom-TBT f3bbb0e
restore accidentally deleted css for lut
Tom-TBT 5bcffda
listLuts_json version replaced by returning old and new values together
Tom-TBT 353f99b
Doc update for listLuts_json and luts_png
Tom-TBT dea938a
flake8 fix
Tom-TBT 3483e04
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 84b14b3
Set LUT cache timeout to None (no timeout)
Tom-TBT c592bfb
change png_lut path to relative
Tom-TBT eb48769
Merge branch 'lut_view' of https://github.com/Tom-TBT/omero-web into …
Tom-TBT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
* Author: C. Neves <[email protected]> | ||
* | ||
* Copyright (c) 2007, 2008 Glencoe Software, Inc. All rights reserved. | ||
* | ||
* | ||
* This software is distributed under the terms described by the LICENCE file | ||
* you can find at the root of the distribution bundle, which states you are | ||
* free to use it only for non commercial purposes. | ||
|
@@ -104,7 +104,7 @@ $.fn.colorbtn = function(cfg) { | |
if (OME && OME.LUTS) { | ||
for (var l=0; l<OME.LUTS.length; l++) { | ||
if (OME.LUTS[l].name === lutName) { | ||
return OME.LUTS[l].png_index; | ||
return OME.LUTS[l].png_index_new; | ||
} | ||
} | ||
} | ||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update this docstring and mention version etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docstring updated with mention to v5.28.0