VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 20:01:32 02/26/05 Sat
Author: Peterson
Subject: Re: Load tif images
In reply to: Bjarne Winkler 's message, "Re: Load tif images" on 13:43:40 02/26/05 Sat

Thank you for help my friend.
I found another way to access a image using TFileStream.

var
Graphic : TDibGraphic;
FS : TFileStream;
begin
Graphic:=TTiffGraphic.Create;
FS:=TFileStream.Create ('C:\00000120.01F',fmOpenReadWrite);
Graphic.LoadFromStream(FS);
ImageScrollBox1.Graphic.Assign(Graphic);
end;

I have access the values of any method or property of the image with the Graphic variable, but the ImageScrollBox donīt show the image.
Is it possible to work with TFileStream ?

Best regards

At the moment I am not using the Delphi Dot net.






>Peterson,
>
>I use this to ensure that Envision know about "TIF":
>
> If FindDibGraphicClass('*.TIF') = Nil Then
> Begin
> RegisterDibGraphic('TIF', 'Tag Bitmap file',
>TTiffGraphic);
> End;
>
>I assume you can register "001" too. Your bigger
>issue is that you would have to register 999
>extensions from "001" to "999". I am here making the
>assumption that the extension is the page number in a
>document of single-page TIFF files.
>
>Something to think about:
>Copy the "001" file to a temporary file with the "TIF"
>extension. If you are working with single-page TIFF
>files you may think about creating a temporary
>multi-page TIFF file on the fly to make it easier for
>the user to navigate the document.
>
>Hope some of this helps.
>
>PS: I am still looking for someone that is using
>Envision under Delphi Dot Net.
>
>
>>I have a tif file with a extension
>>diferent(imagetif.001).
>>Is it possible load the file without rename for tif
>>extension ?
>>
>>Best regards

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.