gregonthemoon
Programmer
Hi all,
first of all, i'm not a postscript programmer, but i have a problem that involves postscript in some way.
I use huge eps files (~50 Mo), those eps files always are of the same sort :
An emmbedded jpeg + some info on profile + selection...
I need to convert them to jpegs. I currently use ImageMagick, but since the pictures are huge it takes ages (IM even crashes before to finish sometimes).
I then thought that the JPEG must be stored somewhere in the postscript code, so i tried to extract it (searching for the JPEG signature in the binary), but i only managed to extract a thumbnail, the original JPEG seems to be there (between the %%BeginBinary boundaries) but it's encoded into some weird format (at least one i don't know ;-), since it doesn't begin with "FF D8 FF" as JPEG usually do.
Do you know if i can extract the JPEG from the EPS, and if yes in which format is it stored?
thanks for your help
first of all, i'm not a postscript programmer, but i have a problem that involves postscript in some way.
I use huge eps files (~50 Mo), those eps files always are of the same sort :
An emmbedded jpeg + some info on profile + selection...
I need to convert them to jpegs. I currently use ImageMagick, but since the pictures are huge it takes ages (IM even crashes before to finish sometimes).
I then thought that the JPEG must be stored somewhere in the postscript code, so i tried to extract it (searching for the JPEG signature in the binary), but i only managed to extract a thumbnail, the original JPEG seems to be there (between the %%BeginBinary boundaries) but it's encoded into some weird format (at least one i don't know ;-), since it doesn't begin with "FF D8 FF" as JPEG usually do.
Do you know if i can extract the JPEG from the EPS, and if yes in which format is it stored?
thanks for your help