Rp2 export embedded Images

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
Post Reply
Theo
Posts: 2
Joined: Mon Nov 18, 2019 9:40 am

Rp2 export embedded Images

Post by Theo »

Hi!
Has someone a documentation for the lightlib image compent use in rp2 or is used to the function iPut?
I'm searching a way to export embedded images from rp2-files and I'm pretty sure it's simple with iPut and target LLI_DISK, but without documentation it's not that easy ;)
Any other suggestions are welcome.
Thank you
Theo
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Rp2 export embedded Images

Post by robert »

Theo,
We are no longer using IPut() for this.
The images are not encoded or anything. They are just stored as a stream of bytes.
If you look at Sample1.rpt from the RP2 samples then you'll find a text "122814BM" in there. The BM is the start of the Bitmap that is embedded. The 12814 is the length of the bitmap. Further in the file you will find 1646BM (image of 1646 bytes).

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply