Hi,
I make a selection and crop all images to that selection.
R := ImageEnVect1.SelectedRect;
with ImageEnMView1 do
for i := 0 to ImageCount-1 do begin
bmp := GetTIEBitmap(i);
ImageEnProc1.AttachedIEBitmap:=bmp;
ImageEnProc1.Crop(R.x,R.y,R.x + R.Width,R.y + R.Height);
ReleaseBitmap(i);
UpdateImage(i);
end;
When I try to save to a new Dicom file
ImageEnMView1.MIO.SaveToFileDICOM('I:\ckc_data\cropped');
I get an error message
EIEEException 'DICOM saving: different images'
Nevertheless, there is actually a file written to the disk but with only one image.
Please help.
Thanks
Kind regards
Christoph