Skip to content
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

Export proper navigation images #8

Open
lanery opened this issue Mar 30, 2022 · 1 comment
Open

Export proper navigation images #8

lanery opened this issue Mar 30, 2022 · 1 comment

Comments

@lanery
Copy link
Member

lanery commented Mar 30, 2022

The small.png images created during export are off. Found some documentation about how to make them properly
https://catmaid.readthedocs.io/en/stable/user_faq.html#how-to-create-the-small-overview-images-in-the-lower-right-corner

@lanery
Copy link
Member Author

lanery commented Jun 8, 2022

Can get this to work by creating a bbox image

thumb = icatapi.render_bbox_image(stack=stack,
                                  z=z,
                                  bbox=bbox,
                                  width=192,
                                  maxTileSpecsToRender=1000,
                                  render=render)

where the bbox is defined by the extreme limits of all the stacks to export. This is fine except will take a long time to render hi-mag EM image overview images for multiple sections. Would be better to create from highest zoom level images, but then sometimes the max zoom level doesn't exist for hi-mag EM (because the render_catmaid_boxes script doesn't do this unfortunately. So would have to manually create the max zoom level image from the 4 max-1 zoom level images (which is arguably nice to do anyway) and then properly create the small.png navigation image from this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant