xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: image data in EPS file
Date Mon, 11 Sep 2006 12:36:55 GMT
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


Mime
View raw message