Return-Path: Delivered-To: apmail-xmlgraphics-fop-users-archive@www.apache.org Received: (qmail 82864 invoked from network); 11 Sep 2006 12:36:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Sep 2006 12:36:19 -0000 Received: (qmail 74403 invoked by uid 500); 11 Sep 2006 12:36:17 -0000 Delivered-To: apmail-xmlgraphics-fop-users-archive@xmlgraphics.apache.org Received: (qmail 74377 invoked by uid 500); 11 Sep 2006 12:36:16 -0000 Mailing-List: contact fop-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: fop-users@xmlgraphics.apache.org Delivered-To: mailing list fop-users@xmlgraphics.apache.org Received: (qmail 74366 invoked by uid 99); 11 Sep 2006 12:36:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 05:36:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.190.231.71] (HELO bonnie.oma.be) (193.190.231.71) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 05:36:16 -0700 Received: from [193.190.249.120] (bonnie.oma.be [193.190.231.71]) by bonnie.oma.be (8.11.1 (Revision 1.5) /8.11.1) with ESMTP id k8BCZqp03315 for ; Mon, 11 Sep 2006 12:35:53 GMT Message-ID: <45055867.1030207@oma.be> Date: Mon, 11 Sep 2006 14:36:55 +0200 From: David Delbecq User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: fop-users@xmlgraphics.apache.org Subject: Re: image data in EPS file References: <20060911115809.70533.qmail@web8513.mail.in.yahoo.com> <20060911141923.91FE.DEV@jeremias-maerki.ch> In-Reply-To: <20060911141923.91FE.DEV@jeremias-maerki.ch> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If you are under a unix environment, i recommend the use of ps2png to convert an eps to a bitmap picture. (note, ps2png is just a small script that use gs) Jeremias Maerki a �crit : > Not really a FOP question, is it? :-) > > You should look into the EPS and DSC specifications from Adobe. They are > available here: > http://partners.adobe.com/public/developer/ps/index_specs.html > > Anyway, generally it's not easily possible to extract bitmap images from > PostScript files, except if you mean the optional preview of an EPS file > which is documented in the EPS spec. There's no single way to represent > a bitmap image in PostScript, so you can't reliably extract a bitmap > image from a PostScript file without having a PostScript interpreter. It > depends a lot on how the PostScript was generated in the first place. > FOP, for example, doesn't use the %%BeginBinary DSC comment for images. > It's probably easier to convert the EPS to PDF and then extract the > image from the PDF using some PDF library. > > On 11.09.2006 13:58:06 narendra babu wrote: > >> i want to extract the RGB data in the EPS file, but i do not know where >> the exact data is present, i came to know that data is binary inbetween >> the comments "%%BeginBinary" to "%%EndBinary". >> >> but i will get more than the image size, now is that the exact image i >> am looking for, is there any image present in the EPS file, can anybody >> help me out in this please >> >> waiting for your kind information, >> > > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org