GIF background image size doubled on each save

General TRichView support forum. Please post your questions here
Post Reply
iqan
Posts: 2
Joined: Thu Apr 24, 2008 11:25 am

GIF background image size doubled on each save

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17306
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
vario_sts
Posts: 2
Joined: Tue Sep 28, 2010 2:20 pm

Post 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!
Sergey Tkachenko
Site Admin
Posts: 17306
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply