trichview.com

trichview.support




Re: Animinated Gif


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/19/2002 11:19:46


You should write a code to save inserted components to html

(OnSaveComponentToFile event), so of course you can keep animation.


>

> Hi,

>

> Thank you for your response. What about if the rve export into the html

format

> can i keep the animinated effect.

>

> Cheers,

>

> "Sergey Tkachenko" <[email protected]> wrote:

> >Hi,

> >

> >RichView does not support animated images directly yet.

> >Load animation in some component which can play it, and inset this

component

> >into RichView.

> >

> >

> >>

> >> Hi,

> >>

> >> I try to insert the animinated gif into the rve. I made the following

> >steps.

> >>

> >> 1. modify the program RVFuncs.pas

> >> 2. insert function as follow

> >>

> >> procedure My_AfterImportGraphic(Graphic: TGraphic);

> >> begin

> >> if Graphic is TGifImage then

> >> TGifImage(Graphic).DrawOptions :=

> >TGifImage(Graphic).DrawOptions-[goAnimate];

> >> end;

> >>

> >> 3. alter ther initialization steps

> >>

> >> initialization

> >>   RV_CreateGraphics := RV_CreateGraphicsDefault;

> >>   {RV_AfterImportGraphic := RV_AfterImportGraphicDefault; }

> >>   RV_AfterImportGraphic := My_AfterImportGraphic;

> >> end.

> >>

> >> 4. recompile again.

> >>

> >> when i try my application i insert the gif into the rve. It dosen't

work

> >> but the graphic size is chane e.g. the size which include the

animinated

> >> path which the size is big enought to hole the animinated gif but it

won't

> >> animiated.

> >>

> >> Any idea?

> >>

> >> Cheers

> >

> >

>





Powered by ABC Amber Outlook Express Converter