Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index

Re: [tdf-discuss] Re: EPS images in ODF documents


Le 30/01/2011 13:10, Magnus Johansson a écrit :
Salut Jean-Baptiste, and thank you for your response. How do I insert a high
resolution preview in my EPS images? I do not know how to manipulate the EPS
files themselves, I just insert the result I get from the other program into
OOo and the ODT document.
Hi Magnus,

Here is a script I did for Linux to convert a PS into a EPS file and
include a preview in this EPS.

#conversion d'un ensemble de fichiers ps en eps
#addition d'une image de prévisualisation dans les fichiers eps créés
# conversion ps -> eps

ls *.ps > list
for i in `cat list`
    do  
        echo  \>\>\>\>\> traitement de "$i"
        ps2eps -f -R + "$i"
    done
exit
#addition de la preview en 72 et 600 dpi
ls *.eps > list
#exemple : epstool -t6p --dpi 600 *.eps ../eps_files/
for i in `cat list`
    do  
        echo \>\>\>\>\> traitement de "$i"
        epstool -t6p --dpi 72 "$i" ./images_72/"$i"
        epstool -t6p --dpi 600 "$i" ./images_600/"$i"
    done

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.


-- 
Unsubscribe instructions: E-mail to discuss+help@documentfoundation.org
Archive: http://listarchives.documentfoundation.org/www/discuss/
*** All posts to this list are publicly archived for eternity ***

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.