#1 2020-12-09 15:00:04

Alex_324
Member
Registered: 2020-12-09
Posts: 4

Bitmap image to PDF using SynPdf

Hi, friends! Help me, please.
I want to load bitmap image in PDF document from my program on Delphi 7 using SynPdf.pas, but i can't. Vector image going there perfectly, but not bitmap, it's absent. Function Draw don't can doing it. What's the problem?

I also formed "wmf" and tried to load to PDF using Draw and loaded only vector from wmf(

Last edited by Alex_324 (2020-12-09 15:04:28)

Offline

#2 2020-12-10 14:52:25

Alex_324
Member
Registered: 2020-12-09
Posts: 4

Re: Bitmap image to PDF using SynPdf

Maybe I made a mistake with the choice of the section for this question?

Offline

#3 2020-12-10 15:00:14

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,323
Website

Re: Bitmap image to PDF using SynPdf

Check the Sample 05.

It renders a bitmap with no problem.

Offline

#4 2020-12-10 15:06:08

Alex_324
Member
Registered: 2020-12-09
Posts: 4

Re: Bitmap image to PDF using SynPdf

ab wrote:

Check the Sample 05.

It renders a bitmap with no problem.

What is it?

Offline

#5 2020-12-11 10:28:17

tbo
Member
Registered: 2015-04-20
Posts: 337

Re: Bitmap image to PDF using SynPdf

Alex_324 wrote:

What is it?

Download not only SynPDF, but the complete mORMot branch. Here you can find the examples in the "./SQLite3/Samples/" directory.

With best regards
Thomas

Offline

#6 2022-03-17 13:42:48

aboczko69
Member
Registered: 2022-02-17
Posts: 1

Re: Bitmap image to PDF using SynPdf

Hi!

Everything ok, but not really. Here it is shown how to print the report itself using an example. For me, however, I would need the option, as well as showtext or textout, the ability to insert a small image. Unfortunately, there are problems with symbol fonts (instead of glyphs, they are printed '?', So the question remains, how can you "embed" an image on the page?

Best regards
Andrzej

Offline

Board footer

Powered by FluxBB