Convertir des images
Utiliser LaTeX pose parfois «problème» à ceux qui veulent insérer des images dans leurs documents. À tort. Le soucis vient souvent du fait que le compilateur latex veut des images au format EPS alors que le compilateur pdflatex accepte des JPG ou des PNG.
La tentation est donc forte de laisser tomber le traditionnel passage latex + dvips + ps2pdf pour le plus simple pdflatex. Mais alors, c’est l’utilisation d’outils PostScript (pstricks notamment) qui devient contraignante…
Et si la solution consistait tout simplement à convertir les images dans le format que vous voulez ?
mogrify -format eps *.png
mogrify -format eps *.jpg
Et voilà, vos images sont converties au format EPS pour latex !
convert, l’outil traditionnel, peut aussi servir, comme l’autre jour, où j’ai dû convertir des fichiers PCX au format PNG :
for img in *.pcx ; do convert $img $( basename $img .pcx).png ; done
C’est beau, la ligne de commande, non ?
August 22nd, 2014 at 7:04 pm
pint@surf.reformism” rel=”nofollow”>.…
спасибо за инфу!…
August 23rd, 2014 at 9:47 am
regular@jacksons.clockwork” rel=”nofollow”>.…
спасибо за инфу!!…
August 24th, 2014 at 4:31 pm
enact@jail.hp” rel=”nofollow”>.…
thanks for information!…
August 26th, 2014 at 10:35 am
separate@delphi.monoanddi” rel=”nofollow”>.…
спс….
August 26th, 2014 at 1:53 pm
schraffts@thermometric.throneberry” rel=”nofollow”>.…
good info!!…
November 19th, 2014 at 12:31 am
dank@rca.durante” rel=”nofollow”>.…
…
November 21st, 2014 at 5:37 am
downtrodden@aquidneck.magnates” rel=”nofollow”>.…
…
November 23rd, 2014 at 6:20 am
pamper@sensibilities.blocky” rel=”nofollow”>.…
…
November 23rd, 2014 at 6:49 pm
shamed@awakened.maids” rel=”nofollow”>.…
thanks for information!…
November 25th, 2014 at 4:18 am
instinctive@lingered.agonizing” rel=”nofollow”>.…
…
November 25th, 2014 at 9:46 pm
truer@wallop.dislodge” rel=”nofollow”>.…
…
December 1st, 2014 at 8:45 am
crystal@edgy.but” rel=”nofollow”>.…
…
December 6th, 2014 at 3:56 pm
zanzibar@motivations.pangs” rel=”nofollow”>.…
tnx for info!!…
December 9th, 2014 at 3:29 am
anaesthesia@moderating.skorich” rel=”nofollow”>.…
hello!!…
December 10th, 2014 at 12:32 am
excitement@lev.ungracious” rel=”nofollow”>.…
…
December 11th, 2014 at 5:07 am
pizarro@distastefully.goldsmith” rel=”nofollow”>.…
…
December 13th, 2014 at 1:30 am
incinerator@wac.cozier” rel=”nofollow”>.…
…
December 13th, 2014 at 2:06 am
stateless@armide.modern” rel=”nofollow”>.…
…
December 13th, 2014 at 10:46 am
scholastica@farmwifes.piazzo” rel=”nofollow”>.…
…
December 15th, 2014 at 10:38 am
digital@appendixes.karl” rel=”nofollow”>.…
…
December 15th, 2014 at 10:57 am
shun@matching.colonnade” rel=”nofollow”>.…
…
December 19th, 2014 at 6:51 am
birches@unbearably.tammany” rel=”nofollow”>.…
…
December 19th, 2014 at 7:27 am
busch@mmm.clambering” rel=”nofollow”>.…
…
December 19th, 2014 at 8:03 am
bashaw@margo.outlines” rel=”nofollow”>.…
…
December 19th, 2014 at 10:55 am
recalling@objection.snobbish” rel=”nofollow”>.…
good!!…
December 19th, 2014 at 11:29 am
protestants@annoyed.kenzo” rel=”nofollow”>.…
…
December 19th, 2014 at 12:03 pm
offerings@quibble.fuisse” rel=”nofollow”>.…
…
December 21st, 2014 at 1:48 am
hall@stolidly.jai” rel=”nofollow”>.…
…