Vektorove obrazky v LaTeXu aneb converze <cehokoli> do EPS

arnost arnost at cs.cas.cz
Tue Apr 3 14:11:44 CEST 2001


Dne Út, 03 dub 2001 jste napsal(a):

> Odpoved pana Kroba je spravna. Existuji soubory, ktere jsou vytvoreny
> ruznymi komercnimi programy a tvari se jako EPS, ale nejsou EPS.
> Aby se z nich stalo EPS, je treba na zacatku vykostit binarni smeti
> (obvykle par bytu) tak, aby soubor zacinal zpusobem, jak je uvedeno vyse.
> Stejne tak je dobre vykostit binarni smeti na konci souboru (tam je tech
> bajtu ponekud vice).

no nebyl bych tak resolutni:

Redbook:

For other environments where the Display PostScript system is not available,
the EPS file format allows for an optional screen preview image.

....

The EPS file has a binary header added to the beginning that provides a sort o
tablae of contents to the table.

...

The importing aplication must check the first 4 bytes of the EPS file. If they
match the header as shown in the Tbale H.1. the binary header should be
expected. If the first twho match %!, it should be taken to be an ASCII
PostScript file.
...


a dale:

If an EPS file includes a screan preview in EPSI format, the importing
applicatin should discard the preview before sending the document to a printer.




 
> Chybova hlaska (ze je interpretu nejasne nejake smeti na bytu 6 vstupniho
> souboru) tuto skutecnost jen potvrzuje.

mozna se jedna o Level 3. Bohuzel jsem nekam zalozil prislusny RedBook k tomuto
levelu %(

> Mam v souvislosti s tim take dotaz. Kdo za to muze, ze existuji programy,
> ktere se tvari, ze exportuji do EPS a neni to EPS? Komu je potreba
> vynadat? Ci to byl zrudny napad pred skutecne EPS strkat binarni smeti?
> Komu je treba omlatit Adobe RedBook o hlavu? (Je to pomerne tlusta kniha.)

viz vyse

 
> Petr Olsak
-- 
Arnost Stedry
Ustav informatiky





More information about the csTeX mailing list