I modify my code to this:
function DicomToJpg(filename: string): string;
var
i : integer;
imgEn: TImageEnMView;
begin
imgEn := TImageEnMView.Create(nil);
try
result := ChangeFileExt(filename,'.jpg');
imgEn.MIO.LoadFromFileDICOM(filename);
imgEn.MIO.Params[0].SamplesPerPixel := 3;
imgEn.MIO.Params[0].BitsPerSample := 8;
imgEn.MIO.DuplicateCompressionInfo;
for i := 0 to imgEn.ImageCount - 1 do
begin
imgEn.GetTIEBitmap(i).Write(ChangeFileExt(filename,'_'+IntToStr(i+1)+
ExtractFileExt(filename)));
imgEn.ReleaseBitmap(i);
end;
imgEn.MIO.SaveToFile(result);
finally
FreeAndNil(imgEn);
end;
end;
And even download version 6.0 of ImageEN but stil file does not exists.