Hi
Check the color depth of the image, e.g.
ImageEnMView1.MIO.Params[0].SamplesPerPixel := 3;
ImageEnMView1.MIO.Params[0].BitsPerSample := 8;
ImageEnMView1.MIO.DuplicateCompressionInfo;
for i := 0 to ImageEnMView1.ImageCount - 1 do
begin
ImageEnMView1.GetTIEBitmap(i).PixelFormat := ie24RGB;
ImageEnMView1.ReleaseBitmap(i);
end;
ImageEnMView1.MIO.Params[0].DICOM_Compression := iedcJpeg ;
ImageEnMView1.MIO.Params[0].DICOM_JPEGQuality := 100;
ImageEnMView1.MIO.SaveToFileDicom( SaveImageEnDialog1.FileName );
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com