Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Software-Projekte der Mitglieder (https://www.delphipraxis.net/26-software-projekte-der-mitglieder/)
-   -   PDF -> Image (https://www.delphipraxis.net/169271-pdf-image.html)

omata 8. Jul 2012 23:41


PDF -> Image
 
Liste der Anhänge anzeigen (Anzahl: 2)
Dieses Programm hilft einem beim Arbeiten mit PDF-Dateien.

Vielleicht kann es ja mal jemand brauchen.

Hinweis: Es wird die DLL (gsdll32.dll) von Ghostscript benötigt.

siehe auch: hier.

Viele Grüße
Thorsten

tonzi18 30. Dez 2014 02:26

AW: PDF -> Image
 
thanks omata
but i can't compile at xe7 environment
error code: -15
why?
please.

blawen 30. Dez 2014 02:48

AW: PDF -> Image
 
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:

Zitat von tonzi18 (Beitrag 1284947)
error code: -15

-15??

Under XE7 I could not compile the code -> Incompatibility of the Unit FastMM4
Newer versions you can find on the Internet, for example here

Edit:
Ok, I have also seen the problem.
If you convert the document into an image, the error code is displayed.
Wrong character set?

Errors in the procedure TGhostscript.gsWork (?)

tonzi18 3. Jan 2015 00:54

AW: PDF -> Image
 
GPL Ghostscript 9.15 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 5.
Page 1
Loading NimbusSanL-Regu font from %rom%Resource/Font/NimbusSanL-Regu... 4324796 2621894 8013256 6681890 3 done.
Loading NimbusSanL-Bold font from %rom%Resource/Font/NimbusSanL-Bold... 4341740 2678623 8094024 6742139 3 done.
Page 2
Loading NimbusSanL-ReguItal font from %rom%Resource/Font/NimbusSanL-ReguItal... 4358684 2748469 7521520 6162525 3 done.
Page 3
Loading NimbusMonL-Regu font from %rom%Resource/Font/NimbusMonL-Regu... 4375628 2824232 9062784 7675131 3 done.
Page 4
Loading StandardSymL font from %rom%Resource/Font/StandardSymL... 4392572 2885566 10523280 9149813 3 done.
Page 5

tonzi18 3. Jan 2015 01:10

AW: PDF -> Image
 
The main problem found

delphi7 PChar <> XE7 PChar

I migrate some codes of "PChar" for Unicode in XE7

PPAnsiChar = array of PAnsiChar;
Tgsapi_init_with_args = function(pinstance: Pgs_main_instance; argc: integer;
argv: PPAnsiChar): integer; stdcall;


and successfully compiled code at Win32&Win64

Finally thank omata very much


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:41 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz