Hi Peter,

> On 20 /01 /2021, at 22:44, Peter Adam via 4D_Tech <[email protected]> 
> wrote:
> 
> I am trying to import PDFs into 4D win and then upload them as png files to a 
> web site.
> 
> This works seamlessly on a Mac but my client uses Win 10.
> 
> I am able to load the pdf into a BLOB but when I do BLOB to Picture as a PDF, 
> the 4D picture variable displays as the Camera with a cross through it and 
> .pdf at the bottom of the image area.
> 
> I am using 4D v17R6 on a Win 10 OS I have Quicktime installed but I am nort 
> sure if that has any part two play.
> 
> Ideally I would like to convert the pdf to a png in Windows, It works for me 
> on the Mac



We discussed this just a couple of days ago. :o)

Check out https://www.xpdfreader.com/download.html 
<https://www.xpdfreader.com/download.html> and download the command line tools.

I haven’t try “pdftopng” but in my dropbox there is a v18 sample/test DB that 
works on Mac (Catalina) and Win10 (20H2) at least for the text conversion.

You can download it from here: 
https://www.dropbox.com/s/9t7zyll2mt82eww/XpdfRead.4dbase.zip?dl=0 
<https://www.dropbox.com/s/9t7zyll2mt82eww/XpdfRead.4dbase.zip?dl=0>

And here is part of the post from yesterday:

xpdf-tools/XpdfReader was suggested by Wolfgang Kunkel (if you come across that 
4D-Partner, please thank him) that there could be problems running it in 
4d-Server on macOS.

After some testing I decided to go with the OpenSource-alternative to be called 
by LEP.

I placed the xpdf-tools in the Resouces-folder of the 
4D-database-Packadge-Hirachy as followed:

Resources
        xpdftools
                Linux // you never know what positive feature could come... :o)
                        bin32
                        bin64
                Mac
                        bin64
                                pdfdetach
                                pdffonts
                                pdfimages
                                pdfinfo
                                pdftohtml
                                pdftopng
                                pdftoppm
                                pdftops
                                pdftotext
                Windows
                        bin32
                        bin64
                man_pages // documentation Unix-style 



HTH

Cheers
Jörg
**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to