-
Notifications
You must be signed in to change notification settings - Fork 10
Renderfacility #93
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
base: master
Are you sure you want to change the base?
Renderfacility #93
Conversation
| public boolean isRGB(SecurityContext ctx, long imageId) throws DSOutOfServiceException, DSAccessException { | ||
| try { | ||
| ImageData img = gateway.getFacility(LoadFacility.class).getImage(ctx, imageId); | ||
| int nChannles = img.getDefaultPixels().getSizeC(); |
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.
typo in variable names
| } | ||
|
|
||
| /** | ||
| * Checks if an image is an RGB(A) image. |
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.
Maybe indicate in the description that the RenderingEngine is not closed
7883920 to
2becc06
Compare
|
Ok to merge @jburel ? Not urgently required, just add rendering method to gateway, might be useful. |
Add a Renderfacility, with some basic rendering methods. Inspired by #92 .