I think this only reads page 1 of any pdf.
READ PICTURE FILE("";$pic) // or get from clipboard or variable
If (OK=1)
CONVERT PICTURE($pic;".jpg")
TRANSFORM PICTURE($pic;Crop;10;10;100;100)
SET PICTURE TO PASTEBOARD($pic)
End if
Keith - CDI
> On Jul 14, 2017, at 4:40 PM, stardata.info via 4D_Tech <[email protected]>
> wrote:
>
> Hi all,
>
> I need to take a part of a pdf document and save this as a jpeg or png in one
> folder.
> Is possible to do this using a 4D commands on windows?
>
> Thanks
> /Ferdinando/
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ: http://lists.4d.com/faqnug.html
> Archive: http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub: mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************