-
Notifications
You must be signed in to change notification settings - Fork 57
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
feature request: brightness and contrast sliders for layers #186
Comments
webgl would support it all: http://evanw.github.com/glfx.js/docs/ |
Now, fabric also supports this: |
Comment from @SRez in issue #606 regarding the support of contrast sliders:
Reply from me in issue #606:
|
Hi, |
To use the brightness/contrast sliders (and other filters), you will need to enable the tiles to be rendered with WebGL. You can enable this from the settings widget (gear icon in the toolbar) by clicking the "Prefer WebGL Layers" checkbox. After doing this you will need to refresh the page. However, for this to work the server hosting your image stack must be appropriately configured. Specifically, it must set a cross-origin resource sharing policy, and that policy must include the origin which hosts your CATMAID instance. You can find information on how to do that for many types of server at this site, but for nginx it is usually as simple as adding To tell that the WebGL tile layer is working, when you open the layers and filter control by clicking the toggle in the bottom left of the stack view, you should see controls for blend mode and filters in addition to the opacity slider: Select "Brightness, Contrast, & Saturation" from the filters drop down, click "Add", and the appropriate sliders will appear: |
Thank you so much for this information Andrew. I shall definitely try this; from your screen shot it looks exactly what I was wishing for. Super. |
Thank you Andrew. I just suceed to install a new instance of Catmaid and those new features seem to work perfectly. |
Pavel suggested that it would be great to be able to adjust the brightness and contrast of layers as well as their transparency.
The text was updated successfully, but these errors were encountered: