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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
