getMetadata("Info") for a stack

Hi all,

I have a small problem, I have a DICOM stack where I want to get the header from the first slice.
I tried the following code :
str = getMetadata(“Info”)

The getInfo(“0008,1030”) gives a proper response, and I get my string.
The problem is that getMetadata(“Info”) give an empty response in a stack.

In short getMetadata(“Info”) give a proper result in a single slice image but an empty result for a stack.

Is it a bug ?
Is it another way I could get all the header of one single slice from a stack ?



Try using

str = getMetadata("label");

Thank you so much you solved my problem