Well, i tried differents samples and got the same error &quot;Description: itk::ERROR: JPEGImageIO(0x21b6910): JPEG supports unsigned char/int only&quot; (i tried the others formats like png, jpg and bmp too) - this thread ( <a href="http://permalink.gmane.org/gmane.comp.lib.itk.user/9435">http://permalink.gmane.org/gmane.comp.lib.itk.user/9435</a> ) is a bit different that my problem and what i got is the right way of the line command to execute the example. And i understood that the image from the .dcm has to have a different type from float or double but mas questions are the followings How to change the image type to a valid one? And if the image has a invalid type and it can&#39;t be changed how to deal with it?