Page 1 of 1

GIF background image size doubled on each save

Posted: Wed Oct 20, 2010 9:25 am
by iqan
Hi,
When using a gif image as background for a table cell the size of the image is doubled every time the document is saved as RVF. I saved the image externally to check it and it seems that the number of layers was doubled on each save.

I'm using RichViewEdit 11.1.1, RichView actions 1.72 and Delphi 2007.

For the GIF support I'm using the GIFImg unit from http://cc.embarcadero.com/item/25696.

Is this something that is solved in later versions of RichViewEdit?

Posted: Wed Oct 20, 2010 3:52 pm
by Sergey Tkachenko
This is a bug in Delphi 2007-2009 GifImage. It is solved in Delphi 2010.
Fixing it requires making changes in GifImg.pas.
See a private message.

Posted: Tue Oct 26, 2010 12:29 pm
by vario_sts
Please send me the Fix, how to solve the Problem with GIF-Images.

Is there also a Fix to solve the same Problem with PNG-Images?

Thanks a lot!

Posted: Tue Oct 26, 2010 6:53 pm
by Sergey Tkachenko
Fixes for TGifImage are sent in a private message. Clarification again: these fixes only for GifImg.pas for Delphi 2007 and 2009. Thirdparty GifImage.pas does not need these fixes. GifImg.pas for Delphi 2010 and XE does not need fixes as well.
Registered TRichView users can read this information in the protected "Examples, Demos" forum.

There are no similar problems with PNG images.