You could also try the screen capture function, depending on the size of
the image. I believe it produces a .PNG file by default.

On Sat, Mar 19, 2022 at 3:19 PM Keith Culotta via 4D_Tech <
[email protected]> wrote:

> Mac's Automator has a PDF action to render each page of a passed PDF
> document as an image.
>
> in 4D:
> C_PICTURE($pic)
> READ PICTURE FILE(""; $pic)  // read in PDF, all pages are in $pic, only
> page 1 is accessible to 4D
> If (OK=1)
>         CONVERT PICTURE($pic; ".png")  // only page 1 is in $pic
> End if
>
> > On Mar 19, 2022, at 2:22 PM, stardata.info via 4D_Tech <
> [email protected]> wrote:
> >
> > What i can use to convert a PDF file to an image?
> >
> > Thanks
> >
> > Ferdinando
> >
> >
> >
> > Il 19/03/2022 20:00, [email protected] ha scritto:
> >> Message: 3
> >> Date: Sat, 19 Mar 2022 07:56:01 +0000
> >> From: Keisuke Miyako<[email protected]>
> >> To: 4D iNug Technical<[email protected]>
> >> Subject: Re: [SPAM]  Image from print form
> >> Message-ID:<[email protected]>
> >> Content-Type: text/plain; charset="us-ascii"
> >>
> >> you can do that with any command line program that does PDF to image.
> >>
> >> there is no need to do it with 4D code.
> >>
> >> just use LAUNCH EXTERNAL PROCESS.
> >>
> >> I need to convert in image file only one page.
> >> I need to assing a path and name to the image file.
> > **********************************************************************
> > 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]
> > **********************************************************************
>
> **********************************************************************
> 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]
> **********************************************************************
**********************************************************************
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