-
-
Notifications
You must be signed in to change notification settings - Fork 410
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not saving 3D tiff format for layer #6783
Comments
I'm not sure why the default is the svg writer (cc: @DragaDoncila ), but in the Save Selected or Save All dialog (File menu) you should be able to select Hope that helps! |
Tiff is a format for storing n-dimensional arrays, not a list of points. I do not even have idea how we could store points in tiff file. |
@jinxsfe Regarding the csv, they container the coordinates of the points--the points data. |
馃悰 Bug Report
I try to create the label point and make annotation and process images, but when I do several of step,and I click save all layer or save select layer
File ~/miniconda3/envs/napari-env/lib/python3.10/site-packages/napari_svg/layer_to_xml.py:104, in image_to_xml(data=<class 'numpy.ndarray'> (140, 464, 464) float32, meta={'affine': <class 'numpy.ndarray'> (4, 4) float64, 'attenuation': 0.05, 'blending': 'translucent_no_depth', 'colormap': 'gray', 'contrast_limits': [-0.5080329775810242, 0.6496055126190186], 'custom_interpolation_kernel_2d': <class 'numpy.ndarray'> (1, 1) float32, 'depiction': 'volume', 'experimental_clipping_planes': [], 'gamma': 1, 'interpolation2d': 'nearest', ...})
102 # Check if more than 2 dimensional and if so error.
103 if data.ndim - int(rgb) > 2:
--> 104 raise ValueError(f'Image must be 2 dimensional, not {data.ndim - int(rgb)} to save as svg')
data = <class 'numpy.ndarray'> (140, 464, 464) float32
rgb = False
int(rgb) = 0
105 else:
106 image = data
ValueError: Image must be 2 dimensional, not 3 to save as svg
Does anyone know how to save 3D stack into tiff format?
best
馃挕 Steps to Reproduce
go to file
click save select layer or select all layer
Does anyone know how to save 3D stack into tiff format?
best
馃挕 Expected Behavior
give me some guidence
馃寧 Environment
linux ubuntu
馃挕 Additional Context
s
The text was updated successfully, but these errors were encountered: