Page 5 of 10
Re: [Module] pbPDF-Module
Posted: Mon May 04, 2020 6:13 pm
by Thorsten1867
PB_Rainer wrote:PDF:ImageMemory
Beachte, dass 32Bit und Interlaced bei PNG nicht unterstützt werden.
Ich habe bisher keinerlei Informationen finden können, ob und wie BMP in PDF eingebunden werden kann.
Re: [Module] pbPDF-Module
Posted: Tue May 05, 2020 9:43 am
by PB_Rainer
Thorsten1867 wrote:PB_Rainer wrote:PDF:ImageMemory
Beachte, dass 32Bit und Interlaced bei PNG nicht unterstützt werden.
Ich habe bisher keinerlei Informationen finden können, ob und wie BMP in PDF eingebunden werden kann.
Danke, ich habe jetzt einfach einen kleinen workaround gemacht.
Ich lade die BMP und sichere sie sofort als PNG 8BIT in ein Tempfile, welches sofort nach einbinden in die PDF gelöscht wird. Geht so schnell, daß man es gar nicht merkt. Also alles gut.
Rainer
Re: [Module] pbPDF-Module
Posted: Tue May 05, 2020 12:05 pm
by Thorsten1867
Habe mich auch mal an einem Workaround (ungetestet) versucht.
Re: [Module] pbPDF-Module
Posted: Tue May 05, 2020 1:48 pm
by PB_Rainer
Thorsten1867 wrote:Habe mich auch mal an einem Workaround (ungetestet) versucht.
Danke Thorsten, BMP läuft einwandfrei!
Fehlt ja nur noch ImageMemory

Re: [Module] pbPDF-Module
Posted: Tue May 05, 2020 2:07 pm
by Thorsten1867
PB_Rainer wrote:Fehlt ja nur noch ImageMemory

Should actually work, too.
- 1.) Catch image
- 2.) Check whether it is PNG or BMP
- 3.) Encode image
Re: [Module] pbPDF-Module
Posted: Tue May 05, 2020 5:48 pm
by PB_Rainer
Thorsten1867 wrote:PB_Rainer wrote:Fehlt ja nur noch ImageMemory

Should actually work, too.
- 1.) Catch image
- 2.) Check whether it is PNG or BMP
- 3.) Encode image
Wow!
Will try tomorrow, that would be really great!
you're great!
Thanks
Rainer
Re: [Module] pbPDF-Module
Posted: Wed May 06, 2020 9:11 am
by PB_Rainer
Thorsten1867 wrote:PB_Rainer wrote:Fehlt ja nur noch ImageMemory

Should actually work, too.
- 1.) Catch image
- 2.) Check whether it is PNG or BMP
- 3.) Encode image
Hi Thorsten,
Tested it with PNG, works perfect.
Thanks
Rainer
P.s. for what does it need a filename? Filename with path?
Re: [Module] pbPDF-Module
Posted: Wed May 06, 2020 11:51 am
by Thorsten1867
PDF needs an internal filename without path
Gesendet von meinem Aquaris X2 mit Tapatalk
Re: [Module] pbPDF-Module
Posted: Sun May 10, 2020 5:55 pm
by langinagel
Hi Thorsten,
as I was struggling with InsertTOC() I suggest an improvement in this procedure:
Code: Select all
If PDF()\TOC()\Page >= Page
Page$ = Str(PDF()\TOC()\Page +1)
Else
Page$ = Str(PDF()\TOC()\Page )
EndIf
Greetings
LN
Re: [Module] pbPDF-Module
Posted: Thu May 28, 2020 12:18 pm
by Skawer
Hi Thorsten. Need help. Unicode U+0428 output a blank page.
PDF::SetFont(#PDF, "LucidaSans", "", 16)
PDF::Cell(#PDF, "Ш", #PB_Default, #PB_Default, #False, PDF::#NextLine)
Re: [Module] pbPDF-Module
Posted: Wed Jun 03, 2020 10:37 am
by Thorsten1867
Only UTF-Characters 0 - 65535 are supported.
Re: [Module] pbPDF-Module
Posted: Wed Jun 17, 2020 2:14 pm
by Skawer
Thorsten1867 wrote:Only UTF-Characters 0 - 65535 are supported.
0428 like included in 65535?:)
Re: [Module] pbPDF-Module
Posted: Wed Jun 17, 2020 5:43 pm
by IdeasVacuum
...Make sure the font supports '0428'
Re: [Module] pbPDF-Module
Posted: Sat Jun 20, 2020 2:25 pm
by Skawer
IdeasVacuum wrote:...Make sure the font supports '0428'
I usage a standart font Windows 7 'font l_10646.ttf' - Lucida Sans Unicode
Moving inside the PDF File ; How to ?
Posted: Mon Oct 19, 2020 7:00 am
by loulou2522
I don't know how to do the following:
I'm on page 2 of my PDF and would like to go back to Page One to add text at a defined position and then go back to Page Two and continue processing. Is this possible?