From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,af1a826b849365a8 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: PDF to JPEG Date: Mon, 21 Mar 2011 21:23:46 +0100 Organization: Ada @ Home Message-ID: References: <312b414f-24ba-43fc-8f37-eec78e8cb631@m7g2000vbq.googlegroups.com> <77d0e25b-a50c-4416-9b3e-415b7d735e6b@w7g2000pre.googlegroups.com> NNTP-Posting-Host: Av3Pi1oV9VXGesW3t4GXQw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.01 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:19320 Date: 2011-03-21T21:23:46+01:00 List-Id: Le Mon, 21 Mar 2011 15:58:45 +0100, Ho=C3=A0ng =C4=90=C3=ACnh Long a = =C3=A9crit: > Yes! I must parse the file. That's the problem. This should be feasible using GhostScript as some suggested above. You m= ay = invok it as an external process, using command line parameters and = interpreting its output, or you may bind and use the GhostScript API. I = = know you are new to Ada, so the external process way should be recommend= ed = (no need for you to look at binding now in the first place). A link with some example of using GhostScript API : http://pages.cs.wisc.edu/~ghost/doc/gsapi.htm There are some with Delphi, which is close enough to Pascal, which is = close enough to Ada (lol) Do you feel this could be OK ? -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9C c++; /* this makes c bigger but returns the old value */ =E2=80= =9D [Anonymous]