trichview.com

trichview.support




save/load PNG in RVF problem


Return to index


Author

Message

Sergey Croitor

Posted: 10/22/2004 0:13:43


hi


I have some problems loading RVF content with PNG image embedded there.

I used Editors\Editor2 (REditor.exe) demo to test.

I added pngimage in the USES of Implementation section there.

(Gustavo Huffenbacher Daud's TPngObject pngdelphi.sourceforge.net v.1.4361

Delphi6)

Drag'n'Drop of PNG image works fine. Save seems work fine as well.

I see TPNGObject in the RVF file body.

But when I try to load the RVF content from a saved file, the image is not

drawn.

The size of RVF file is a bit less then original PNG file.

Content of  TPNGObject in RVF file differs from original PNG

though header is the same.

When I tried JPEG instead of PNG, the content is exactly the same.


What is the right way to save/load PNG in RVF ?

I played with RVF options but no luck...


Thanks in advance,

Sergey








Powered by ABC Amber Outlook Express Converter