Support TIFF images in "Image view" action. Requested via forum: http://www.heidisql.com/forum.php?t=4623

This commit is contained in:
Ansgar Becker
2010-01-07 18:36:40 +00:00
parent f690de4405
commit 936ed6a67b

View File

@ -2114,6 +2114,9 @@ begin
end else if IsBinary and (Copy(Header, 1, 2) = 'BM') then begin end else if IsBinary and (Copy(Header, 1, 2) = 'BM') then begin
SaveBinary := true; SaveBinary := true;
filename := filename + 'bmp'; filename := filename + 'bmp';
end else if IsBinary and (Copy(Header, 3, 2) = #42#0) then begin
SaveBinary := true;
filename := filename + 'tif';
end; end;
if not IsBinary then begin if not IsBinary then begin